Get all publish rules
GET https://{{base_url}}/v3/workflows/publishing_rules?content_types={{content_type_uid1,content_type_uid2,...}}&include_count=true
The Get all Publish Rules request retrieves the details of all the Publish rules of a workflow.Â
To configure the permissions for your application via OAuth, please include the cm.workflows.publishing-rules:read scope.
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 all publish rules API Reference document
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
content_types | string | Enter a comma-separated list of content type UIDs for filtering publish rules on its basis. | |
limit | number | Enter the limit value to display only the set number of publishing rules. | |
include_count | boolean | Set this parameter to 'true' to include the total number of publish rules in the response body. |
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 |