Publish a taxonomy

post

/content/management/api/v1.1/taxonomies/{id}/publish

Publish a promoted taxonomy to the selected channels. Any existing asset categorization for the same promoted taxonomy will become available on the selected channels. User needs to be a contributor on selected channels only when promoted and published taxonomy versions are the same. In case taxonomy promoted version is different than published version, user needs to be a contributor on selected channels and all previously published channels. Only one publish or unpublish request at a time can be active on a taxonomy. If publishing is in progress on a promoted taxonomy, any subsequent requests will result in failure until the initial publishing has completed.

Request

Path Parameters
Query Parameters
Header Parameters
Body ()
Taxonomy publishing request payload. Currently, only promoted taxonomies can be published and thus the status and the version are not used. This is an asynchronous operation. Asynchronous request is responded with 202 status with a status link in the location header.
Root Schema : TaxonomyOperationPublishRequest
Type: object
Taxonomy Operation Publish Request
Show Source
  • channels
    List of publish channels. Parameter channels is mandatory for the first taxonomy publishing. If channels is empty for the first time, an error message will be returned. If channels is empty but taxonomy is still published to other channels, a new version will be published to the current channels. If channels is not empty, taxonomy is published to given channels and any previously published channels (in case a new promoted version is available).
  • Status of the Taxonomy (draft/promoted). This is ignored for a publishing request since only promoted taxonomies can be published.
  • Version of a Taxonomy. The version field is currently ignored.
Nested Schema : channels
Type: array
List of publish channels. Parameter channels is mandatory for the first taxonomy publishing. If channels is empty for the first time, an error message will be returned. If channels is empty but taxonomy is still published to other channels, a new version will be published to the current channels. If channels is not empty, taxonomy is published to given channels and any previously published channels (in case a new promoted version is available).
Show Source
Nested Schema : ChannelId
Type: object
ChannelId
Show Source
Back to Top

Response

Supported Media Types

202 Response

Accepted.

400 Response

Bad request.

403 Response

Forbidden.

404 Response

Taxonomy not found. The requested resource not found.

409 Response

The requested resource operation is temporarily unavailable

500 Response

Internal server error.
Back to Top