{"type":"api","title":"Get connection end-point by uid","meta":{"id":"/apps/pubhub/media/cisco-onc/6a3f7b7f24e30d115a463d7af08aa553d2d5dcc1/6206e553-848f-380e-bc4c-0cbb4cb00365","info":{"title":"NBI Service","description":"NBI Service API documentation. \n\nUser should listen to the netconf stream notifications for impacted paths to do operations\n\n Generic example to understand when to call which one of below API(s):\n\nSample notification:\n\n{\n \"ietf-restconf:notification\" : {\n \"eventTime\" : \"2024-03-20T04:43:53.910+00:00\",\n \"ietf-netconf-notifications:netconf-config-change\" : {\n \"datastore\" : \"running\",\n \"changed-by\" : {\n \"username\" : \"admin\",\n \"session-id\" : 0,\n \"source-host\" : \"127.0.0.1\"\n },\n \"edit\" : [ {\n \"target\" : \"/tapi-common:context/tapi-topology:topology-context/topology[uuid=‘abc’]/node[uuid=‘xyz’]”,\n \"operation\" : \"create\"\n } ]\n }\n }\n }\n\n\nHere use node uuid(‘xyz’) and topology uuid(‘abc’) from notification target path in /restconf/data/tapi-common:context/tapi-topology:topology-context/topology={uuid}/node API to fetch the complete node","version":"V2"},"x-parser-conf":{"overview":{"markdownPath":"reference/onc-nbi-service.md"}},"openapi":"3.0.1"},"spec":{"tags":["data-api-controller-213"],"description":"The API Response contains the Connection object (identified by the given UUID) present in NBI DB","summary":"Get connection end-point by uid","operationId":"TapiConnectivityConnectionEndPointRef","parameters":[{"name":"uuid","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/yang-data+xml":{"schema":{"type":"object","additionalProperties":{"type":"array","items":{"type":"object","properties":{"topology-uuid":{"type":"string"},"node-uuid":{"type":"string"},"node-edge-point-uuid":{"type":"string"},"connection-end-point-uuid":{"type":"string"}},"$$ref":"#/components/schemas/TapiConnectivityConnectionEndPointRef"}}}},"application/yang-data+json":{"schema":{"type":"object","additionalProperties":{"type":"array","items":{"type":"object","properties":{"topology-uuid":{"type":"string"},"node-uuid":{"type":"string"},"node-edge-point-uuid":{"type":"string"},"connection-end-point-uuid":{"type":"string"}},"$$ref":"#/components/schemas/TapiConnectivityConnectionEndPointRef"}}}}}},"400":{"description":"Bad Request","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"array","items":{"type":"object","properties":{"error-type":{"type":"string"},"error-tag":{"type":"string"},"error-path":{"type":"string"},"error-message":{"type":"string"},"error-code":{"type":"integer","format":"int32"}},"$$ref":"#/components/schemas/TapiErrorDetail"}}}}}}},"404":{"description":"Not Found","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"array","items":{"type":"object","properties":{"error-type":{"type":"string"},"error-tag":{"type":"string"},"error-path":{"type":"string"},"error-message":{"type":"string"},"error-code":{"type":"integer","format":"int32"}},"$$ref":"#/components/schemas/TapiErrorDetail"}}}}}}},"500":{"description":"Internal Server Error","content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"array","items":{"type":"object","properties":{"error-type":{"type":"string"},"error-tag":{"type":"string"},"error-path":{"type":"string"},"error-message":{"type":"string"},"error-code":{"type":"integer","format":"int32"}},"$$ref":"#/components/schemas/TapiErrorDetail"}}}}}}}},"__originalOperationId":"TapiConnectivityConnectionEndPointRef","method":"get","path":"/restconf/data/tapi-common:context/tapi-connectivity:connectivity-context/connection={uuid}/connection-end-point"}}