diff options
author | Rishi.Chail <rishi.chail@est.tech> | 2021-01-27 04:27:34 +0000 |
---|---|---|
committer | Rishi.Chail <rishi.chail@est.tech> | 2021-01-27 22:23:01 +0000 |
commit | dacc663d90a1c5a39f6885ac69cef131be60a6e5 (patch) | |
tree | 06444fc4f21fdbcb6856e08aef105537a4dc1be1 /cps-rest/docs/api | |
parent | 55c4135bff02800659ddc4d2de15222ba229ac51 (diff) |
Correct URL for Get a node using anchor and dataspace
Issue-ID: CPS-252
Signed-off-by: Rishi.Chail <rishi.chail@est.tech>
Change-Id: I26bf4e30f49d1b47c38826360cd046ff41081aa8
Diffstat (limited to 'cps-rest/docs/api')
-rwxr-xr-x | cps-rest/docs/api/swagger/cpsAdmin.yml | 2 | ||||
-rwxr-xr-x | cps-rest/docs/api/swagger/cpsData.yml | 3 | ||||
-rwxr-xr-x | cps-rest/docs/api/swagger/openapi.yml | 5 |
3 files changed, 7 insertions, 3 deletions
diff --git a/cps-rest/docs/api/swagger/cpsAdmin.yml b/cps-rest/docs/api/swagger/cpsAdmin.yml index f1bac8dda5..5040e2cf8d 100755 --- a/cps-rest/docs/api/swagger/cpsAdmin.yml +++ b/cps-rest/docs/api/swagger/cpsAdmin.yml @@ -1,4 +1,4 @@ -dataspace: +dataspaces: post: description: Create a new dataspace tags: diff --git a/cps-rest/docs/api/swagger/cpsData.yml b/cps-rest/docs/api/swagger/cpsData.yml index eabed28365..24644899a4 100755 --- a/cps-rest/docs/api/swagger/cpsData.yml +++ b/cps-rest/docs/api/swagger/cpsData.yml @@ -1,4 +1,4 @@ -nodesByDataspaceAndAnchor: +nodeByDataspaceAndAnchor: get: description: Get a node with an option to retrieve all the children for a given anchor and dataspace tags: @@ -23,6 +23,7 @@ nodesByDataspaceAndAnchor: $ref: 'components.yml#/components/responses/NotFound' x-codegen-request-body-name: xpath +nodesByDataspaceAndAnchor: post: description: Create a node for a given anchor and dataspace tags: diff --git a/cps-rest/docs/api/swagger/openapi.yml b/cps-rest/docs/api/swagger/openapi.yml index 5b9e5f4b6c..2ead202398 100755 --- a/cps-rest/docs/api/swagger/openapi.yml +++ b/cps-rest/docs/api/swagger/openapi.yml @@ -25,7 +25,7 @@ tags: paths: /v1/dataspaces: - $ref: 'cpsAdmin.yml#/dataspace' + $ref: 'cpsAdmin.yml#/dataspaces' /v1/dataspaces/{dataspace-name}: $ref: 'cpsAdmin.yml#/dataspaceByDataspaceName' @@ -42,6 +42,9 @@ paths: /v1/dataspaces/{dataspace-name}/schema-sets/{schema-set-name}: $ref: 'cpsAdmin.yml#/schemaSetBySchemaSetName' + /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/node: + $ref: 'cpsData.yml#/nodeByDataspaceAndAnchor' + /v1/dataspaces/{dataspace-name}/anchors/{anchor-name}/nodes: $ref: 'cpsData.yml#/nodesByDataspaceAndAnchor' |