35 lines
1.6 KiB
Plaintext
35 lines
1.6 KiB
Plaintext
### Get Player Highscore [GET /ranking/{campaignId}]
|
|
|
|
List highscores for player statistics over all wars of a certain campaign.
|
|
Every highscore player object contains a field *sum*, representing its order number in the collection
|
|
|
|
+ Parameters
|
|
+ campaignId: `5abd55ea9e30a76bfef747d6` (string, required) - unique id of the campaign
|
|
|
|
+ Response 200
|
|
|
|
+ Attributes
|
|
+ kill (array[HighscorePlayer],required) - player highscore for kill
|
|
+ death (array[HighscorePlayer],required) - player highscore for death
|
|
+ friendlyFire (array[HighscorePlayer],required) - player highscore for friendly fire
|
|
+ vehicle (array[HighscorePlayer],required) - player highscore for vehicle
|
|
+ revive (array[HighscorePlayer],required) - player highscore for revive
|
|
+ respawn (array[HighscorePlayer],required) - player highscore for respawn
|
|
+ flagTouch (array[HighscorePlayer],required) - player highscore for flag captures
|
|
|
|
|
|
### Get Player Campaign Statistics [GET /single/{campaignId}/{playerId}]
|
|
|
|
Get statistics for a single player for all wars of a campaign he took part at
|
|
|
|
+ Parameters
|
|
+ campaignId: `5abd55ea9e30a76bfef747d6` (string, required) - unique id of the campaign
|
|
+ playerId: `5abf65ae3fc5fa349ffd5ca4` (string, required) - unique id of the player
|
|
|
|
+ Response 200
|
|
|
|
+ Attributes
|
|
+ name: `Pumarang` (string, required) - latest used playername
|
|
+ campaign (Campaign,required) - campaign reflected from request is
|
|
+ players (array[CampaignPlayer],required) - collection of player instances in the campaign
|