Menu
Get Revisions
List Revisions
GET
/revisionsUse it in a workflow
- Add a step and choose the Directus connector.
- Pick the Get Revisions action (under Revisions).
- Fill in the fields below, then reference the result from later steps as
{{getRevisions.response.data}}.
Request
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getRevisions.response.data.<field>}}.
{
"data": [
{
"id": 1,
"activity": 2,
"collection": "articles",
"item": "168",
"data": {
"author": 1,
"body": "This is my first post",
"featured_image": 15,
"id": "168",
"title": "Hello, World!"
},
"delta": {
"title": "Hello, World!"
},
"parent": null,
"version": "draft"
}
],
"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?