Staff
Retrieve Logbook
API Documentation
Activity
- In-Game Tracking
- Users
- Sessions
- GETRetrieve Leaderboard
Order Logging
Staff
Workspace
- GETRetrieve a Workspace
- POSTUpdate a Workspace
- GETList Games
- POSTCreate Game
- DELDelete a Game
- GETList Roles
- POSTCreate a Role
- PUTUpdate Role
- DELDelete a Role
- GETList logbook templates
- GETRetrieve Logbook Template
- POSTCreate a Logbook Template
- PATCHUpdate a Logbook Template
- DELDelete a Logbook Template
- GETRetrieve GApps Config
- POSTSet GApps Service Account
- PATCHUpdate GApps Config
- DELDelete GApps Config
- GETGet Trello Config
- GETGet Trello boards
- POSTSet Trello board
- POSTSet Trello format
- DELDisconnect Trello board
- DELDelete Trello Config
- GETRetrieve Schedules
- POSTCreate a Schedule
- POSTUpdate a Schedule
Trello Integration
Bans (Invite Only)
Connections
Staff
Retrieve Logbook
Retrieve a staff member’s logbook history.
GET
/
staff
/
logbook
/
{workspaceId}
/
{staffId}
curl --request GET \
--url https://api.hyra.io/staff/logbook/{workspaceId}/{staffId} \
--header 'Authorization: Bearer <token>'
[
{
"_id": "<string>",
"author": "<string>",
"workspace": "<string>",
"staff_id": "<string>",
"type": "<string>",
"message": "<string>",
"files": [
"<string>"
],
"videos": [
"<string>"
],
"expired": true,
"expiration": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"from_trello": true,
"unfurls": [
{
"url": "<string>",
"title": "<string>",
"description": "<string>",
"image": "<string>",
"stream": "<string>"
}
]
}
]
Image links from this endpoint are only valid for 1 hour
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200 - application/json
Default Response
The response is of type object[]
.
curl --request GET \
--url https://api.hyra.io/staff/logbook/{workspaceId}/{staffId} \
--header 'Authorization: Bearer <token>'
[
{
"_id": "<string>",
"author": "<string>",
"workspace": "<string>",
"staff_id": "<string>",
"type": "<string>",
"message": "<string>",
"files": [
"<string>"
],
"videos": [
"<string>"
],
"expired": true,
"expiration": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"from_trello": true,
"unfurls": [
{
"url": "<string>",
"title": "<string>",
"description": "<string>",
"image": "<string>",
"stream": "<string>"
}
]
}
]