Use this API to publish a release of a component project to the CI/CD catalog.
This endpoint is intended for CLI tooling and must be authenticated with a job token.
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.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
metadataRequired | Object | The metadata for the release |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | APIEntities |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not found | — |
422 | Unprocessable entity | — |
Schemas
Objects returned by the operations above and objects nested in their request bodies.
APIEntitiesCiCatalogResourcesVersion
| Property | Type | Description |
|---|---|---|
catalog_ | String | Example:https: |