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

KeyDatatypeRequiredDescription
content_typesstringEnter a comma-separated list of content type UIDs for filtering publish rules on its basis.
limitnumberEnter the limit value to display only the set number of publishing rules.
include_countbooleanSet this parameter to 'true' to include the total number of publish rules in the response body.

HEADERS

KeyDatatypeRequiredDescription
api_keystring
authtokenstringEnter your authtoken.
authorizationstringFor this call we recommend you to use management token.
Content-Typestring