API:2/homestead/decorations/categories
From Guild Wars 2 Wiki
< API:2 | homestead | decorations
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
idswhen the root endpoint (v2/homestead/decorations/categories) has been accessed. id- (Optional) Request the homestead decoration category for the specifiedidwhen accessing the endpoint (v2/homestead/decorations/categories/id). Cannot be used when specifying theidsparameter.
Parameters
lang– (Optional) Request localized content.ids- (Optional; Comma Delimited List|all) Request an array of homestead decoration categories for the specifiedidsor all categories. Cannot be used when accessing theidendpoint.
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"
}