Read the numbers again now
POST
/analytics/refresh
const url = 'https://api.dropslate.top/v1/analytics/refresh';const options = {method: 'POST', 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 POST \ --url https://api.dropslate.top/v1/analytics/refresh \ --header 'Authorization: Bearer <token>'Requires write. Queues one read of every account and live post of the workspace; once per 15 minutes per workspace.
Authorizations
Section titled “Authorizations”Responses
Section titled “ Responses ”Queued.
Media typeapplication/json
object
queued
boolean
Examplegenerated
{ "queued": true}Refreshed less than 15 minutes ago (rate_limited).
Media typeapplication/json
object
code
required
string
message
required
string
hint
string
Example
{ "code": "not_found", "message": "The post does not exist.", "hint": "Check the id and try again."}