Return redirect information

This function retrieves redirect information for a URL or ** All Public Domains **.

Important:

When you disable the Web Server role, the system disables this function.

SecurityBasicAuth
Request
query Parameters
domain
required
string <domain>

The domain for which to retrieve redirector information.

Example: domain=example.com
url
required
string <url>

The URL for which to retrieve redirector information.

Example: url=http://redirect.example.com
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/Mime/redirect_info
Request samples
uapi --output=jsonpretty \
  --user=username \
  Mime \
  redirect_info \
  url='http://redirect.example.com' \
  domain='example.com'
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "redirect_info",
  • "module": "Mime",
  • "result": {
    • "data": {},
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}