Read Files changes
GET
/api/v1/files/changes
const url = 'https://example.com/api/v1/files/changes';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/files/changes \ --header 'Authorization: Bearer <token>'Requires a signed-in User with the data scope and a cursor from this User’s change feed. It returns 410 when the cursor is too old and the client must list the Home again. Route: /api/v1/files/changes. Inputs: cursor, limit. Safe reads can use bounded retries.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”cursor
integer format: int64
limit
integer format: int64
Responses
Section titled “Responses”Media typeapplication/json
object
cursor
required
integer format: int64
entries
required
Array<object>
object
content_hash
string | null
cursor
required
integer format: int64
item_id
required
string
mtime
required
integer format: int64
old_path
string | null
operation
required
string
path
required
string
size
required
integer format: int64
Examplegenerated
{ "cursor": 1, "entries": [ { "content_hash": "example", "cursor": 1, "item_id": "example", "mtime": 1, "old_path": "example", "operation": "example", "path": "example", "size": 1 } ]}Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}