Logs
Admin log, staff audit and feature logs.
GET/api/v1/logs/admin
The admin log: every staff action on this server, newest first
logs:read
Parameters
limit | query · integer | Rows per page (1-100) |
cursor | query · string | next_cursor of the previous page |
q | query · string | search |
Answers
200OK
{
"data": [
{
"text": "Admin slayed Player",
"actor": "Admin",
"at_ms": 1761955200000
}
],
"next_cursor": null
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl "https://your-site.com/api/v1/logs/admin" \
-H "Authorization: Bearer $SEQUENCE_KEY"
Try it
GET/api/v1/logs/chat
Website global chat, oldest first (needs chat:read)
logs:readchat:read
Parameters
limit | query · integer | Rows per page (1-100) |
cursor | query · string | next_cursor of the previous page |
Answers
200OK
{
"data": [
{
"id": 101,
"sender": "76561198000000000",
"body": "hi",
"at": 1761955200
}
],
"next_cursor": null
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl "https://your-site.com/api/v1/logs/chat" \
-H "Authorization: Bearer $SEQUENCE_KEY"
Try it
GET/api/v1/logs/features/{feature}
A feature's log (garage, teleport, ...) as the website shows it
logs:read
Parameters
feature * | path · string | log kind, e.g. garage |
limit | query · integer | Rows per page (1-100) |
cursor | query · string | next_cursor of the previous page |
Answers
200OK
{
"data": [
{
"text": "Player parked a Rex",
"at": 1761955200
}
],
"next_cursor": null
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl "https://your-site.com/api/v1/logs/features/{feature}" \
-H "Authorization: Bearer $SEQUENCE_KEY"
Try it
GET/api/v1/logs/staff
Staff audit: who changed the staff list, newest first (7 days)
logs:read
Parameters
limit | query · integer | Rows per page (1-100) |
cursor | query · string | next_cursor of the previous page |
Answers
200OK
{
"data": [
{
"action": "add",
"by_name": "Owner",
"name": "Admin",
"at": 1761955200
}
],
"next_cursor": null
}
401Error
error | object | |
error.code | string | |
error.message | string | |
403Error
error | object | |
error.code | string | |
error.message | string | |
429Error
error | object | |
error.code | string | |
error.message | string | |
Code
curl "https://your-site.com/api/v1/logs/staff" \
-H "Authorization: Bearer $SEQUENCE_KEY"
Try it