Skip to content

Commit

Permalink
includes GET /jobs/successful
Browse files Browse the repository at this point in the history
  • Loading branch information
louismrose committed Mar 22, 2024
1 parent f1af990 commit 87dc61c
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions openapi/spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,43 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/Job'
/jobs/successful:
get:
tags:
- Jobs
summary: Retrieve a list of all successful jobs
description: Retrieve a list of all successful jobs
operationId: listSuccessfulJobs
parameters:
- in: query
name: limit
required: false
schema:
type: integer
default: 50
description: Limit the number of results (max 50)
example: 25
- in: query
name: after
required: false
schema:
type: integer
description: Retrieve jobs after the specified jobId
example: 42
- in: query
name: before
required: false
schema:
type: integer
description: Retrieve jobs after the specified jobId
example: 42
responses:
'200':
description: A list of all successful jobs.
content:
application/json:
schema:
$ref: '#/components/schemas/Jobs'
'/jobs/{jobId}':
get:
tags:
Expand Down

0 comments on commit 87dc61c

Please sign in to comment.