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 Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
metadata
required
The metadata for the release
object
Examplegenerated
{ "metadata": {}}Responses
Section titled “Responses”Created
Media typeapplication/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