Skip to content

Get store log entries for the given time range and action types

GET
/api/stores/{storeId}/log/{fromDate}/{toDate}/actions/{storeLogActionIds}

Authorizations

api_key

Requests manipulating data need to supply a CSRF token

TypeAPI Key (header: X-CSRF-Token)

Parameters

Path Parameters

storeId*
Typestring
Required
Pattern"[1-9][0-9]*"
fromDate*
Typestring
Required
Pattern"[0-9]{4}-((0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01])|(0[469]|11)-(0[1-9]|[12][0-9]|30)|(02)-(0[1-9]|[12][0-9]))T(0[0-9]|1[0-9]|2[0-3]):(0[0-9]|[1-5][0-9]):(0[0-9]|[1-5][0-9])\\.[0-9]{3,6}Z"
toDate*
Typestring
Required
Pattern"[0-9]{4}-((0[13578]|1[02])-(0[1-9]|[12][0-9]|3[01])|(0[469]|11)-(0[1-9]|[12][0-9]|30)|(02)-(0[1-9]|[12][0-9]))T(0[0-9]|1[0-9]|2[0-3]):(0[0-9]|[1-5][0-9]):(0[0-9]|[1-5][0-9])\\.[0-9]{3,6}Z"
storeLogActionIds*
Typestring
Required
Pattern"\\d+(,\\d+)*"

Query Parameters

limit
Typeinteger
Defaultnull
offset
Typeinteger
Defaultnull

Responses

Success.

application/json
JSON
[
{
"performedAt": "string",
"actionType": 0,
"actor": {
"id": 342528,
"name": "Franzi",
"avatar": "/api/uploads/99d1fb45-9748-3510-ac02-87b46c40048c",
"isSleeping": true
},
"target": {
"id": 342528,
"name": "Franzi",
"avatar": "/api/uploads/99d1fb45-9748-3510-ac02-87b46c40048c",
"isSleeping": true
},
"dateReference": "string",
"content": "string",
"reason": "string"
}
]

Playground

Authorization
Variables
Key
Value

Samples

cURL
JavaScript
PHP
Python