Staff History
Get staff history
API Documentation
Ranking Key
Staff History
Workspace
Sessions
Orders
Staff History
Get staff history
GET
/
staff
/
history
curl --request GET \
--url https://api.readmin.app/staff/history \
--header 'loader-id: <api-key>'
{
"success": true,
"history": [
{
"_id": "<string>",
"groupId": "<string>",
"type": "promotion",
"userId": true,
"disciplinarianId": "<string>",
"reason": "<string>",
"created": "<string>",
"expires": "<string>",
"rankTo": "<string>",
"rankFrom": "<string>",
"ended": true,
"endedBy": "<string>",
"evidence": [
"<string>"
],
"pendingApproval": true,
"approvedBy": "<string>",
"notify": true,
"distribution": 123
}
]
}
Authorizations
Response
200
application/json
The request was successful, and the server has returned the requested resource in the response body.
A ReAdmin Staff Histoy Item
Available options:
promotion
, suspension
, termination
, writeup
curl --request GET \
--url https://api.readmin.app/staff/history \
--header 'loader-id: <api-key>'
{
"success": true,
"history": [
{
"_id": "<string>",
"groupId": "<string>",
"type": "promotion",
"userId": true,
"disciplinarianId": "<string>",
"reason": "<string>",
"created": "<string>",
"expires": "<string>",
"rankTo": "<string>",
"rankFrom": "<string>",
"ended": true,
"endedBy": "<string>",
"evidence": [
"<string>"
],
"pendingApproval": true,
"approvedBy": "<string>",
"notify": true,
"distribution": 123
}
]
}