Your weekly digest
GET
/api/v1/me/digest
const url = 'http://localhost:3000/api/v1/me/digest';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 http://localhost:3000/api/v1/me/digest \ --header 'Authorization: Bearer <token>'Whether you get the weekly digest: a person signed in, not a key. On unless you turned it off; it goes to a project’s editors and admins only.
Any caller; the scope needed is checked on what it acts on.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Your setting
Media typeapplication/json
object
data
required
object
weekly
required
The weekly digest: on Mondays, last week in each project you edit or administer, by email
boolean
Examplegenerated
{ "data": { "weekly": true }}default
Section titled “default”An error
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
detail
Examplegenerated
{ "error": { "code": "example", "message": "example", "detail": "example" }}