{"type":"model","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/470fbeb2-f365-3603-bc00-627d65a29d54","info":{"title":"Connection Oriented Subscription APIs","description":"Connection oriented subscription APIs exposed by Notification service.","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"http://www.cisco.com/public/sw-license-agreement.html"},"version":"1.0.0"},"tags":[{"name":"Connection Oriented Subscriptions","description":"Points to note: \nThe actual response will,\n- Have namespace prefixed in the attribute name\n- Not have attributes whose values are null\n- Have the attribute names \"-\" separated in some cases\n- Have additional section with firstIndex and lastIndex attributes"}],"x-parser-conf":{"overview":{"markdownPath":"reference/EMF/Notification/cnctnorntd-api-overview.md"}},"openapi":"3.1.0","servers":[{"url":"https://{server_ip}:30603/crosswork/notification/restconf/data/v2","description":"Generated server url"}]},"spec":{"type":"object","description":"response","xml":{"name":"response-message","namespace":"urn:cisco:params:xml:ns:yang:nrf-common:v1","prefix":"ns15"},"properties":{"header":{"type":"object","description":"header","properties":{"firstIndex":{"type":"integer","format":"int64","description":"firstIndex","xml":{"prefix":"ns15"}},"lastIndex":{"type":"integer","format":"int64","description":"lastIndex","xml":{"prefix":"ns15"}}},"xml":{"prefix":"ns15"},"$$ref":"#/components/schemas/Header"},"data":{"type":"object","description":"data","xml":{"prefix":"ns15"},"properties":{"subscription":{"type":"array","description":"subscription","items":{"type":"object","description":"This is the record of a subscriber in the database","xml":{"name":"subscription","prefix":"ns19"},"properties":{"entityTag":{"type":"string","description":"Generic tag"},"subscriptionId":{"type":"integer","xml":{"name":"subscription-id","prefix":"ns19"},"description":"This references the subscription because of which the notification is sent"},"subscribedUser":{"type":"string","description":"This references the user who has subscribed to the current topic","xml":{"name":"subscribed-user","prefix":"ns19"}},"endpointUrl":{"type":"string","description":"This references the subscription topic for which the notification is sent","xml":{"name":"client-url","prefix":"ns19"}},"sessionId":{"type":"string","description":"This references an optional identifier the client can use to distinguish their session","xml":{"name":"session-id","prefix":"ns19"}},"topic":{"type":"string","description":"This references the subscription topic for which the notification is sent","xml":{"name":"topic","prefix":"ns19"}},"creationTime":{"type":"string","description":"This contains the time of the creation, i.e. the time at which the change was observed","xml":{"name":"creation-time","prefix":"ns19"}},"creationTimeIso8601":{"type":"string","description":"This contains the time of the creation, i.e. the time at which the change was observed"},"timeOfUpdate":{"type":"string","description":"This contains the time of the update, i.e. the time at which the change was observed","xml":{"name":"time-of-update","prefix":"ns19"}},"timeOfUpdateIso8601":{"type":"string","description":"This contains the time of the update, i.e. the time at which the change was observed"},"format":{"type":"string","description":"This references the format in which the notifications are sent. For ex. json or xml","xml":{"name":"format","prefix":"ns19"}},"clientIp":{"type":"string","description":"IP Address of client machine","xml":{"name":"client-ip"}},"connectionType":{"type":"string","description":"This references the type of connection - connectionless or connection-oriented","xml":{"name":"connection-type","prefix":"ns19"}},"filters":{"type":"array","description":"Filters to apply for this subscription","items":{"type":"object","description":"Filters to apply for this subscription","properties":{"entityTag":{"type":"string","description":"Generic tag"},"key":{"type":"string","description":"This references the criteria against which to filter"},"value":{"type":"string","description":"This references the value for the criteria identified by the key"},"any":{"type":"array","description":"Generic object","items":{"type":"object"}}},"$$ref":"#/components/schemas/Filters"}},"authHeaders":{"type":"array","description":"Authentication header and value of client to use as headers when sending notifications","items":{"type":"object","description":"Authentication header and value of client to use as headers when sending notifications","properties":{"entityTag":{"type":"string","description":"Generic tag"},"authKey":{"type":"string","description":"This references the authentication type to use"},"authValue":{"type":"string","description":"Authentication value used with the auth type"},"any":{"type":"array","description":"Generic object","items":{"type":"object"}}},"$$ref":"#/components/schemas/AuthHeaders"}},"any":{"type":"array","description":"Generic object","items":{"type":"object"}}},"$$ref":"#/components/schemas/NotificationSubscription"}}},"$$ref":"#/components/schemas/Data"}},"$$ref":"#/components/schemas/ResponseMessage","title":"ResponseMessage"}}