API:2/account/buildstorage

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

/v2/account/buildstorage

HTTP method
GET
Format
json
API version
version 2
Release date
?
Scope
account
Optional
none

This resource returns the templates stored in a player's build storage. This endpoint is only accessible with a valid API key.

Endpoints

  • None - Requests a list of all build storage template id's when the root endpoint (v2/account/buildstorage) has been accessed.
  • id - (Optional) Request information about the specified template only.

Parameters

  • access_token (optional) – Can be used to specify an API key for the request if it is not given in the request header.
  • ids (optional) – A comma separated list of templates of which to request the contents or all. Cannot be used when using the id endpoint.

Response

The endpoint returns an array of objects, each representing a template slot in the build storage. The amount of templates is implied by the length of the array.

Each object contains the following:

  • name (string)
  • profession (string)
  • specializations (array of 3 objects)
    • id (number)
    • traits (array of 3 numbers) – The trait IDs
  • skills (number, optional)
    • heal (number)
    • utilities (array of 3 numbers) – The skill IDs
    • elite (number)
  • aquatic_skills (array, optional) – An array of item IDs for each rune or signet applied to the item.
    • heal (number)
    • utilities (array of 3 numbers) – The skill IDs
    • elite (number)
  • legends (array of 2 numbers, optional) – An array of legend.
  • aquatic_legends (array of 2 numbers, optional) – An array of legend.

Example

Request

https://api.guildwars2.com/v2/account/buildstorage
Authorization: Bearer <API key>

Response