GET
/
server
/
shifts
/
{shiftId}
Get a specific shift
curl --request GET \
  --url https://api.melonly.xyz/api/v1/server/shifts/{shiftId} \
  --header 'Authorization: <api-key>'
{
  "autoEnd": true,
  "breakTimestamps": [
    {}
  ],
  "createdAt": 123,
  "endedAt": 123,
  "endedBy": "<string>",
  "id": "<string>",
  "memberId": "<string>",
  "serverId": "<string>",
  "type": "<string>",
  "wave": 123
}

Authorizations

Authorization
string
header
required

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

Path Parameters

shiftId
string
required

Shift ID

Response

200
application/json

successfully retrieved shift details

The response is of type object.