{"type":"model","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/59d48f60-cd88-3cf8-8862-0da20c3d549d","info":{"title":"Connectionless Subscription APIs","description":"Connectionless 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":"Connectionless 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/cnctnless-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":"This is the record of a subscriber in the database","properties":{"entityTag":{"type":"string","description":"Generic tag"},"subscriptionId":{"type":"string","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"},"clientUrl":{"type":"string","description":"This references the subscription topic for which the notification is sent"},"clientIp":{"type":"string","description":"IP Address of client machine"},"sessionId":{"type":"string","description":"This references an optional identifier the client can use to distinguish their session"},"topic":{"type":"string","description":"This references the subscription topic for which the notification is sent"},"creationTime":{"type":"string","description":"This contains the time of the creation, i.e. the time at which the change was observed"},"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"},"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"},"connectionType":{"type":"string","description":"This references the type of connection - connectionless or connection-oriented"},"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"}}},"title":"Subscription"}}