LogOperation
Questi contenuti non sono ancora disponibili nella tua lingua.
Manage log operations, which represent tracked actions performed by users or the system.
You can search for log operations with advanced filtering and pagination.
- Version
- 2.0.0
- OpenAPI version
- 3.0.0
Operations
Sezione intitolata “Operations” POST /v2/log-operation/index
Returns a paginated and filterable list of log operations.
Use POST to allow complex filters via JSON payload.
Request Body
Sezione intitolata “Request Body ”Parameters for searching log operations
object
object
ID of the log operation
Timestamp when the operation occurred
ID of the user who performed the operation
ID of the entity involved in the operation
Type of the entity involved (e.g., USER, SYSTEM)
Name of the entity involved in the operation
HTTP method used for the operation (e.g., GET, POST)
Additional data related to the operation
Subtenant ID related to the operation
Tenant ID to which the operation belongs
The field of the model to sort the list for, use a minus to revert the sort. Es -name is to require the sort in reverse order
The field establishes whether to also include historized elements that are no longer active in the results. If you leave this parameter empty the response returns only actual entries.
Example
{ "filter": { "user_id": "user-1", "entity_type": "USER" }, "per-page": 10, "page": 1, "sort": "timestamp"}
Responses
Sezione intitolata “ Responses ”List of log operations
object
ID of the log operation
Timestamp when the operation occurred
ID of the user who performed the operation
ID of the entity involved in the operation
Type of the entity involved (e.g., USER, SYSTEM)
Name of the entity involved in the operation
HTTP method used for the operation (e.g., GET, POST)
Additional data related to the operation
Subtenant ID related to the operation
Tenant ID to which the operation belongs
Example
{ "log_operation_id": "logop-1", "timestamp": "2024-01-01T10:00:00Z", "user_id": "user-1", "entity_id": "ent-1", "entity_type": "USER", "entity_name": "John Doe", "method": "POST", "data": "Created new user", "subtenant_id": "sub-1", "tenant_id": "ten-1"}
Headers
Sezione intitolata “Headers ”Current page
Total number of pages
Number of items per page
Total number of items
GET /v2/log-operation/view/{id}
Retrieve a log operation by its unique ID.
Path Parameters
Sezione intitolata “Path Parameters ”ID of the log operation to retrieve
Responses
Sezione intitolata “ Responses ”Log operation found
object
ID of the log operation
Timestamp when the operation occurred
ID of the user who performed the operation
ID of the entity involved in the operation
Type of the entity involved (e.g., USER, SYSTEM)
Name of the entity involved in the operation
HTTP method used for the operation (e.g., GET, POST)
Additional data related to the operation
Subtenant ID related to the operation
Tenant ID to which the operation belongs
Example
{ "log_operation_id": "logop-1", "timestamp": "2024-01-01T10:00:00Z", "user_id": "user-1", "entity_id": "ent-1", "entity_type": "USER", "entity_name": "John Doe", "method": "POST", "data": "Created new user", "subtenant_id": "sub-1", "tenant_id": "ten-1"}
Log operation not found