API:2/mounts/skins

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

/v2/mounts/skins

HTTP method
GET
Format
json
API version
version 2
Release date
2018-11-13
Scope
none
Optional
none

This resource returns information about mount skins that are available in-game.

Endpoints

  • None - Request the list of all available mount skin ids when the root endpoint (v2/mounts/skins) has been accessed.
  • id - (Optional) Request the mount skin for the specified id when accessing the endpoint (v2/mounts/skins/id). Cannot be used when specifying the ids parameter.

Parameters

  • lang – (Optional) Request localized information.
  • page - (Optional; integer)
  • page_size - (Optional; integer)
  • ids - (Optional; Comma Delimited List|all) Request an array of mount skins for the specified ids or all mounts. Cannot be used when accessing the id endpoint.

Response

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

  • id (string) (default/null value: "") - The id of the mount skin.
  • name (string) (default/null value: "") - The name of the mount as it appears in-game.
  • icon (string) – The full icon URL.
  • mount (string) - The mount type id for the given mount skin. Can be resolved against v2/mounts/types
  • dye_slots (array of objects) (default to an empty array) - Each object contains a key-value pair for the color (dye) id and material. Can be resolved against v2/colors

Example

https://api.guildwars2.com/v2/mounts/skins

 [
   1,
   2,
   3,
   4,
   6,
   13,
   14,
   15,
   16,
   17,
   19,
   20,
   21,
   22,
   23,
   24,
   25,
   26,
   27,
   28,
   29,
   30,
   31,
   32,
   33,
   34,
   35,
   36,
   37,
   38,
   39,
   40,
   41,
   42,
   43,
   44,
   45,
   46,
   47,
   48,
   49,
   50,
   52,
   53,
   56,
   57,
   58,
   60,
   61,
   62,
   66,
   68,
   70,
   75,
   76,
   77,
   78,
   79,
   80,
   81,
   82,
   83,
   84,
   85,
   86,
   87,
   88,
   89,
   90,
   91,
   92,
   93,
   94,
   95,
   96,
   97,
   98,
   99,
   100,
   101,
   102,
   103,
   104,
   118
 ]

https://api.guildwars2.com/v2/mounts/skins?ids=1,2,22

 [
   {
     "id": 1,
     "name": "Raptor",
     "icon": "https://render.guildwars2.com/file/2F4AAA52F573C5425BFCD7525FB70C9E6DCAD791/1766903.png",
     "mount": "raptor",
     "dye_slots": [
       {
         "color_id": 19,
         "material": "leather"
       }
     ]
   },
   {
     "id": 2,
     "name": "Skimmer",
     "icon": "https://render.guildwars2.com/file/BD357CB6A25EEFA961B974B6E980DFB0A396A5A4/1766901.png",
     "mount": "skimmer",
     "dye_slots": [
       {
         "color_id": 590,
         "material": "leather"
       }
     ]
   },
   {
     "id": 22,
     "name": "Polished Stone",
     "icon": "https://render.guildwars2.com/file/684AF0124E52E43F60F7AB5E9CB41F72E5517B30/1876747.png",
     "mount": "jackal",
     "dye_slots": [
       {
         "color_id": 381,
         "material": "metal"
       },
       {
         "color_id": 642,
         "material": "leather"
       },
       {
         "color_id": 86,
         "material": "leather"
       },
       {
         "color_id": 625,
         "material": "metal"
       }
     ]
   }
 ]