Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-06-26 18:08:25 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-06-26 18:08:25 +0300
commit972f10aa90a29b400ee84ee66e720ec633102b33 (patch)
treec4495f5dfd1a53bc15c1e25be05c4470d0779999
parentfc912786071553bb0f43829e1e9ad21e7f628cf8 (diff)
Add latest changes from gitlab-org/gitlab@master
-rw-r--r--doc/api/index.md9
-rw-r--r--doc/user/gitlab_com/index.md7
2 files changed, 10 insertions, 6 deletions
diff --git a/doc/api/index.md b/doc/api/index.md
index c29e43d3f8e..54d45ea7bf4 100644
--- a/doc/api/index.md
+++ b/doc/api/index.md
@@ -525,6 +525,15 @@ options:
| [Projects](projects.md) | `order_by=id` only | Authenticated and unauthenticated users |
| [Groups](groups.md) | `order_by=name`, `sort=asc` only | Unauthenticated users only |
+### Pagination response headers
+
+For performance reasons, if a query returns more than 10,000 records, GitLab
+doesn't return the following headers:
+
+- `x-total`.
+- `x-total-pages`.
+- `rel="last"` `link`
+
## Path parameters
If an endpoint has path parameters, the documentation displays them with a
diff --git a/doc/user/gitlab_com/index.md b/doc/user/gitlab_com/index.md
index d515f9f4558..6dd84622362 100644
--- a/doc/user/gitlab_com/index.md
+++ b/doc/user/gitlab_com/index.md
@@ -407,12 +407,7 @@ No response headers are provided.
### Pagination response headers
-For performance reasons, if a query returns more than 10,000 records, GitLab
-doesn't return the following headers:
-
-- `x-total`.
-- `x-total-pages`.
-- `rel="last"` `link`.
+For performance reasons, if a query returns more than 10,000 records, [GitLab excludes some headers](../../api/index.md#pagination-response-headers).
### Visibility settings