opt-cc/api/apib/army-management/awardings.apib

26 lines
530 B
Plaintext
Raw Normal View History

2018-03-25 21:06:57 +02:00
### GET Awardings [GET /awardings{?userId,inProgress,fractFilter}]
2018-03-19 20:32:59 +01:00
List all awardings
+ Parameters
+ userId (string, optional)
2018-03-25 21:06:57 +02:00
specific army member Id to show the awardings for
2018-03-19 20:32:59 +01:00
2018-03-25 21:06:57 +02:00
+ inProgress (boolean, optional)
true to filter by awarding state 'in progress'
+ Default: false
+ fractFilter (enum[string], optional)
Field to filter by fraction
2018-03-19 20:32:59 +01:00
+ Members
2018-03-25 21:06:57 +02:00
+ `BLUFOR`
+ `OPFOR`
+ `GLOBAL`
2018-03-19 20:32:59 +01:00
+ Response 200
+ Attributes (array[Awarding])