cURL
curl --request GET \ --url https://api.melonly.xyz/api/v1/server/shifts \ --header 'Authorization: <api-key>'
{ "data": [ { "autoEnd": true, "breakTimestamps": [ {} ], "createdAt": 123, "endedAt": 123, "endedBy": "<string>", "id": "<string>", "memberId": "<string>", "serverId": "<string>", "type": "<string>", "wave": 123 } ], "page": 1, "pageSize": 10, "total": 100, "totalPages": 10 }
Get paginated list of shifts for a server. Requires authentication.
Type "Bearer" followed by a space and the API token.
Page number
x >= 1
Items per page
1 <= x <= 100
successfully retrieved paginated shifts
The response is of type object.
object