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

25 lines
592 B
Plaintext
Raw Normal View History

2018-03-25 21:06:57 +02:00
### GET Promotions [GET /promotion{?squadId,inProgress,fractFilter}]
List all promotion requests
+ Parameters
2018-03-29 22:14:04 +02:00
+ squadId: `591470249e9fae286e008e31` (string, optional)
2018-03-25 21:06:57 +02:00
specific squad Id to show the promotion requests for
2018-03-29 22:14:04 +02:00
+ inProgress: false (boolean, optional)
2018-03-25 21:06:57 +02:00
true to filter by promotion state 'in progress'
+ Default: false
2018-03-29 22:14:04 +02:00
+ fractFilter: `BLUFOR` (enum[string], optional)
2018-03-25 21:06:57 +02:00
Field to filter by fraction
+ Members
+ `BLUFOR`
+ `OPFOR`
+ `GLOBAL`
+ Response 200
+ Attributes (array[Promotion])