Menu
Get Folders
List Folders
GET
/foldersUse it in a workflow
- Add a step and choose the Directus connector.
- Pick the Get Folders action (under Folders).
- Fill in the fields below, then reference the result from later steps as
{{getFolders.response.data}}.
Request
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getFolders.response.data.<field>}}.
{
"data": [
{
"id": "0cf0e03d-4364-45df-b77b-ca61f61869d2",
"name": "New York",
"parent": "{\n \"data\": {\n \"id\": \"fc02d733-95b8-4e27-bd4b-08a32cbe4e66\",\n \"name\": \"Test\",\n \"parent\": null\n }\n}\n"
}
],
"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?