{"type":"api","title":"returns CEP live power data","meta":{"id":"/apps/pubhub/media/conc-2431/466818c7b506ffa7733cdff56c037e36da6ca583/7474929c-c3fc-3d68-9ade-85d35f673ddc","info":{"title":"NBI Service","description":"NBI Service api documentation. ","contact":{},"license":{"name":"ONC-AE-License","url":"https://www.cisco.com"},"version":"1.0.0"},"security":[{"httpBasic":[]}],"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":"https://cisco-onc-ip:8443/onc-nbi-service/"}],"securitySchemes":{"httpBasic":{"type":"http","description":"Basic authentication scheme","scheme":"basic"}}},"spec":{"tags":["tapi-connectivity","tapi-photonic-media"],"summary":"returns CEP live power data","description":"The API Response contains LivePowerData for CEP","operationId":"tapiConnectivityLivePowerDataGet","parameters":[{"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":{"measured-power-egress":{"type":"object","properties":{"power-spectral-density":{"type":"string"},"total-power":{"type":"string"}},"description":"Properties related to the measured power on the ingress side.","example":{"power":-11.2,"unit":"dBm"},"$$ref":"#/components/schemas/TapiPhotonicMediaCiscoExtnPowerProperties"},"measured-power-ingress":{"type":"object","properties":{"power-spectral-density":{"type":"string"},"total-power":{"type":"string"}},"description":"Properties related to the measured power on the ingress side.","example":{"power":-11.2,"unit":"dBm"},"$$ref":"#/components/schemas/TapiPhotonicMediaCiscoExtnPowerProperties"}},"$$ref":"#/components/schemas/TapiPhotonicMediaCiscoExtnLivePowerData"},"example":{"measured-power-egress":{"power":-10.5,"unit":"dBm"},"measured-power-ingress":{"power":-11.2,"unit":"dBm"}}}}},"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"},"error-tag":{"type":"string"},"error-path":{"type":"string"},"error-message":{"type":"string"},"error-code":{"type":"integer","format":"int32"}},"$$ref":"#/components/schemas/TapiErrorDetail"},"example":{"error-tag":"test","error-type":"400","error-message":"Validation failed.","error-path":"/v1/resources/11111111-1111-1111-1111-111111111111","error-code":"BAD_REQUEST"}}}},"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"},"error-tag":{"type":"string"},"error-path":{"type":"string"},"error-message":{"type":"string"},"error-code":{"type":"integer","format":"int32"}},"$$ref":"#/components/schemas/TapiErrorDetail"},"example":{"error-tag":"test","error-type":"404","error-message":"Not found.","error-path":"/v1/resources/11111111-1111-1111-1111-111111111111","error-code":"NOT_FOUND"}}}},"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"},"error-tag":{"type":"string"},"error-path":{"type":"string"},"error-message":{"type":"string"},"error-code":{"type":"integer","format":"int32"}},"$$ref":"#/components/schemas/TapiErrorDetail"},"example":{"error-tag":"test","error-type":"405","error-message":"The HTTP method used is not allowed for this endpoint.","error-path":"/v1/resources/11111111-1111-1111-1111-111111111111","error-code":"METHOD_NOT_ALLOWED"}}}},"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"},"error-tag":{"type":"string"},"error-path":{"type":"string"},"error-message":{"type":"string"},"error-code":{"type":"integer","format":"int32"}},"$$ref":"#/components/schemas/TapiErrorDetail"},"example":{"error-tag":"test","error-type":"500","error-message":"The HTTP method used is not allowed for this endpoint.","error-path":"/v1/resources/11111111-1111-1111-1111-111111111111","error-code":"INTERNAL_SERVER_ERROR"}}}}},"security":[{"httpBasic":[]}],"__originalOperationId":"tapiConnectivityLivePowerDataGet","method":"post","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/tapi-photonic-media-cisco-extn:ots-media-channel/live-power-data/get-live-power-data"}}