Who did what
GET
/api/v1/activity
const url = 'http://localhost:3000/api/v1/activity?limit=50';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/activity?limit=50' \ --header 'Authorization: Bearer <token>'Newest first: assets added, suggested, approved, rejected and deleted, tags suggested, and brand rule changes (one per brand version). An actor is an API key’s name, or web for the app.
Scope: read.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”before
string format: date-time
Only before this time: the previous page’s next
limit
integer
Page size
Responses
Section titled “Responses”Activity
Media typeapplication/json
object
data
required
Array<object>
object
id
required
string format: uuid
at
required
string format: date-time
actor
required
Who: a person’s name, an API key’s name, or “web” for the app without an account
string
agent
required
Done with an API key
boolean
verb
required
string
label
required
The asset’s title or filename then, or the brand’s name
string
Example
{ "data": [ { "verb": "added" } ]}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" }}