Get the Files change cursor
GET
/api/v1/files/changes/head
const url = 'https://example.com/api/v1/files/changes/head';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/head \ --header 'Authorization: Bearer <token>'Requires a signed-in User with the data scope. Use this cursor to start a Home listing and then read changes published during that listing. Route: /api/v1/files/changes/head. Inputs: . Safe reads can use bounded retries.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Media typeapplication/json
object
cursor
required
integer format: int64
Examplegenerated
{ "cursor": 1}