hydra-api: implement DELETE /jobset/{project-id}/{jobset-id}

This commit is contained in:
Cole Helbling 2021-04-27 16:12:52 -07:00
parent 72fec31dbb
commit bcd3bbb680
No known key found for this signature in database
GPG key ID: B37E0F2371016A4C

View file

@ -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