Error
A valid request URL is required to generate request examples{
"success": true,
"data": [
{
"id": 123,
"player": "<string>",
"staff": "<string>",
"reason": "<string>",
"issuedAt": "2023-11-07T05:31:56Z",
"expiresAt": "2023-11-07T05:31:56Z",
"permanent": true,
"expired": true,
"removedBy": "<string>"
}
],
"message": "<string>",
"meta": {
"pagination": {
"page": 123,
"perPage": 123,
"total": 123,
"lastPage": 123
},
"seo": {
"page": "<string>",
"title": "<string>",
"description": "<string>",
"image": "<string>"
},
"available": true
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "..."
}
}Punishments
List punishments
20 per page. With search (exact player name) up to 50 results of that player are returned without pagination.
GET
/
punishments
/
{type}
Error
A valid request URL is required to generate request examples{
"success": true,
"data": [
{
"id": 123,
"player": "<string>",
"staff": "<string>",
"reason": "<string>",
"issuedAt": "2023-11-07T05:31:56Z",
"expiresAt": "2023-11-07T05:31:56Z",
"permanent": true,
"expired": true,
"removedBy": "<string>"
}
],
"message": "<string>",
"meta": {
"pagination": {
"page": 123,
"perPage": 123,
"total": 123,
"lastPage": 123
},
"seo": {
"page": "<string>",
"title": "<string>",
"description": "<string>",
"image": "<string>"
},
"available": true
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "..."
}
}