GET
/api/v1/server/cad/units
Request
Response
200
Success
Authorization
AuthorizationstringrequiredYour API token as
Bearer YOUR_TOKEN. Create one in your server's dashboard settings.Query parameters
pageintegerdefault: 11-based page number. Defaults to 1.
pageSizeintegerdefault: 10Items per page, clamped to 1-100. Defaults to 10.
orderBystringField to sort by. See the endpoint description for the accepted values.
sortstringSort direction. Defaults to
desc.Allowed values:
ascdescResponse
200 Success. Results are paged and also include page, pageSize, total and totalPages.
agencystringrequiredAgency.
idintegerrequiredUnit ID.
itemsobjectrequiredEquipment carried.
locobjectrequiredMap position.
numberstringrequiredUnit number, such as
1A-12.panicbooleanrequiredWhether panic is active.
serverIdstringrequiredServer ID.
statusintegerrequiredStatus code.
userIdstringrequiredMelonly user ID of who's on the unit.
customStatusIdstring | nullCustom status, when one is set.
locationstring | nullLocation text.
namestring | nullCallsign name.
rankstring | nullRank.
subdivisionstring | nullSubdivision.
Errors
| Status | Meaning |
|---|---|
400 | Invalid request. validation_failed lists each invalid field in details.fields. |
401 | Missing, invalid or expired token |
404 | CAD is not set up |
429 | Rate limited. See Retry-After and details. |
500 | Internal server error |