younifyd
Menu

Getpublishrulesbycontenttypes

Get publish rules by content types

GET/v3/workflows/content_type/{content_type_uid}

Use it in a workflow

  1. Add a step and choose the Contentstack connector.
  2. Pick the Getpublishrulesbycontenttypes action (under Workflows).
  3. Fill in the fields below, then reference the result from later steps as {{getpublishrulesbycontenttypes.response.data}}.

Request

Path parameters

content_type_uidstringrequired

Query parameters

actionstringrequired

Enter the action that has been set in the Publishing Rule.

localestring

Enter the code of the locale where your Publishing Rule will be applicable.

environmentstring

Enter the UID of the environment where your Publishing Rule will be applicable.

Response

Returns 200 with a any. Read it in later steps with {{getpublishrulesbycontenttypes.response.data.<field>}}.

Need more? See the Contentstack guide for connection setup and behaviour shared by every action.