GET
/
server
/
logs
/
staff
/
{staffId}
Get staff logs
curl --request GET \
  --url https://api.melonly.xyz/api/v1/server/logs/staff/{staffId} \
  --header 'Authorization: <api-key>'
{
  "data": [
    {
      "completedBy": "<string>",
      "createdAt": 123,
      "createdBy": "<string>",
      "description": "<string>",
      "editedBy": [
        {}
      ],
      "expired": true,
      "expiredAt": 123,
      "expiredBy": "<string>",
      "hidden": true,
      "hiddenBy": "<string>",
      "id": "<string>",
      "proof": [
        {}
      ],
      "robloxId": "<string>",
      "serverId": "<string>",
      "tempBan": true,
      "text": "<string>",
      "type": 123,
      "typeId": "<string>",
      "unbanAt": 123,
      "username": "<string>"
    }
  ],
  "page": 1,
  "pageSize": 10,
  "total": 100,
  "totalPages": 10
}

Authorizations

Authorization
string
header
required

Type "Bearer" followed by a space and the API token.

Path Parameters

staffId
string
required

Staff ID

Query Parameters

page
integer
default:1

Page number

Required range: x >= 1
limit
integer
default:10

Items per page

Required range: 1 <= x <= 100

Response

200
application/json

successfully retrieved paginated staff logs

The response is of type object.