v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13114857.3 KB
attributes

Returns the list of attributes that would be available for a location with the given primary category and country.

get/v1/attributes

Query parameters

categoryNamestring

The primary category stable ID to find available attributes. Must be of the format categories/{category_id}.

languageCodestring

The BCP 47 code of language to get attribute display names in. If this language is not available, they will be provided in English.

pageSizeinteger

How many attributes to include per page. Default is 200, minimum is 1.

pageTokenstring

If specified, the next page of attribute metadata is retrieved.

parentstring

Resource name of the location to look up available attributes. If this field is set, category_name, region_code, language_code and show_all are not required and must not be set.

regionCodestring

The ISO 3166-1 alpha-2 country code to find available attributes.

showAllboolean

Metadata for all available attributes are returned when this field is set to true, disregarding parent and category_name fields. language_code and region_code are required when show_all is set to true.

Response

Successful response