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

32 lines
676 B
Plaintext
Raw Normal View History

2018-03-19 20:32:59 +01:00
### GET Decorations [GET /decorations{?q,fractFilter}]
List all decorations
+ Parameters
2018-03-29 22:14:04 +02:00
+ q: `tapferkeit` (string, optional)
2018-03-19 20:32:59 +01:00
Filter string for the partial decoration name
2018-03-29 22:14:04 +02:00
+ fractFilter: `BLUFOR` (enum[string], optional)
2018-03-19 20:32:59 +01:00
Field to filter by fraction
+ Members
+ `BLUFOR`
+ `OPFOR`
+ `GLOBAL`
+ Response 200
2018-03-29 22:14:04 +02:00
+ Attributes (array[Decoration], fixed-type)
### GET Decoration [GET /decorations/{id}]
Retrieve single decoration data
+ Parameters
+ id: `5abd3dff6e6a0334d95b8ba0` (string, required) - unique id of the decoration to fetch
+ Response 200
+ Attributes (Decoration, fixed-type)