{"type":"api","title":"Create Rest/Webhook Event Subscription","meta":{"id":"/apps/pubhub/media/cisco-catalyst-center-global-manager-1-4-1-api/cfae1e1d4a92ee0f6237d44b95f40ed164433276/91e548d0-8564-38fc-add0-203855dc2ebe","info":{"title":"Catalyst Center Global Manager API","description":"Catalyst Center Global Manager API","version":"1.4.1"},"tags":[],"x-parser-conf":{"expand":0,"labelConfig":{"endpoint":"summary"}},"openapi":"3.0.1","servers":[{"url":"/"}]},"spec":{"operationId":"createRest_WebhookEventSubscription","tags":["Event Management"],"deprecated":false,"summary":"Create Rest/Webhook Event Subscription","description":"Create Rest/Webhook Subscription Endpoint for list of registered events","parameters":[{"name":"Content-Type","description":"Content Type","required":true,"schema":{"type":"string","default":"application/json"},"in":"header"}],"requestBody":{"description":"request","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"subscriptionId":{"type":"string","description":"Subscription Id (Unique UUID)"},"version":{"type":"string","description":"Version"},"name":{"type":"string","description":"Name"},"description":{"type":"string","description":"Description"},"subscriptionEndpoints":{"type":"array","items":{"type":"object","properties":{"instanceId":{"type":"string","description":"(From Get Rest/Webhook Subscription Details --\u003e pick instanceId)"},"subscriptionDetails":{"type":"object","properties":{"connectorType":{"type":"string","description":"Connector Type (Must be REST)"}},"description":"Subscription Details"}}},"description":"Subscription Endpoints"},"filter":{"type":"object","properties":{"eventIds":{"type":"array","items":{"type":"string"},"description":"Event Ids (Comma separated event ids)"},"domainsSubdomains":{"type":"array","items":{"type":"object","properties":{"domain":{"type":"string","description":""},"subDomains":{"type":"array","items":{"type":"string"},"description":""}}},"description":""},"types":{"type":"array","items":{"type":"string"},"description":""},"categories":{"type":"array","items":{"type":"string"},"description":""},"severities":{"type":"array","items":{"type":"string"},"description":""},"sources":{"type":"array","items":{"type":"string"},"description":""},"siteIds":{"type":"array","items":{"type":"string"},"description":""}},"description":"Filter"}}},"description":"","$$ref":"#/components/schemas/CreateRestWebhookEventSubscriptionRequest"}}},"required":true},"responses":{"200":{"description":"The request was successful. The result is contained in the response body.","content":{"application/json":{"schema":{"type":"object","properties":{"statusUri":{"type":"string","description":""}},"description":"","$$ref":"#/components/schemas/CreateRestWebhookEventSubscriptionResponse"}}}},"204":{"description":"The request was successful, however no content was returned.","content":{}},"206":{"description":"The GET request included a Range Header, and the server responded with the partial content matching the range.","content":{}},"400":{"description":"The client made a request that the server could not understand (for example, the request syntax is incorrect).","content":{}},"401":{"description":"The client's authentication credentials included with the request are missing or invalid.","content":{}},"403":{"description":"The server recognizes the authentication credentials, but the client is not authorized to perform this request.","content":{}},"404":{"description":"The client made a request for a resource that does not exist.","content":{}},"409":{"description":"The target resource is in a conflicted state (for example, an edit conflict where a resource is being edited by multiple users). Retrying the request later might succeed.","content":{}},"415":{"description":"The client sent a request body in a format that the server does not support (for example, XML to a server that only accepts JSON).","content":{}},"500":{"description":"The server could not fulfill the request.","content":{}},"501":{"description":"The server has not implemented the functionality required to fulfill the request.","content":{}},"503":{"description":"The server is (temporarily) unavailable.","content":{}},"504":{"description":"The server did not respond inside time restrictions and timed-out.","content":{}}},"x-rapi-id":"9584-d988-45eb-b4b0","x-rapi-overview":"Create Rest/Webhook Subscription Endpoint for list of registered events","x-rapi-domain":"Event Management","x-rapi-subdomain":"","x-rapi-version":"1.0.0","x-rapi-internalPath":"/dna/intent/api/v1/event/subscription/rest","x-rapi-publicPath":"/dna/intent/api/v1/event/subscription/rest","x-rapi-registerInKONG":true,"x-rapi-banner":[],"x-rapi-deprecationMessage":null,"__originalOperationId":"createRest/WebhookEventSubscription","method":"post","path":"/dna/intent/api/v1/event/subscription/rest"}}