Get a paginated, newest-first audit/activity feed for the authenticated partner and (if a partner) all of its child account companies.
Auth: Partner — authentication under the partner/ prefix group. Scope comes from the caller: is resolved, then getAccessibleCompanyIds collects that company's id plus, if bundle_id == 1 (partner), all non-deleted child companies (company.company_id == partner.id). Activities cover only those company_ids; if the user has assign_brand set, results are further narrowed to the user's assignBrands company ids. Returns Company not found error if the user has no associated company.
Rate limit: No rate limit.
Request
- Query:
limit(integer, optional) — items per page; 10–100 (values below 10 are raised to 10), defaults to 10. (pageis honored by the underlyingpaginatebut is not validated in the request validation.)
Response — { data. } envelope. The data object contains:
data(array) — list of activity rows, newest first. Each item:id(integer) — activity row id.description(string) —ucfirstof the activity'sdescriptioncolumn.date(string, ISO-8601) — the activity'screated_at.activity_type(string) — e.g.location_created,brand_created.entity_type(string) — e.g.location,brand.current_page(integer) — current paginator page.per_page(integer) — page size.total(integer) — total matching activities.
Errors: 422 on validation failure.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
