API:2/emblem/foregrounds
From Guild Wars 2 Wiki
Jump to navigationJump to search
/v2/emblem/foregrounds
- 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 foreground 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/foregrounds?ids=1
Response
[ { "id": 1, "layers": [ "https://render.guildwars2.com/file/F90A286E11257C357965269863F636CCF8D11EDB/59641.png", "https://render.guildwars2.com/file/E4EA93330BF9EF03917EDF0CBE616411F5383D7F/59643.png", "https://render.guildwars2.com/file/A7E731CF0BFF5EB890C3CA2F0F019901261C4755/59645.png" ] } ]