younifyd
Menu

Get App Definition

Get an app definition

GET/organizations/{organizationId}/app_definitions/{resourceId}

Use it in a workflow

  1. Add a step and choose the Contentful connector.
  2. Pick the Get App Definition action (under Contentful Content Management API).
  3. Fill in the fields below, then reference the result from later steps as {{getAppDefinition.response.data}}.

Request

Path parameters

organizationIdstringrequired

ID of the organization

resourceIdstringrequired

ID of the resource

Response

Returns 200 with an object. Read it in later steps with {{getAppDefinition.response.data.<field>}}.

sysobject
namestring

Name of the app

srcstring

URL of the app

bundleobject
sysobject3 fields
locationsarray<object>

Locations where the app can be installed

locationstringrequired

Location where the app can be installed

fieldTypesarray<object>required3 fields

Field types that this app can be installed on (for entry-field location)

navigationItemobject2 fields
parametersobject
instanceParameterobject5 fields
installationParameterobject5 fields
json
{
  "sys": {},
  "name": "string",
  "locations": [
    {
      "location": "string",
      "fieldTypes": [
        {
          "type": "Symbol",
          "linkType": "Entry",
          "items": {}
        }
      ],
      "navigationItem": {
        "name": "string",
        "path": "string"
      }
    }
  ],
  "src": "string",
  "bundle": {
    "sys": {
      "id": "string",
      "type": "string",
      "linkType": "string"
    }
  },
  "parameters": {
    "instanceParameter": {
      "type": "Symbol",
      "name": "string",
      "description": "string",
      "required": false,
      "default": {}
    },
    "installationParameter": {
      "type": "Symbol",
      "name": "string",
      "description": "string",
      "required": false,
      "default": {}
    }
  }
}

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

Get App Definition — Contentful — Documentation