API:2/guild/:id/upgrades

From Guild Wars 2 Wiki
< API:2‎ | guild‎ | :id
Jump to navigationJump to search

/v2/guild/:id/upgrades

HTTP method
GET
Format
json
API version
version 2
Release date
2016-01-23
Scope
account
guilds
Optional
none

This resource returns information about the guild's upgrades. The endpoint requires the scope guilds, and will only work if the API key is from the guild leader's account.

Response

The endpoint must be requested with :id replaced with a valid guild ID. The endpoint will return an array of numbers resolved against /v2/guild/upgrades.

Example

https://api.guildwars2.com/v2/guild/4BBB52AA-D768-4FC6-8EDE-C299F2822F0F/upgrades
[
 12,
 34,
 56
]