Create a project alias
POST
/api/v4/project_aliases
Creates a project alias.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
project_id
required
The ID or URL-encoded path of the project
string
Example
gitlab-org/gitlabname
required
The alias of the project
string
Example
gitlabResponses
Section titled “Responses”Created
Media typeapplication/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