API:2/emblem/backgrounds

From Guild Wars 2 Wiki
< API:2‎ | emblem
Jump to: navigation, search

/v2/emblem/backgrounds

HTTP method
GET
Format
json
API version
version 2
Release date
2015-11-20
Scope
none
Optional
none

This resource returns image resources that are needed to render the background of guild emblems.

Response

If requested with no parameters, this endpoint will return a list of IDs. When given IDs to query for with the ids parameter, it will return an array of objects. Each object contains the following:

  • id (number) - The ID of the emblem part.
  • layers (array) - An array of URLs to images that make up the various parts of the emblem.

This endpoint is limited to 200 ids. Requesting more than 200 ids will return:

{"text":"id list too long; this endpoint is limited to 200 ids at once"}

Example

Request

https://api.guildwars2.com/v2/emblem/backgrounds?ids=1


Response

[
  {
    "id": 1,
    "layers": [
      "https://render.guildwars2.com/file/B1417CDCD8320A390AB5781909F59C0FE805047D/59597.png"
    ]
  }
]

See also