2018-03-31 12:05:37 +02:00
|
|
|
### Get Campaign [GET /campaigns/{id}]
|
2018-03-29 23:22:37 +02:00
|
|
|
|
|
|
|
Get single campaign information
|
|
|
|
|
|
|
|
+ Parameters
|
|
|
|
+ id: `5abd55ea9e30a76bfef747d6` (string, required) - unique id of campaign
|
|
|
|
|
2018-04-01 15:12:24 +02:00
|
|
|
+ Response 200 (application/json; charset=utf-8)
|
2018-03-29 23:22:37 +02:00
|
|
|
|
|
|
|
+ Attributes (Campaign, fixed-type)
|
|
|
|
|
|
|
|
### Create Campaign [POST /campaigns]
|
|
|
|
|
|
|
|
Create a new campaign
|
|
|
|
|
2018-04-02 10:28:20 +02:00
|
|
|
**Permission: 3**
|
2018-04-01 16:32:44 +02:00
|
|
|
|
2018-03-29 23:22:37 +02:00
|
|
|
+ Request Create new army member (application/json)
|
|
|
|
|
|
|
|
+ Attributes
|
|
|
|
+ title: `Return To Kessel In A Schmelz` (string, required) - display name of the campaign
|
|
|
|
|
2018-04-01 15:12:24 +02:00
|
|
|
+ Response 201 (application/json; charset=utf-8)
|
2018-03-29 23:22:37 +02:00
|
|
|
|
|
|
|
+ Attributes (Campaign, fixed-type)
|
|
|
|
|
2018-04-28 11:55:58 +02:00
|
|
|
### Update Campaign [PUT /campaigns/{id}]
|
|
|
|
|
|
|
|
Update a campaign, identified by its id
|
|
|
|
|
|
|
|
**Permission: 3**
|
|
|
|
|
|
|
|
+ Parameters
|
|
|
|
+ id: `5abd58es9e30a76bfef347e4` (string, required) - unique id of campaign
|
|
|
|
|
|
|
|
+ Request (application/json)
|
|
|
|
|
|
|
|
+ Attributes
|
|
|
|
+ _id: `5abd58es9e30a76bfef347e4` (string, required) - unique id of campaign
|
|
|
|
+ title: `Operation Pandora` (string, optional) - display name of the campaign
|
|
|
|
|
|
|
|
+ Response 200 (application/json; charset=utf-8)
|
|
|
|
|
|
|
|
+ Attributes (Campaign, fixed-type)
|
|
|
|
|
2018-03-29 23:22:37 +02:00
|
|
|
### Delete Campaign [DELETE /campaigns/{id}]
|
|
|
|
|
|
|
|
Delete a campaign
|
|
|
|
|
2018-04-02 10:28:20 +02:00
|
|
|
**Permission: 3**
|
2018-04-01 16:32:44 +02:00
|
|
|
|
2018-03-29 23:22:37 +02:00
|
|
|
+ Parameters
|
|
|
|
+ id: `5abd58989e30a76bfef747e6` (string, required) - unique id of campaign
|
|
|
|
|
|
|
|
+ Response 204
|
|
|
|
|