API:2/emotes

From Guild Wars 2 Wiki
Jump to: navigation, search

/v2/emotes

HTTP method
GET
Format
json
API version
version 2
Release date
2019-09-23
Scope
none
Optional
none

This resource returns information about unlockable emotes.

Parameters

  • ids - (Optional; Comma Delimited List|all) Request an array of emotes for the specified ids or all emotes. Cannot be used when accessing the id endpoint.

Response

For each requested emote id, an object with the following properties is returned:

  • id (string) - The id of the emote.
  • commands (array of strings) - List of ids of available commands for the emote.
  • unlock_items (array of integers) - List of ids of the items resolvable against v2/items.

Example

https://api.guildwars2.com/v2/emotes

[
  "geargrind",
  "rockout",
  "shuffle",
  "step"
]


https://api.guildwars2.com/v2/emotes/rockout

{
  "commands": [
    "/rockout",
    "/hardrock",
    "/Abrocken",
    "/rockear"
  ],
  "id": "rockout",
  "unlock_items": [
    91956
  ]
}

https://api.guildwars2.com/v2/emotes?ids=all

[
  {
    "commands": [
      "/geargrind",
      "/coureur",
      "/Endlos",
      "/corredor"
    ],
    "id": "geargrind",
    "unlock_items": [
      20312
    ]
  },
  {
    "commands": [
      "/rockout",
      "/hardrock",
      "/Abrocken",
      "/rockear"
    ],
    "id": "rockout",
    "unlock_items": [
      91956
    ]
  },
  {
    "commands": [
      "/shuffle",
      "/mezclador"
    ],
    "id": "shuffle",
    "unlock_items": [
      20312
    ]
  },
  {
    "commands": [
      "/step",
      "/esquive",
      "/Schritt",
      "/paso"
    ],
    "id": "step",
    "unlock_items": [
      20312
    ]
  }
]