diff --git a/API-proposed.yaml b/API-proposed.yaml index 8d55c6f..ce50750 100644 --- a/API-proposed.yaml +++ b/API-proposed.yaml @@ -1169,6 +1169,33 @@ paths: application/json: schema: type: string + /experiments/{expUUID}:close: + put: + tags: + - Experiments + summary: Close experiment to dispose allocated resources. + operationId: closeExperiment + parameters: + - name: expUUID + in: path + description: UUID of the experiment to query + required: true + schema: + type: string + format: uuid + responses: + "200": + description: Return the model of the closed experiment + content: + application/json: + schema: + $ref: '#/components/schemas/Experiment' + "404": + description: No such experiment + content: + application/json: + schema: + type: string /experiments/{expUUID}: get: tags: diff --git a/API.yaml b/API.yaml index 03a011a..e195ecf 100644 --- a/API.yaml +++ b/API.yaml @@ -1159,6 +1159,33 @@ paths: application/json: schema: type: string + /experiments/{expUUID}:close: + put: + tags: + - Experiments + summary: Close experiment to dispose allocated resources. + operationId: closeExperiment + parameters: + - name: expUUID + in: path + description: UUID of the experiment to query + required: true + schema: + type: string + format: uuid + responses: + "200": + description: Return the model of the closed experiment + content: + application/json: + schema: + $ref: '#/components/schemas/Experiment' + "404": + description: No such experiment + content: + application/json: + schema: + type: string /experiments/{expUUID}: get: tags: