API:2/homestead/decorations/categories

From Guild Wars 2 Wiki
Jump to navigationJump to search

/v2/homestead/decorations/categories

HTTP method
GET
Format
json
API version
version 2
Release date
2024-08-23
Scope
none
Optional
none

This resource returns information about all categories for homestead decorations.

Endpoints

  • None - Request the list of all available homestead decoration categories ids when the root endpoint (v2/homestead/decorations/categories) has been accessed.
  • id - (Optional) Request the homestead decoration category for the specified id when accessing the endpoint (v2/homestead/decorations/categories/id). Cannot be used when specifying the ids parameter.

Parameters

  • lang – (Optional) Request localized content.
  • ids - (Optional; Comma Delimited List|all) Request an array of homestead decoration categories for the specified ids or all categories. Cannot be used when accessing the id endpoint.

Response

For each requested homestead decoration category id, an object with the following properties is returned:

  • id (number) - The category's ID.
  • name (string) – The category name.

Example

https://api.guildwars2.com/v2/homestead/decorations/categories/1

 {
   "id": 1,
   "name": "Architecture"
 }