younifyd
Menu

Importaglobalfield

Import a global field

POST/v3/global_fields/import

Use it in a workflow

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

Request

Query parameters

include_branchstring

Set this to 'true' to include the '_branch' top-level key in the response. This key states the unique ID of the branch where the concerned Contentstack module resides.

Headers

branchstring

Enter your branch unique ID.

Request body

Enter the body as JSON in the step's Body field.

global_fieldstring (binary)

Upload the JSON file of the global field that you want to import.

json
{
  "global_field": "string"
}

Response

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

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