Function   /domain/redirect/get

Function invocation

https://json.aftermarket.pl/domain/redirect/get

Function description

Returns domain redirection settings.

Input parameters

This function takes the following input parameters:

ParameterTypeRequiredDefault valueDescription
domain string "" Domain name (deprecated, please use 'name' parameter)
name string YES Domain name

Return value

Redirection settings (list of structures with the following fields):

Field nameTypeDescription
name string Domain name (in Punycode)
nameIDN string Domain name (internationalized)
utfname string Domain name (internationalized) (deprecated, domain name is given in 'nameIDN' field)
subdomain string Potential subdomain (deprecated and unused)
type string Redirect type (one of none, direct, indirect, ip)
url string Redirect url