{"type":"api","title":"Create Event Subscriptions","meta":{"id":"/apps/pubhub/media/cisco-catalyst-center-api-2-3-7-4/5f0ebf004a2d4799bf23d5900695a35a48893d24/e3488c7c-70e3-3936-bce5-55e87fc57590","info":{"title":"Intent API","description":"Cisco Catalyst Center Platform v. 2.3.7.4","version":"2.3.7.4"},"x-parser-conf":{"expand":0,"labelConfig":{"endpoint":"summary"}}},"spec":{"operationId":"createEventSubscriptions","tags":["Event Management"],"deprecated":false,"summary":"Create Event Subscriptions","description":"Subscribe SubscriptionEndpoint to list of registered events (Deprecated)","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 \tGet Rest/Webhook Subscription Details --\u003e pick instanceId)"},"subscriptionDetails":{"type":"object","properties":{"connectorType":{"type":"string","description":"Connector Type (Must be REST)"}},"required":["connectorType"],"description":"Subscription Details"}},"required":["instanceId","subscriptionDetails"]},"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":""}},"required":["domain","subDomains"]},"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":""}},"required":["eventIds"],"description":"Filter"}},"required":["name","subscriptionEndpoints","filter"]},"description":"","$$ref":"#/components/schemas/createEventSubscriptionsRequest"}}},"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/createEventSubscriptionsResponse"}}}},"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":"4f9f-7a7b-40f9-90de","x-rapi-overview":"Subscribe SubscriptionEndpoint to list of registered events (Deprecated)","x-rapi-domain":"Event Management","x-rapi-subdomain":"","x-rapi-version":"1.0.0","x-rapi-internalPath":"/dna/intent/api/v1/event/subscription","x-rapi-publicPath":"/dna/intent/api/v1/event/subscription","x-rapi-registerInKONG":false,"x-rapi-banner":[],"__originalOperationId":"createEventSubscriptions","method":"post","path":"/dna/intent/api/v1/event/subscription"}}