Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Commit

Permalink
feat: add actor_id and actor_type to log object response (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
koalaty-code authored Nov 3, 2021
1 parent f3ee2ef commit 8eacdf2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions source/includes/api-reference/_logs.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
Attribute | Type | Description
--------- | ---- | -----------
`tenant_id` | *uuid* | The [Tenant](#tenants) ID which owns the entity
`application_id` | *uuid* | The [Application](#applications) ID which performed the operation
`actor_id` | *uuid* | (Optional) The ID of the actor which performed the operation
`actor_type` | *string* | (Optional) The type of actor which performed the operation (e.g. `"user"`, `"application"`)
`entity_type` | *string* | The entity type of the log
`entity_id` | *string* | The unique identifier of the `entity_type`
`operation` | *string* | The log operation (e.g. create, update, read, delete)
Expand Down Expand Up @@ -42,11 +43,12 @@ var logs = await client.GetAsync();
```json
{
"pagination": {...}
"pagination": {...},
"data": [
{
"tenant_id": "77cb0024-123e-41a8-8ff8-a3d5a0fa8a08",
"application_id": "fb124bba-f90d-45f0-9a59-5edca27b3b4a",
"actor_id": "fb124bba-f90d-45f0-9a59-5edca27b3b4a",
"actor_type": "application",
"entity_type": "token",
"entity_id": "c06d0789-0a38-40be-b7cc-c28a718f76f1",
"operation": "read",
Expand Down

0 comments on commit 8eacdf2

Please sign in to comment.