Organization API: Organizations & Members: Audit log
The 1 Organization API operations for audit log.
Part of Organizations & Members.
Operations
Section titled Operations| Method | Path | Summary |
|---|---|---|
| GET | /api/v1/orgs/{org_slug}/audit-log |
Who did what in the organization, newest first |
Who did what in the organization, newest first
Section titled Who did what in the organization, newest firstGET /api/v1/orgs/{org_slug}/audit-log
Who did what in the organization, newest first. Owners and admins.
Every filter is applied in the database before the page is cut, and
counts is grouped from the same clause as the list, so the number
beside an area is the total the list answers when that area is
chosen. 422 for an action or actor the patterns refuse.
Each entry names who acted (actor_name) and the record it acted on
(target_name) as the console names them, or None when the
record is gone or names nothing (audit_names); the IDs stay beside
them.
Parameters
Section titled Parameters| Name | In | Type | Required | Description |
|---|---|---|---|---|
org_slug |
path | string | yes | |
limit |
query | integer | no | Default: 50. |
offset |
query | integer | no | Default: 0. |
action |
query | string or null | no | One action (member.removed), or with no dot an area: the actions whose first word it is (member). customers, coupons, setting and refund_request are the areas customer, coupon, settings and refund. |
actor |
query | string or null | no | A member's user ID (what they did in either console), or member, api_key, customer, system or admin (Coritan staff). |
since |
query | string (date-time) or null | no | Entries at or after this instant (ISO 8601; no offset is UTC). |
until |
query | string (date-time) or null | no | Entries before this instant (ISO 8601; no offset is UTC). |
q |
query | string or null | no | Text in the action (dots and underscores read as spaces), the IP address, the target's kind or the details; a member's name or email; or the target's ID. |
with_total |
query | boolean | no | Answer {items, total, limit, offset, counts}, where counts holds the entries of each area (and all) for the other filters. Without it the answer is the bare list of entries. Default: False. |
Responses
Section titled Responses| Status | Meaning |
|---|---|
200 |
Success. |
422 |
The request is not valid. detail lists each problem. |