Menu
Update App Definition
Update an app definition
PUT
/organizations/{organizationId}/app_definitions/{resourceId}Use it in a workflow
- Add a step and choose the Contentful connector.
- Pick the Update App Definition action (under Contentful Content Management API).
- Fill in the fields below, then reference the result from later steps as
{{updateAppDefinition.response.data}}.
Request
Path parameters
Headers
Request body
Enter the body as JSON in the step's Body field.
{
"name": "string",
"locations": [
{
"location": "string",
"fieldTypes": [
{
"type": "Symbol",
"linkType": "Entry",
"items": {}
}
],
"navigationItem": {
"name": "string",
"path": "string"
}
}
],
"parameters": {},
"src": "string",
"bundle": {
"sys": {
"id": "string",
"type": "string",
"linkType": "string"
}
}
}
Response
Returns 200 with an object. Read it in later steps with {{updateAppDefinition.response.data.<field>}}.
{
"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.
Was this page helpful?