hydra-api.yaml: document all_builds (/eval/{eval-id}/builds)

This commit is contained in:
sternenseemann 2023-08-30 15:08:11 +02:00
parent 113836ebae
commit e2195c46d1

View file

@ -551,6 +551,24 @@ paths:
schema: schema:
$ref: '#/components/schemas/JobsetEval' $ref: '#/components/schemas/JobsetEval'
/eval/{eval-id}/builds:
get:
summary: Retrieves all builds belonging to an evaluation identified by eval id
parameters:
- name: eval-id
in: path
description: eval identifier
required: true
schema:
type: integer
responses:
'200':
description: builds
content:
application/json:
schema:
$ref: '#/components/schemas/JobsetEvalBuilds'
components: components:
schemas: schemas:
@ -796,6 +814,13 @@ components:
additionalProperties: additionalProperties:
$ref: '#/components/schemas/JobsetEvalInput' $ref: '#/components/schemas/JobsetEvalInput'
JobsetEvalBuilds:
type: array
items:
type: object
additionalProperties:
$ref: '#/components/schemas/Build'
JobsetOverview: JobsetOverview:
type: array type: array
items: items: