diff options
Diffstat (limited to 'cps-rest/docs/api')
-rwxr-xr-x | cps-rest/docs/api/swagger/openapi.yml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/cps-rest/docs/api/swagger/openapi.yml b/cps-rest/docs/api/swagger/openapi.yml index d76ec5ecd5..d2c720e01c 100755 --- a/cps-rest/docs/api/swagger/openapi.yml +++ b/cps-rest/docs/api/swagger/openapi.yml @@ -9,6 +9,35 @@ tags: - name: cps-rest description: cps Resource paths: + /v1/dataspaces: + post: + tags: + - cps-admin + summary: Create a new dataspace + operationId: createDataspace + parameters: + - name: dataspace-name + in: query + description: dataspace-name + required: true + schema: + type: string + responses: + 201: + description: Created + content: + application/json: + schema: + type: string + 400: + description: Bad Request + content: { } + 401: + description: Unauthorized + content: { } + 403: + description: Forbidden + content: { } /v1/dataspaces/{dataspace-name}/: delete: tags: |