Skip to main content

summaries

Creates, updates, deletes, gets or lists a summaries resource.

Overview​

Namesummaries
TypeResource
Idovh.email_domain.summaries

Fields​

The following fields are returned by SELECT queries:

successful operation

NameDatatypeDescription
accountintegerNumber of mailboxes
mailing_listintegerNumber of mailing lists (wire: mailingList)
redirectionintegerNumber of redirections
responderintegerNumber of responders

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectdomainGet the summary. Returns the number of email accounts, mailing lists, redirections and responders of the email domain.

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"}})
domainstringName of your domain name

SELECT examples​

Get the summary. Returns the number of email accounts, mailing lists, redirections and responders of the email domain.

SELECT
account,
mailing_list,
redirection,
responder
FROM ovh.email_domain.summaries
WHERE domain = '{{ domain }}' -- required
;