Get all drones
Retrieves a pageable list of drones. Super Admin may filter by organizationId; other users always receive drones from their own organization. Optional search is for portal autocomplete; omitting it keeps the legacy paginated list (mobile-compatible). Sort supports Spring-style repeated params (e.g. sort=status,DESC&sort=id,DESC). When sorted by a non-unique field such as status, id DESC is appended as a tiebreaker so OFFSET pagination is stable.
Request
- Base URLhttp://localhost:8486
- AuthAPI key in header x-auth-token
Query parameters
Sort criteria. Prefer Spring-style repeated params, e.g. sort=status,DESC&sort=id,DESC. Each value is field (default DESC) or field,DIR. Repeated sort params are joined by the binder; a single value such as status,DESC,id,DESC is also accepted. Invalid formats fall back to id,DESC.
When the caller is Super Admin, limits results to this organization; ignored for self-org readers.
Optional. Filters by drone name or id. When omitted/blank, returns the legacy unfiltered page (mobile-compatible).
Response
Drones retrieved successfully
Example response
{
"size": 10,
"totalElements": 25,
"totalPages": 3,
"first": true
}Changes
No recorded changes to this operation across all 1 revision of this API.