diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-17 21:09:17 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-17 21:09:17 +0300 |
commit | 16964a4834ac976228b3ad69c4eff813d8230d7a (patch) | |
tree | a09f9a8041cd93debb70e0491d0500afe0318244 /doc/user/admin_area | |
parent | 1b70d442d130862fc779529056df2c6fe140f662 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/user/admin_area')
-rw-r--r-- | doc/user/admin_area/settings/files_api_rate_limits.md | 54 |
1 files changed, 7 insertions, 47 deletions
diff --git a/doc/user/admin_area/settings/files_api_rate_limits.md b/doc/user/admin_area/settings/files_api_rate_limits.md index 9f7a2d13b8e..c87cac2b8ac 100644 --- a/doc/user/admin_area/settings/files_api_rate_limits.md +++ b/doc/user/admin_area/settings/files_api_rate_limits.md @@ -1,51 +1,11 @@ --- -stage: Create -group: Source Code -info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments -type: reference +redirect_to: '../../../administration/settings/files_api_rate_limits.md' +remove_date: '2023-10-14' --- -# Rate limits on Repository files API **(FREE SELF)** +This document was moved to [another location](../../../administration/settings/files_api_rate_limits.md). -> - [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/68561) in GitLab 14.3. -> - [Generally available](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/75918) in GitLab 14.6. [Feature flag `files_api_throttling`](https://gitlab.com/gitlab-org/gitlab/-/issues/338903) removed. - -The [Repository files API](../../../api/repository_files.md) enables you to -fetch, create, update, and delete files in your repository. To improve the security -and durability of your web application, you can enforce -[rate limits](../../../security/rate_limits.md) on this API. Any rate limits you -create for the Files API override the [general user and IP rate limits](user_and_ip_rate_limits.md). - -## Define Files API rate limits - -Rate limits for the Files API are disabled by default. When enabled, they supersede -the general user and IP rate limits for requests to the -[Repository files API](../../../api/repository_files.md). You can keep any general user -and IP rate limits already in place, and increase or decrease the rate limits -for the Files API. No other new features are provided by this override. - -Prerequisite: - -- You must have administrator access to the instance. - -To override the general user and IP rate limits for requests to the Repository files API: - -1. On the left sidebar, expand the top-most chevron (**{chevron-down}**). -1. Select **Admin Area**. -1. Select **Settings > Network**. -1. Expand **Files API Rate Limits**. -1. Select the checkboxes for the types of rate limits you want to enable: - - **Unauthenticated API request rate limit** - - **Authenticated API request rate limit** -1. If you selected **unauthenticated**: - 1. Select the **Max unauthenticated API requests per period per IP**. - 1. Select the **Unauthenticated API rate limit period in seconds**. -1. If you selected **authenticated**: - 1. Select the **Max authenticated API requests per period per user**. - 1. Select the **Authenticated API rate limit period in seconds**. - -## Related topics - -- [Rate limits](../../../security/rate_limits.md) -- [Repository files API](../../../api/repository_files.md) -- [User and IP rate limits](user_and_ip_rate_limits.md) +<!-- This redirect file can be deleted after <2023-10-14>. --> +<!-- Redirects that point to other docs in the same project expire in three months. --> +<!-- Redirects that point to docs in a different project or site (for example, link is not relative and starts with `https:`) expire in one year. --> +<!-- Before deletion, see: https://docs.gitlab.com/ee/development/documentation/redirects.html --> |