Aligning differing openAPI paths (cps-rest & ncmp-rest)
[cps.git] / cps-rest / docs / openapi / cpsQuery.yml
1 nodesByDataspaceAndAnchorAndCpsPath:
2   get:
3     description: Query data nodes for the given dataspace and anchor using CPS path
4     tags:
5       - cps-query
6     summary: Query data nodes
7     operationId: getNodesByDataspaceAndAnchorAndCpsPath
8     parameters:
9       - $ref: 'components.yml#/components/parameters/dataspaceNameInPath'
10       - $ref: 'components.yml#/components/parameters/anchorNameInPath'
11       - $ref: 'components.yml#/components/parameters/cpsPathInQuery'
12       - $ref: 'components.yml#/components/parameters/includeDescendantsOptionInQuery'
13     responses:
14       '200':
15         $ref: 'components.yml#/components/responses/Ok'
16       '400':
17         $ref: 'components.yml#/components/responses/BadRequest'
18       '401':
19         $ref: 'components.yml#/components/responses/Unauthorized'
20       '403':
21         $ref: 'components.yml#/components/responses/Forbidden'
22       '404':
23         $ref: 'components.yml#/components/responses/NotFound'
24     x-codegen-request-body-name: xpath