Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[MINOR] docs(open-api): Document job list filter combination and missing-timestamp sorting (#12981)

Jerry Shaoc5b9affa4141
diff --git a/docs/open-api/jobs.yaml b/docs/open-api/jobs.yaml
index 7b7a75d6ab..7729301263 100644
--- a/docs/open-api/jobs.yaml
+++ b/docs/open-api/jobs.yaml
@@ -361,7 +361,9 @@ components:
name: queuedAfter
in: query
description: >-
- Only return jobs queued at or after this ISO-8601 instant (e.g. 2026-08-18T00:00:00Z)
+ Only return jobs queued at or after this ISO-8601 instant (e.g. 2026-08-18T00:00:00Z).
+ A job must satisfy all supplied time filters (AND semantics), so this combines with
+ one or more of startedAfter and finishedAfter
required: false
schema:
type: string
@@ -371,7 +373,9 @@ components:
in: query
description: >-
Only return jobs started at or after this ISO-8601 instant (e.g. 2026-08-18T00:00:00Z).
- Jobs that have not started yet are excluded
+ Jobs that have not started yet are excluded. A job must satisfy all supplied time
+ filters (AND semantics), so this combines with one or more of queuedAfter and
+ finishedAfter
required: false
schema:
type: string
@@ -381,7 +385,9 @@ components:
in: query
description: >-
Only return jobs finished at or after this ISO-8601 instant (e.g. 2026-08-18T00:00:00Z).
- Jobs that have not finished yet are excluded
+ Jobs that have not finished yet are excluded. A job must satisfy all supplied time
+ filters (AND semantics), so this combines with one or more of queuedAfter and
+ startedAfter
required: false
schema:
type: string
@@ -389,7 +395,10 @@ components:
sortBy:
name: sortBy
in: query
- description: The field to sort the returned jobs by
+ description: >-
+ The field to sort the returned jobs by. Jobs with no value for the selected field
+ (e.g. jobs that have not started or finished yet) always sort last, for both the "asc"
+ and "desc" sort orders
required: false
schema:
type: string
@@ -401,7 +410,10 @@ components:
sortOrder:
name: sortOrder
in: query
- description: The sort order for the returned jobs
+ description: >-
+ The sort order for the returned jobs. It only orders the jobs that have a value for the
+ selected sortBy field; jobs missing that value always sort last in both "asc" and "desc"
+ order
required: false
schema:
type: string