forked from lix-project/hydra
hydra-api: implement DELETE /jobset/{project-id}/{jobset-id}
This commit is contained in:
parent
72fec31dbb
commit
bcd3bbb680
|
@ -370,6 +370,39 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/Error'
|
$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:
|
/jobset/{project-id}/{jobset-id}/evals:
|
||||||
get:
|
get:
|
||||||
summary: Retrieves all evaluations of a jobset
|
summary: Retrieves all evaluations of a jobset
|
||||||
|
|
Loading…
Reference in a new issue