{"type":"api","title":"Return OTS media channel for CEP","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":["tapi-connectivity","tapi-photonic-media"],"summary":"Return OTS media channel for CEP","description":"The API Response contains OTS media channel for CEP","operationId":"tapiConnectivityMediaChannelGet","parameters":[{"name":"ns0","in":"path","description":"Namespace 0","required":true,"schema":{"type":"string"}},{"name":"ns1","in":"path","description":"Namespace 1","required":true,"schema":{"type":"string"}},{"name":"ns2","in":"path","description":"Namespace 2","required":true,"schema":{"type":"string"}},{"name":"ns3","in":"path","description":"Namespace 3","required":true,"schema":{"type":"string"}},{"name":"ns4","in":"path","description":"Namespace 4","required":true,"schema":{"type":"string"}},{"name":"m","in":"path","description":"Media type","required":true,"schema":{"type":"string"}},{"name":"uuid","in":"path","description":"Id of topology","required":true,"schema":{"type":"string"}},{"name":"node-uuid","in":"path","description":"Id of node","required":true,"schema":{"type":"string"}},{"name":"onep-uuid","in":"path","description":"Id of owned NEP","required":true,"schema":{"type":"string"}},{"name":"cep-uuid","in":"path","description":"Id of CEP","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":{"tapi-photonic-media:ots-media-channel":[{"tapi-photonic-media-cisco-extn:ots-media-channel":{"ots-media-channel-pm-history-data":{"period-end-time":"20240903105959.59[Z]","suspect-interval-flag":true,"c-band":{"history-power-egress":{"avg-power":"-50","max-power":"-50","min-power":"-50"},"history-power-ingress":{"avg-power":"-50","max-power":"-50","min-power":"-50"}}}}}]}}}},"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":"tapiConnectivityMediaChannelGet","method":"get","path":"/restconf/data/tapi-common:context/tapi-topology:topology-context/{ns0}topology={uuid}/{ns1}node={node-uuid}/{ns2}owned-node-edge-point={onep-uuid}/tapi-connectivity:cep-list/{ns3}connection-end-point={cep-uuid}/tapi-photonic-media:ots-{m}connection-end-point-spec/{ns4}ots-media-channel/"}}