5 "description": "Provides the ability to subscribe to and unsubscribe from External API notifications.\n\n**Main operation**\n\n```\nPOST /hub\n```\n\nrequest sample 1\n\n```\n{\n \"callback\": \"http://mydomain/notification\",\n \"query\": \"eventType = ServiceOrderCreationNotification\"\n}\n```\n\nrequest sample 2\n\n```\n{\n \"callback\": \"http://mydomain/notification\",\n \"query\": \"eventType=ServiceOrderCreationNotification,ServiceOrderStateChangeNotification\"\n}\n```\n\n**EventType for serviceOrdering**\n\n- ServiceOrderCreationNotification\n- ServiceOrderStateChangeNotification\n- ServiceOrderItemStateChangeNotification\n\n**EventType for serviceInventory**\n\n- ServiceCreationNotification\n- ServiceAttributeValueChangeNotification\n- ServiceRemoveNotification\n\n",
10 "url": "https://onap.readthedocs.io",
11 "email": "onap-discuss@lists.onap.org"
15 "url": "http://www.apache.org/licenses/LICENSE-2.0"
17 "x-planned-retirement-date": "205001",
20 "url": "/redoc/logo.png",
21 "backgroundColor": "#FFFFFF"
25 "host": "nbi.api.simpledemo.onap.org:30274",
26 "basePath": "/nbi/api/v4",
31 "application/json;charset=utf-8"
37 "description": "provided by NBI"
42 "api-version": "4.1.0",
43 "last-mod-release": "Frankfurt"
51 "application/json;charset=utf-8"
54 "application/json;charset=utf-8"
56 "operationId": "hub_Create",
57 "summary": "create hub",
69 "$ref": "#/definitions/HubIn"
75 "description": "Created",
77 "$ref": "#/definitions/Hub"
88 "application/json;charset=utf-8"
90 "operationId": "hub_Find",
91 "summary": "find hub",
101 "$ref": "#/definitions/Hub"
115 "application/json;charset=utf-8"
117 "operationId": "hub_Get",
118 "summary": "get hub",
135 "$ref": "#/definitions/Hub"
145 "operationId": "hub_Delete",
146 "summary": "delete hub",
161 "description": "No Content"
172 "description": "Error code and message",
204 "description": "Error code and message",
235 "$ref": "#/definitions/ErrorDetail"
243 "description": "Hub query and callback",
254 "description": "The query must have an eventType= information.\\nOptionally a ? could be added to reduce hub.\\nquery”:”eventType = ServiceOrderStateChangeNotification”&serviceOrder.state=COMPLETED",
258 "description": "URL where notification must be send",
266 "description": "Hub id, query and callback",
282 "description": "The query must have an eventType= information.\\nOptionally a ? could be added to reduce hub.\\nquery”:”eventType = ServiceOrderStateChangeNotification”&serviceOrder.state=COMPLETED",
286 "description": "URL where notification must be send",