Skip to content

Commit

Permalink
Merge pull request #1300 from sternenseemann/doc-eval-builds
Browse files Browse the repository at this point in the history
Document all_builds (/eval/{eval-id}/builds) endpoint
  • Loading branch information
dasJ authored Sep 9, 2023
2 parents 8a413ce + e2195c4 commit 8520ab1
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions hydra-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,24 @@ paths:
schema:
$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:
schemas:

Expand Down Expand Up @@ -796,6 +814,13 @@ components:
additionalProperties:
$ref: '#/components/schemas/JobsetEvalInput'

JobsetEvalBuilds:
type: array
items:
type: object
additionalProperties:
$ref: '#/components/schemas/Build'

JobsetOverview:
type: array
items:
Expand Down

0 comments on commit 8520ab1

Please sign in to comment.