From bcd3bbb6806c59c3f7130d623d55b688c6f888a0 Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Tue, 27 Apr 2021 16:12:52 -0700 Subject: [PATCH] hydra-api: implement DELETE /jobset/{project-id}/{jobset-id} --- hydra-api.yaml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/hydra-api.yaml b/hydra-api.yaml index 9e67d207..acbf835f 100644 --- a/hydra-api.yaml +++ b/hydra-api.yaml @@ -370,6 +370,39 @@ paths: schema: $ref: '#/components/schemas/Error' + delete: + summary: Deletes a jobset designated by project and jobset id + parameters: + - name: project-id + in: path + description: name of the project the jobset belongs to + required: true + schema: + type: string + - name: jobset-id + in: path + description: name of the jobset to retrieve + required: true + schema: + type: string + responses: + '200': + description: jobset successfully deleted + content: + application/json: + schema: + type: object + properties: + redirect: + type: string + description: root of the Hydra instance + '404': + description: jobset couldn't be found + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + /jobset/{project-id}/{jobset-id}/evals: get: summary: Retrieves all evaluations of a jobset