API:2/skiffs

From Guild Wars 2 Wiki
Jump to navigationJump to search

/v2/skiffs

HTTP method
GET
Format
json
API version
version 2
Release date
2023-11-02
Scope
none
Optional
none

This resource returns all Skiff skins in the game.

Parameters

Optional parameters
  • lang – The language to query the names for.

Response

If the root endpoint (/v2/skiffs) is accessed without specifying an id, a list of all ids is returned. When multiple ids are requested using the ids parameter, a list of response objects is returned.

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

  • id – The id of the skiff skin.
  • name (string) – The name of the skiff skin.
  • icon (string) – The full icon URL
  • dye_slots (object) - An object containing information on the available dye slots and defaults
    • default (array of objects)
      • color_id (number) - The id of the default color, to be resolved against v2/colors
      • material (string) - The type of material. Either cloth, leather, metal


Example

https://api.guildwars2.com/v2/skiffs/413

 {
   "id": 413,
   "name": "Shing Jea Dragon Boat",
   "icon": "https://render.guildwars2.com/file/1055EEB4C9C4EEE1C8A23F08A7C6C303A01E14C0/2472117.png",
   "dye_slots": [
     {
       "color_id": 1153,
       "material": "metal"
     },
     {
       "color_id": 134,
       "material": "metal"
     },
     {
       "color_id": 1365,
       "material": "metal"
     },
     {
       "color_id": 90,
       "material": "metal"
     }
   ]
 },