Create a project alias
POST
/api/v4/project_aliases
Creates a project alias.
Authorizations
Section titled “ Authorizations ”Request Body required
Section titled “ Request Body required ” Media type application/json
object
project_id
required
The ID or URL-encoded path of the project
string
Example
gitlab-org/gitlab name
required
The alias of the project
string
Example
gitlabResponses
Section titled “ Responses ”Created
Media type application/json
object
id
integer format: int64
project_id
integer format: int64
name
string
Example
{ "id": 1, "project_id": 1, "name": "gitlab"}Bad request
Forbidden
Not found