younifyd
Menu

Getallpublishrules

Get all publish rules

GET/v3/workflows/publishing_rules

Use it in a workflow

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

Request

Query parameters

content_typesstringrequired

Enter a comma-separated list of content type UIDs for filtering publish rules on its basis.

limitstring

Enter the limit value to display only the set number of publishing rules.

include_countstringrequired

Set this parameter to 'true' to include the total number of publish rules in the response body.

Response

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

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

Was this page helpful?
Getallpublishrules — Contentstack — Documentation