43 lines
872 B
Plaintext
43 lines
872 B
Plaintext
### GET Users [GET /users{?q,fractFilter,limit,offset}]
|
|
|
|
Get single army member information
|
|
|
|
+ Parameters
|
|
+ q: `hardi` (string, optional) - filter string which filters for partial username
|
|
|
|
+ fractFilter (enum[string], optional)
|
|
Field to filter by fraction
|
|
|
|
+ Members
|
|
+ `BLUFOR`
|
|
+ `OPFOR`
|
|
+ `GLOBAL`
|
|
|
|
+ limit: 20 (number, optional)
|
|
Maximum number of users to return
|
|
|
|
+ offset (number, optional)
|
|
Offset into result-set (useful for pagination)
|
|
|
|
+ Default: 0
|
|
|
|
+ Response 200
|
|
|
|
+ Headers
|
|
|
|
X-Total-Count: 1
|
|
|
|
+ Attributes (array[User], fixed-type)
|
|
|
|
|
|
### GET User [GET /users/{id}]
|
|
|
|
Get single army member information
|
|
|
|
+ Parameters
|
|
+ id: `5ab68d42f547ed304064e5f7` (string, required) - unique id of army-member
|
|
|
|
+ Response 200
|
|
|
|
+ Attributes (User, fixed-type)
|