{"type":"api","title":"Fetch the Topology with specified Uuid","meta":{"id":"/apps/pubhub/media/conc-2511/d77fe2fa1c66c5533550637c8fa49491e06b8c79/00c40fb3-664f-39a5-a810-78ac3bbc6506","info":{"title":"NBI Service","description":"NBI Service api documentation. ","contact":{},"license":{"name":"ONC-AE-License","url":"https://www.cisco.com"},"version":"1.0.0-25.1.1"},"security":[{"basicAuth":[]}],"x-parser-conf":{"overview":{"markdownPath":"reference/2431/nbi-service.md"},"serverConfig":"full","enableAuthEditing":true,"httpBasic":{"username":"api-user","password":"encrypted-password@123"}},"openapi":"3.0.1","servers":[{"url":"http://localhost","description":"Generated server url"}],"securitySchemes":{"basicAuth":{"type":"http","description":"Basic authentication scheme","scheme":"basic"}}},"spec":{"tags":["data-api-controller-213"],"summary":"Fetch the Topology with specified Uuid","description":"Fetch the Topology with specified Uuid","operationId":"tapiTopologyTopology_1","parameters":[{"name":"uuid","in":"path","description":"Id of topology","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","headers":{"Date":{"description":"The date and time at which the response was generated","schema":{"pattern":"^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), \\d{1,2} (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) \\d{4} \\d{2}:\\d{2}:\\d{2} GMT$","type":"string","example":"Thu, 15 Aug 2024 09:48:17 GMT"}},"Cache-Control":{"description":"Directives for caching mechanisms in responses","schema":{"type":"string","example":"private, no-cache, no-store, max-age=0, must-revalidate"}}},"content":{"*/*":{"schema":{"type":"object","properties":{"error-type":{"type":"string","nullable":true},"error-tag":{"type":"string","nullable":true},"error-path":{"type":"string","nullable":true},"error-message":{"type":"string","nullable":true},"error-code":{"type":"integer","format":"int32","nullable":true}},"description":"Original name: TapiErrorDetail","nullable":true,"$$ref":"#/components/schemas/TapiErrorDetail"},"example":{"topology":{"layer-protocol-name":[{"name":"ETHERNET","description":"Layer protocol name for Ethernet"},{"name":"OTN","description":"Layer protocol name for Optical Transport Network"}],"link":[{"id":"link-1","name":"Link 1","source":"Node A","destination":"Node B","bandwidth":"10Gbps"},{"id":"link-2","name":"Link 2","source":"Node B","destination":"Node C","bandwidth":"40Gbps"}],"node":[{"id":"node-1","name":"Node A","type":"Router","status":"active"},{"id":"node-2","name":"Node B","type":"Switch","status":"inactive"},{"id":"node-3","name":"Node C","type":"Router","status":"active"}]}}}}},"400":{"description":"Bad Request","headers":{"Date":{"description":"The date and time at which the response was generated","schema":{"pattern":"^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), \\d{1,2} (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) \\d{4} \\d{2}:\\d{2}:\\d{2} GMT$","type":"string","example":"Thu, 15 Aug 2024 09:48:17 GMT"}},"Cache-Control":{"description":"Directives for caching mechanisms in responses","schema":{"type":"string","example":"private, no-cache, no-store, max-age=0, must-revalidate"}}},"content":{"*/*":{"schema":{"type":"object","properties":{"error-type":{"type":"string","nullable":true},"error-tag":{"type":"string","nullable":true},"error-path":{"type":"string","nullable":true},"error-message":{"type":"string","nullable":true},"error-code":{"type":"integer","format":"int32","nullable":true}},"description":"Original name: TapiErrorDetail","nullable":true,"$$ref":"#/components/schemas/TapiErrorDetail"},"example":{"error-message":"Bad request","error-path":"/v1/resources/11111111-1111-1111-1111-111111111111","error-code":400}}}},"404":{"description":"Not Found","headers":{"Date":{"description":"The date and time at which the response was generated","schema":{"pattern":"^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), \\d{1,2} (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) \\d{4} \\d{2}:\\d{2}:\\d{2} GMT$","type":"string","example":"Thu, 15 Aug 2024 09:48:17 GMT"}},"Cache-Control":{"description":"Directives for caching mechanisms in responses","schema":{"type":"string","example":"private, no-cache, no-store, max-age=0, must-revalidate"}}},"content":{"*/*":{"schema":{"type":"object","properties":{"error-type":{"type":"string","nullable":true},"error-tag":{"type":"string","nullable":true},"error-path":{"type":"string","nullable":true},"error-message":{"type":"string","nullable":true},"error-code":{"type":"integer","format":"int32","nullable":true}},"description":"Original name: TapiErrorDetail","nullable":true,"$$ref":"#/components/schemas/TapiErrorDetail"},"example":{"error-message":"Not found.","error-path":"/v1/resources/11111111-1111-1111-1111-111111111111","error-code":404}}}},"405":{"description":"Method Not Allowed","headers":{"Date":{"description":"The date and time at which the response was generated","schema":{"pattern":"^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), \\d{1,2} (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) \\d{4} \\d{2}:\\d{2}:\\d{2} GMT$","type":"string","example":"Thu, 15 Aug 2024 09:48:17 GMT"}},"Cache-Control":{"description":"Directives for caching mechanisms in responses","schema":{"type":"string","example":"private, no-cache, no-store, max-age=0, must-revalidate"}}},"content":{"*/*":{"schema":{"type":"object","properties":{"error-type":{"type":"string","nullable":true},"error-tag":{"type":"string","nullable":true},"error-path":{"type":"string","nullable":true},"error-message":{"type":"string","nullable":true},"error-code":{"type":"integer","format":"int32","nullable":true}},"description":"Original name: TapiErrorDetail","nullable":true,"$$ref":"#/components/schemas/TapiErrorDetail"},"example":{"error-message":"The HTTP method used is not allowed for this endpoint.","error-path":"/v1/resources/11111111-1111-1111-1111-111111111111","error-code":405}}}},"500":{"description":"Internal Server Error","headers":{"Date":{"description":"The date and time at which the response was generated","schema":{"pattern":"^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), \\d{1,2} (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) \\d{4} \\d{2}:\\d{2}:\\d{2} GMT$","type":"string","example":"Thu, 15 Aug 2024 09:48:17 GMT"}},"Cache-Control":{"description":"Directives for caching mechanisms in responses","schema":{"type":"string","example":"private, no-cache, no-store, max-age=0, must-revalidate"}}},"content":{"*/*":{"schema":{"type":"object","properties":{"error-type":{"type":"string","nullable":true},"error-tag":{"type":"string","nullable":true},"error-path":{"type":"string","nullable":true},"error-message":{"type":"string","nullable":true},"error-code":{"type":"integer","format":"int32","nullable":true}},"description":"Original name: TapiErrorDetail","nullable":true,"$$ref":"#/components/schemas/TapiErrorDetail"},"example":{"error-message":"The HTTP method used is not allowed for this endpoint.","error-path":"/v1/resources/11111111-1111-1111-1111-111111111111","error-code":500}}}}},"security":[{"basicAuth":[]}],"__originalOperationId":"tapiTopologyTopology_1","method":"get","path":"/restconf/data/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology={uuid}"}}