Commit a41e7ef2 authored by Marcin Sedlak-Jakubowski's avatar Marcin Sedlak-Jakubowski

Merge branch 'docs-jobs-api-sort-order' into 'master'

Clarify sort order of jobs api

See merge request gitlab-org/gitlab!59014
parents 9dd41bd6 88c84556
......@@ -295,7 +295,8 @@ In GitLab 13.3 and later, this endpoint [returns data for any pipeline](pipeline
including [child pipelines](../ci/parent_child_pipelines.md).
In GitLab 13.5 and later, this endpoint does not return retried jobs in the response
by default.
by default. Additionally, jobs are sorted by ID in ascending order (oldest first).
In earlier GitLab versions, jobs are sorted by ID in descending order (newest first).
In GitLab 13.9 and later, this endpoint can include retried jobs in the response
with `include_retried` set to `true`.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment