Skip to main content

extensions_by_categories

Creates, updates, deletes, gets or lists an extensions_by_categories resource.

Overview​

Nameextensions_by_categories
TypeResource
Idovh.domain.extensions_by_categories

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
geolocalizationarrayGeolocalizations groups extensions by geographical place, like 'europe'
thematicarrayThematics groups extensions by a thematic like 'gastronomy' for '.pizza'

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectcategory_typeList 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.

NameDatatypeDescription
api_hoststringThe 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_typearrayFilter by category types (wire: categoryType)

SELECT examples​

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 }}'
;