Rest & Java API layer - Query Datanodes using cpsPath that contains contains a leaf...
[cps.git] / cps-rest / docs / api / swagger / 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     responses:
13       '200':
14         $ref: 'components.yml#/components/responses/Ok'
15       '400':
16         $ref: 'components.yml#/components/responses/BadRequest'
17       '401':
18         $ref: 'components.yml#/components/responses/Unauthorized'
19       '403':
20         $ref: 'components.yml#/components/responses/Forbidden'
21       '404':
22         $ref: 'components.yml#/components/responses/NotFound'
23     x-codegen-request-body-name: xpath