Login

Get list of web query address redirections

HTTP method

GET

URL

https://api.zilore.com/dns/v1/domains/{domain_name}/web_forwarding

Request parameters

Parameter

Description

domain_name

Domain name. Must conform to the standard. Names of national domains must be passed in Punycode format.

Additional parameters

Parameter

Description

offset

Omission of the stated number of records in the response

limit

Limit on the number of records returned

order_by

Sort parameter, accepts values:

  • idn_source — Name of subdomain from which address redirection takes place
  • https — Protocol
  • idn_destination — Redirection address
  • code — Address redirection status code

order_param

Sort parameter, accepts values:

  • asc — alphabetical order (A-Z)
  • desc — reverse alphabetical order (Z-A)

Response fields

Parameter

Description

wf_address_id

Web redirection identifier.

status

Address redirection status:

  • enabled — address redirection on
  • disabled — address redirection off

https

Protocol:

  • 0 — http
  • 1 — https

code

Address redirection status code 301 or 302

source

Name of subdomain from which address redirection takes place

destination

Redirection address

Request example

GET https://api.zilore.com/dns/v1/domains/example.com/web_forwarding
X-Auth-Key: 6fac94db-691b-ec08-d22c-00000b7c06c0

Response example

{
"status": "ok",
"response": [{
"wf_address_id": "17",
"status": "enabled",
"source": "www.example.com",
"destination": "example1.com",
"https": "0",
"code": "301"
}, {
"wf_address_id": "19",
"status": "enabled",
"source": "a.example.com",
"destination": "b.example2.com",
"https": "0",
"code": "301"
}]
}