younifyd
Menu

Getallenvironments

Get all environments

GET/v3/environments

Use it in a workflow

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

Request

Query parameters

include_countstring

Set this parameter to 'true' to include in response the total count of languages added to your stack.

ascstring

Enter the unique ID of the field for sorting the environments in ascending order with respect to that field.

descstring

Enter the unique ID of the field for sorting the environments in descending order with respect to that field.

Response

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

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

Getallenvironments — Contentstack — Documentation