Single activity entry with full before/after JSON
GET
/activity/{id}
const url = 'https://your-server.example/api/activity/1';const options = {method: 'GET', headers: {cookie: 'session=<session>'}};
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://your-server.example/api/activity/1 \ --cookie session=<session>Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
integer format: int64
Responses
Section titled “Responses”Entry.
Media typeapplication/json
object
id
integer format: int64
app_slug
string
actor_name
string
actor_source
string
ip
string
category
string
action
string
target
string
summary
string
error
string
compose_version_id
integer format: int64
sync_status
string
sync_commit_sha
string
sync_error
string
before_json
Only returned by GET /activity/{id}.
object
after_json
Only returned by GET /activity/{id}.
object
created_at
string format: date-time
Example
{ "actor_source": "ui", "category": "compose", "sync_status": "pending"}Resource not found.
Media typetext/plain
string