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

KeyDatatypeRequiredDescription
actionstringEnter the action that has been set in the Publishing Rule.
localestringEnter the code of the locale where your Publishing Rule will be applicable.
environmentstringEnter the UID of the environment where your Publishing Rule will be applicable.

HEADERS

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