Endpoint
/v2/snapshots/{newer_id}/changes-since/{older_id}
GET
Returns a list of changed files and directories between two snapshots.
Parameters
Name |
Description |
Required |
newer_id |
Newer snapshot |
Yes |
older_id |
Older snapshot |
Yes |
after |
Return entries after the given key (keys are returned in the paging object) |
No |
limit |
Return no more than this many entries; the system may choose a smaller limit. |
No |
Response
Codes
Code |
Description |
200 |
Return value on success |
Schema
{
"description": "api_snapshot_tree_diff",
"type": "object",
"properties": {
"entries": {
"type": "array",
"items": {
"description": "entries",
"type": "object",
"properties": {
"op": {
"type": "string",
"enum": [
"CREATE",
"MODIFY",
"DELETE"
],
"description": "op:\n * `CREATE` - CREATE,\n * `DELETE` - DELETE,\n * `MODIFY` - MODIFY"
},
"path": {
"description": "path",
"type": "string"
}
}
}
}
}
}