opt-cc/server/apib/data_structures/_campaign.apib

20 lines
708 B
Plaintext
Raw Normal View History

2018-03-29 23:22:37 +02:00
# Campaign (object)
2018-03-29 23:22:37 +02:00
Campaign entity
## Properties
+ _id:`5abd55ea9e30a76bfef747d6` (string, required) - unique id of the campaign
+ title: `Ein Kessel Buntes` (string, required) - display title of the campaign
+ timestamp: `2017-05-17T19:44:28.751Z` (string, required) - creation date
+ updatedAt: `"2017-05-17T19:44:28.751Z` (string, required) - version date
+ __v: 0 (number, required) - version number
2018-04-01 15:12:24 +02:00
#WarCampaign (object)
2018-04-01 15:12:24 +02:00
Cmpaign entity with attached War collection
2018-04-01 15:12:24 +02:00
## Properties
+ _id: `5abd55ea9e30a76bfef747d6` (string, required) - unique id of the campaign
+ title: `Ein Kessel Buntes` (string, required) - display title of the campaign
+ wars: WarWithPlayers (array[WarWithPlayers], required)