diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-25 18:10:42 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-05-25 18:10:42 +0000 |
commit | a880341a7b3a164ba381620852cc3ea0777f67ad (patch) | |
tree | de7f7a09aee296eef7924cad7eb7ec2e9ea29ce0 /doc/api/project_aliases.md | |
parent | a8c1bc6f757ecacbc3481e52a3f4cefb6c6db5fd (diff) | |
download | gitlab-ce-a880341a7b3a164ba381620852cc3ea0777f67ad.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/project_aliases.md')
-rw-r--r-- | doc/api/project_aliases.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/project_aliases.md b/doc/api/project_aliases.md index 439f34ad93b..e09bb167a31 100644 --- a/doc/api/project_aliases.md +++ b/doc/api/project_aliases.md @@ -68,8 +68,8 @@ Example response: ## Create a project alias -Add a new alias for a project. Responds with a 201 when successful, -400 when there are validation errors (e.g. alias already exists): +Add a new alias for a project. When successful, responds with `201 Created`. +When there are validation errors, for example, when the alias already exists, responds with `400 Bad Request`: ```plaintext POST /project_aliases |