latestOpenAPI 3.0.0MIT2026-08-086425724.3 KB

921b385ab6b9

service-unit

Get a list of service units with paging and filtering

By default, this operation returns the units in which the consumer has an active membership. To control this behavior, use the only_mine query parameter.

get/service-unit

Query parameters

namestring
Example:4th Infantry

Search by unit name. A trailing wildcard is used in search to "complete" the entered value.

branchstring
Example:air-force

Filter by branch slug.

only_mineboolean

If false, return all units instead of only the ones in which the consumer has an active membership.

pageinteger

Page number of results

limitinteger

Limit of results per page

Response

An array of ServiceUnit objects