API reference
Audit actors
The members and service accounts that can appear as the actor of an audit action.
Its operations need the scope audit.view.
List audit actors
GET/v1/audit-actors
Returns the people and service accounts that can appear as the actor of an audit action, as the console’s Audit page lists them for its user filter. Use an actor’s uuid as the actor_uuid filter of the audit actions. The email is answered for a person only. Pages by page and per_page (limit is the same as per_page); every page carries current_page, per_page, last_page and total.
Needs the scope audit.view.
Query parameters
- limitinteger or nullOptional
The same as
per_page, kept for existing clients. - include_totalstring or nullOptional
Ignored:
totalis always present.Values:truefalse10(an open set: new values may be added) - per_pageinteger or nullOptional
How many actors to return in one page, from 1 to 100; 25 when omitted.
- pageinteger or nullOptional
The page to read, from 1; 1 when omitted. A page past the last answers no rows.
Returns
200 OK:
One page of the audit actors.
Each item of the page:
- typestring
user(a person) orservice_account. - uuidstring
The user uuid, the
actor_uuidof an audit action. - namestring
The name; a removed member’s or a deleted service account’s name is marked as the console marks it.
- emailstring or null
The email of a person; null for a service account.
Each failure is a problem document with a stable code; the response panel's status selector shows each one this operation can answer, and errors lists them all.