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

This commit is contained in:
Cole Helbling 2021-04-26 19:35:02 -07:00
parent 9128802727
commit ddccf6a60e
No known key found for this signature in database
GPG key ID: B37E0F2371016A4C

View file

@ -258,6 +258,33 @@ paths:
schema:
$ref: '#/components/schemas/Error'
delete:
summary: Deletes a project
parameters:
- name: id
in: path
description: project identifier
required: true
schema:
type: string
responses:
'200':
description: project deleted
content:
application/json:
schema:
type: object
properties:
redirect:
type: string
description: root of the Hydra instance
'404':
description: project could not be found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
/jobset/{project-id}/{jobset-id}:
put:
summary: Creates a jobset in an existing project