Menu
Get Presets
List Presets
GET
/presetsUse it in a workflow
- Add a step and choose the Directus connector.
- Pick the Get Presets action (under Presets).
- Fill in the fields below, then reference the result from later steps as
{{getPresets.response.data}}.
Request
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getPresets.response.data.<field>}}.
{
"data": [
{
"id": 155,
"bookmark": "string",
"user": "63716273-0f29-4648-8a2a-2af2948f6f78",
"role": "50419801-0f30-8644-2b3c-9bc2d980d0a0",
"collection": "articles",
"search": "string",
"layout": null,
"layout_query": {
"cards": {
"sort": "-published_on"
}
},
"layout_options": {
"cards": {
"icon": "account_circle",
"title": "{{ first_name }} {{ last_name }}",
"subtitle": "{{ title }}",
"size": 3
}
},
"filters": [
null
]
}
],
"meta": {
"total_count": 0,
"filter_count": 0
}
}
Need more? See the Directus guide for connection setup and behaviour shared by every action.
Was this page helpful?