List of user actions
Get a list of user actions
Returns a list of user actions
GET /api/admin/v1/log-entries |
Method parameters
array
type, array of user action types
string
from, starting date for filtering
string
to, ending date for filtering
int
user_id, administrator identifier
int
per_page, number of items per pagination page. Default is 25
int
page, pagination page number
string
search, minimum of 3 octets required for searching by IP address
200 |
Successful response
JSON
|
401 |
Authorization token is not provided or is invalid. Obtaining a token |
cURL
BASH
curl -k --request POST \
--url 'https://your-domain/api/admin/v1/log-entries' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data '{
"type": [],
"from": "string",
"to": "string",
"user_id": 0,
"per_page": 0,
"page": 0,
"search": "string"
}'
PHP
PHP
$data = array (
'type' =>
array (
),
'from' => 'string',
'to' => 'string',
'user_id' => 0,
'per_page' => 0,
'page' => 0,
'search' => 'string',
);
$context = stream_context_create([
'ssl'=>['verify_peer' => false],
'http' => [
'method' => 'GET',
'header' => "Content-Type: application/json\r
Accept: application/json",
'content'=>json_encode($data)
]
]);
$result = file_get_contents('https://your-domain/api/admin/v1/log-entries', false, $context);