curl --request GET \
--url https://api.zerodrive.dev/v1/files/moves \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.zerodrive.dev/v1/files/moves', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.zerodrive.dev/v1/files/moves"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"ok": true,
"moves": [
{}
],
"path": "<string>",
"chain": [
{}
],
"via_folder": true
}What Moved
Read the move history. Without path: the account’s most recent moves, newest first. With path: the chain of the item that is at that path now, oldest first, so a caller can see where an item has been; a path the item has moved away from, and the path of an item that was deleted, answer an empty chain. A file inside a folder that moved answers the folder’s chain with via_folder true. It only reads.
curl --request GET \
--url https://api.zerodrive.dev/v1/files/moves \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.zerodrive.dev/v1/files/moves', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.zerodrive.dev/v1/files/moves"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"ok": true,
"moves": [
{}
],
"path": "<string>",
"chain": [
{}
],
"via_folder": true
}Authorizations
Query Parameters
Response
ok, and moves (newest first) or, with path, path, chain (oldest first) and via_folder. A move has move_id, from, to, kind (file or folder), door (web, rest, ai, cli, undo or drive), certainty (sure, or looks for a move that was inferred and not confirmed), moved_at (UTC time), objects, shares_followed, replaced, ended and continues (the move_id it follows, or null). A move made through the drive has a note that it is not confirmed; those made together between two folders are one entry with objects and up to 50 move_ids.

