curl --request GET \
--url https://api.perscom.io/{version}/roster/{roster} \
--header 'Authorization: Bearer <token>'{
"data": {
"name": "<string>",
"description": "<string>",
"order": 123,
"hidden": false,
"icon": "<string>",
"image": {
"name": "<string>",
"description": "<string>",
"filename": "<string>",
"path": "<string>",
"image_url": "<string>"
},
"units": [
{
"name": "<string>",
"description": "<string>",
"order": 123,
"hidden": false,
"icon": "<string>",
"image": {
"name": "<string>",
"description": "<string>",
"filename": "<string>",
"path": "<string>",
"image_url": "<string>"
},
"users": [
{
"name": "<string>",
"email": "<string>",
"email_verified_at": "2023-11-07T05:31:56Z",
"phone_number": "<string>",
"position_id": 123,
"rank_id": 123,
"specialty_id": 123,
"status_id": 123,
"unit_id": 123,
"approved": true,
"online": true,
"notes": "<string>",
"notes_updated_at": "2023-11-07T05:31:56Z",
"profile_photo": "<string>",
"profile_photo_url": "<string>",
"cover_photo": "<string>",
"cover_photo_url": "<string>",
"discord_user_id": "<string>",
"timezone": "<string>",
"last_seen_at": "2023-11-07T05:31:56Z",
"last_assignment_change_date": "2023-11-07T05:31:56Z",
"last_rank_change_date": "2023-11-07T05:31:56Z"
}
]
}
],
"id": 123
}
}curl --request GET \
--url https://api.perscom.io/{version}/roster/{roster} \
--header 'Authorization: Bearer <token>'{
"data": {
"name": "<string>",
"description": "<string>",
"order": 123,
"hidden": false,
"icon": "<string>",
"image": {
"name": "<string>",
"description": "<string>",
"filename": "<string>",
"path": "<string>",
"image_url": "<string>"
},
"units": [
{
"name": "<string>",
"description": "<string>",
"order": 123,
"hidden": false,
"icon": "<string>",
"image": {
"name": "<string>",
"description": "<string>",
"filename": "<string>",
"path": "<string>",
"image_url": "<string>"
},
"users": [
{
"name": "<string>",
"email": "<string>",
"email_verified_at": "2023-11-07T05:31:56Z",
"phone_number": "<string>",
"position_id": 123,
"rank_id": 123,
"specialty_id": 123,
"status_id": 123,
"unit_id": 123,
"approved": true,
"online": true,
"notes": "<string>",
"notes_updated_at": "2023-11-07T05:31:56Z",
"profile_photo": "<string>",
"profile_photo_url": "<string>",
"cover_photo": "<string>",
"cover_photo_url": "<string>",
"discord_user_id": "<string>",
"timezone": "<string>",
"last_seen_at": "2023-11-07T05:31:56Z",
"last_assignment_change_date": "2023-11-07T05:31:56Z",
"last_rank_change_date": "2023-11-07T05:31:56Z"
}
]
}
],
"id": 123
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The API version to use.
v1, v2 image, units, units.image, units.users, units.users.position, units.users.rank, units.users.rank.image, units.users.specialty, units.users.status, units.* OK
Show child attributes
Supports HTML.
Will be auto-calculated if nothing is provided.
A valid Heroicon.
Show child attributes
The name of the image.
255A description of the image. Supports HTML.
65535The original filename of the uploaded image.
255The storage path of the uploaded image.
255The URL to access the image.
Show child attributes
Supports HTML.
Will be auto-calculated if nothing is provided.
A valid Heroicon.
Show child attributes
The name of the image.
255A description of the image. Supports HTML.
65535The original filename of the uploaded image.
255The storage path of the uploaded image.
255The URL to access the image.
Show child attributes
Supports HTML.
Was this page helpful?