Skip to content
GitLab
Next
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Primary navigation
Search or go to…
Project
GitLab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Privacy statement
Keyboard shortcuts
?
What's new
4
Snippets
Groups
Projects
Show more breadcrumbs
GitLab.org
GitLab
Commits
197916f1
Commit
197916f1
authored
1 year ago
by
Amy Qualls
Committed by
Igor Drozdov
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Improve Redirects API documentation
parent
1d848fee
No related branches found
No related tags found
1 merge request
!137578
Enable API redirection for moved projects
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/api/rest/index.md
+2
-1
2 additions, 1 deletion
doc/api/rest/index.md
with
2 additions
and
1 deletion
doc/api/rest/index.md
+
2
−
1
View file @
197916f1
...
...
@@ -347,7 +347,8 @@ The following table shows the possible return codes for API requests.
## Redirects
> Introduced in GitLab 16.4.
> - Introduced in GitLab 16.4 [with a flag](../../user/feature_flags.md) named `api_redirect_moved_projects`. Disabled by default.
> - [Generally available](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/137578) in GitLab 16.7. Feature flag `api_redirect_moved_projects` removed.
REST API can respond with a redirect and users should be able to handle such responses.
The users should follow the redirect and repeat the request to the URI specified in the
`Location`
header.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment