diff options
author | 2022-05-20 15:57:00 +0000 | |
---|---|---|
committer | 2022-05-20 15:57:00 +0000 | |
commit | f564bf5b4523ceb04bec6e866aec664ea57726d5 (patch) | |
tree | fce248d503ae8f8df01ae89ad7eb806a9196fde4 /cps-ncmp-rest/docs | |
parent | c0b1de6357e294dffdf5ce0219950e0b3bf374ce (diff) | |
parent | bed18fd895d1ac240c7fdb361cb0ed994d392ecf (diff) |
Merge "Get cm-handle public properties endpoint"
Diffstat (limited to 'cps-ncmp-rest/docs')
-rw-r--r-- | cps-ncmp-rest/docs/openapi/components.yaml | 6 | ||||
-rwxr-xr-x | cps-ncmp-rest/docs/openapi/ncmp.yml | 21 | ||||
-rwxr-xr-x | cps-ncmp-rest/docs/openapi/openapi.yml | 3 |
3 files changed, 30 insertions, 0 deletions
diff --git a/cps-ncmp-rest/docs/openapi/components.yaml b/cps-ncmp-rest/docs/openapi/components.yaml index 7ed2efe52..32d25e395 100644 --- a/cps-ncmp-rest/docs/openapi/components.yaml +++ b/cps-ncmp-rest/docs/openapi/components.yaml @@ -217,6 +217,12 @@ components: type: string example: Book Type + RestOutputCmHandlePublicProperties: + type: object + properties: + publicCmHandleProperties: + $ref: '#/components/schemas/CmHandlePublicProperties' + examples: dataSampleRequest: summary: Sample request diff --git a/cps-ncmp-rest/docs/openapi/ncmp.yml b/cps-ncmp-rest/docs/openapi/ncmp.yml index 05e4b8485..318e6e66d 100755 --- a/cps-ncmp-rest/docs/openapi/ncmp.yml +++ b/cps-ncmp-rest/docs/openapi/ncmp.yml @@ -296,6 +296,27 @@ retrieveCmHandleDetailsById: 500: $ref: 'components.yaml#/components/responses/InternalServerError' +getCmHandlePropertiesById: + get: + description: Get CM handle properties by cm handle id + tags: + - network-cm-proxy + summary: Get CM handle properties + operationId: getCmHandlePublicPropertiesByCmHandleId + parameters: + - $ref: 'components.yaml#/components/parameters/cmHandleInPath' + responses: + 200: + description: OK + content: + application/json: + schema: + $ref: 'components.yaml#/components/schemas/RestOutputCmHandlePublicProperties' + 404: + $ref: 'components.yaml#/components/responses/NotFound' + 500: + $ref: 'components.yaml#/components/responses/InternalServerError' + queryCmHandles: post: description: Execute cm handle query search diff --git a/cps-ncmp-rest/docs/openapi/openapi.yml b/cps-ncmp-rest/docs/openapi/openapi.yml index 935b657e1..b4082918f 100755 --- a/cps-ncmp-rest/docs/openapi/openapi.yml +++ b/cps-ncmp-rest/docs/openapi/openapi.yml @@ -41,5 +41,8 @@ paths: /v1/ch/{cm-handle}: $ref: 'ncmp.yml#/retrieveCmHandleDetailsById' + /v1/ch/{cm-handle}/properties: + $ref: 'ncmp.yml#/getCmHandlePropertiesById' + /v1/data/ch/searches: $ref: 'ncmp.yml#/queryCmHandles' |