{"type":"api","title":"This API updates name (value-name=SERVICE_NAME) of an already existing TAPI connectivity-service in the NBI DB","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"],"summary":"This API updates name (value-name=SERVICE_NAME) of an already existing TAPI connectivity-service in the NBI DB","description":"This API updates name (value-name=SERVICE_NAME) of an already existing TAPI connectivity-service in the NBI DB","operationId":"tapiConnectivityConnectivityServicePut","parameters":[{"name":"uuid","in":"path","description":"Id of Connectivity Service","required":true,"schema":{"type":"string"}},{"name":"value-name","in":"path","description":"ValueName of Connectivity Service","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"tapi common name and value","content":{"*/*":{"schema":{"type":"object","properties":{"value-name":{"type":"string","description":"The name of the value. The value need not have a name."},"value":{"type":"string","description":"The value"}},"description":"A scoped name-value pair","$$ref":"#/components/schemas/TapiCommonNameAndValue"},"example":{"value":"NewServiceName","value-name":"SERVICE_NAME"}}},"required":true},"responses":{"204":{"description":"No Content","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"}}}},"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":"tapiConnectivityConnectivityServicePut","method":"put","path":"/restconf/data/tapi-common:context/tapi-connectivity:connectivity-context/connectivity-service={uuid}/name={value-name}/value"}}