extensions_by_categories
Creates, updates, deletes, gets or lists an extensions_by_categories resource.
Overview​
| Name | extensions_by_categories |
| Type | Resource |
| Id | ovh.domain.extensions_by_categories |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
geolocalization | array | Geolocalizations groups extensions by geographical place, like 'europe' |
thematic | array | Thematics groups extensions by a thematic like 'gastronomy' for '.pizza' |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | category_type | List extensions, grouped by category types (like 'thematic', 'geolocalization') and category names (like 'europe') |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}}) |
category_type | array | Filter by category types (wire: categoryType) |
SELECT examples​
- get
List extensions, grouped by category types (like 'thematic', 'geolocalization') and category names (like 'europe')
SELECT
geolocalization,
thematic
FROM ovh.domain.extensions_by_categories
WHERE category_type = '{{ category_type }}'
;