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.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Request Body required
Section titled “ Request Body required ” Media type application/json
object
metadata
required
The metadata for the release
object
Example generated
{ "metadata": {}}Responses
Section titled “ Responses ”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