summaryrefslogtreecommitdiffstats
path: root/docs/openapi/openapi.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/openapi/openapi.yml')
-rw-r--r--docs/openapi/openapi.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/openapi/openapi.yml b/docs/openapi/openapi.yml
index 7d0569d4..44747a9e 100644
--- a/docs/openapi/openapi.yml
+++ b/docs/openapi/openapi.yml
@@ -72,4 +72,29 @@ paths:
'401':
$ref: 'components.yml#/components/responses/Unauthorized'
'403':
+ $ref: 'components.yml#/components/responses/Forbidden'
+
+ /v1/inventory/cmHandles:
+ post:
+ tags:
+ - dmi-plugin-internal
+ summary: register given list of cm handles (internal use only)
+ description: register given list of cm handles (internal use only)
+ x-api-audience: component-internal
+ operationId: registerCmHandles
+ requestBody:
+ description: list of cm handles
+ content:
+ application/json:
+ schema:
+ $ref: 'components.yml#/components/schemas/CmHandles'
+ required: true
+ responses:
+ '201':
+ $ref: 'components.yml#/components/responses/Created'
+ '400':
+ $ref: 'components.yml#/components/responses/BadRequest'
+ '401':
+ $ref: 'components.yml#/components/responses/Unauthorized'
+ '403':
$ref: 'components.yml#/components/responses/Forbidden' \ No newline at end of file