API:1/wvw/match_details
From Guild Wars 2 Wiki
Jump to navigationJump to search
/v1/wvw/match_details.json
- HTTP method
- GET
- Format
- json
- API version
- version 1
- Release date
- ?
- Scope
- none
- Optional
- none
This resource returns further details about the specified match, including the total score and further details for each map.
Parameters
- Required parameters
match_id– The WvW match to query for.
Response
The response is an object with the following properties:
match_id(string) – The WvW match id.scores(list) – A list of the three total scores (order: red, blue, green).maps(list) – A list of objects containing detailed information about each of the four maps.
The map detail objects contain the following properties:
type(string) – The identifier for the map. Can be eitherRedHome,GreenHomeorBlueHomefor the borderlands orCenterfor Eternal Battlegrounds.scores(list) – A list of the three individual scores for this map (order: red, blue, green).objectives(list) – A list of objective objects for this map. Each object contains the following properties:id(number) – The objective id.owner(string) – The current owner of the objective. Can be any one ofRed,Green,BlueorNeutral.owner_guild(string) – The guild id of the guild currently claiming the objective. This property is missing if the objective is not claimed.
bonuses(list) – A list of all bonuses being granted by this map. If no player team owns a bonus from the map, this list is empty. See below for examples.type(string) – A shorthand name for the bonus.owner(string) – The current owner of the bonus. Can be any one ofRed,Green, orBlue. Neutral-owned bonuses are not listed.
Example
https://api.guildwars2.com/v1/wvw/match_details.json?match_id=1-4
{
"match_id": "1-4",
"scores": [ 155502, 137176, 189824 ],
"maps": [
{
"type": "RedHome",
"scores": [ 80148, 7022, 18582 ],
"objectives": [
{ "id": 32, "owner": "Red", "owner_guild": "277CCE76-6254-4CF2-8A2D-15A30B7110BD" },
{ "id": 35, "owner": "Green" },
...
],
"bonuses": [
{ "type": "bloodlust", "owner": "Blue" }
]
},
{
"type": "GreenHome",
"scores": [ 13285, 7465, 82817 ],
"objectives": [
...
],
"bonuses": [
{ "type": "bloodlust", "owner": "Green" }
]
},
{
"type": "BlueHome",
"scores": [ 18592, 54837, 29013 ],
"objectives": [
...
],
"bonuses": [
]
},
{
"type": "Center",
"scores": [ 43477, 67852, 59412 ],
"objectives": [
...
],
"bonuses": [
]
}
]
}
Bonuses List Details
Any of the following may appear as the type for a given object in the bonuses list.
bloodlust: Borderlands Bloodlust