Skip to content

Publish a new component project release as version to the CI/CD catalog

POST
/api/v4/projects/{id}/catalog/publish

Publishes a release of a catalog resource as version to the CI/CD catalog.

id
required
One of:
string

The ID or URL-encoded path of the project

Media type application/json
object
metadata
required

The metadata for the release

object
Example generated
{
"metadata": {}
}

Created

Media type application/json
object
catalog_url
string
Example
{
"catalog_url": "https://gitlab.example.com/explore/catalog/my-namespace/my-component-project"
}

Bad Request

Unauthorized

Forbidden

Not found

Unprocessable entity