Get publish rules by content types
GET https://{{base_url}}/v3/workflows/content_type/{{content_type_uid}}?action=publish/unpublish
The Get Publish Rules by Content Types request allows you to retrieve details of a Publish Rule applied to a specific content type of your stack.
To use the API Request, you will need to authenticate yourself either with a Management Token (highly recommended) or an Authtoken.Â
Read more about it in Authentication.
For more information, refer to the Get publish rules by content types API Reference document
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
action | string | Enter the action that has been set in the Publishing Rule. | |
locale | string | Enter the code of the locale where your Publishing Rule will be applicable. | |
environment | string | Enter the UID of the environment where your Publishing Rule will be applicable. |
HEADERS
| Key | Datatype | Required | Description |
|---|---|---|---|
api_key | string | ||
authtoken | string | Enter your authtoken. | |
authorization | string | For this call we recommend you to use management token. | |
Content-Type | string |