Skip to content

Commit ef82034

Browse files
committed
add reusable UWS job list params to openapi/uws
1 parent 0b2f692 commit ef82034

5 files changed

Lines changed: 30 additions & 1 deletion

File tree

openapi/uws/uws-after-param.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
name: AFTER
2+
in: query
3+
description: list jobs with creationTime after the specified value
4+
required: false
5+
schema:
6+
type: string
7+
format: date-time
8+
example: "2017-07-21T17:32:28Z"

openapi/uws/uws-last-param.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: LAST
2+
in: query
3+
description: |
4+
limit the number of jobs listed to the specified value; use of LAST
5+
also causes the server to return jobs in order of creationTime (descending)
6+
with the most recent jobs first
7+
required: false
8+
schema:
9+
type: integer
10+
minimum: 0
11+
example: 10

openapi/uws/uws-phase-param.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
name: PHASE
2+
in: query
3+
description: list jobs in this execution phase
4+
required: false
5+
schema:
6+
type: string
7+
example: "EXECUTING"

openapi/uws/uws-responses.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ job-listing:
3131
<uws:creationTime>2024-07-16T16:38:33.090Z</uws:creationTime>
3232
</uws:jobref>
3333
...
34-
</uws:job>
34+
</uws:jobs>
3535
3636
job:
3737
description: a single UWS Job

openapi/vosi/vosi-table-ops.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ get:
55
summary: list async table update jobs
66
description: async job listing
77
parameters:
8+
- $ref: ../uws/uws-phase-param.yaml
9+
- $ref: ../uws/uws-after-param.yaml
10+
- $ref: ../uws/uws-last-param.yaml
811
responses:
912
'200':
1013
$ref: ../uws/uws-responses.yaml#/job-listing

0 commit comments

Comments
 (0)