Help Center
Login Sign up
  1. Home
  2. API reference
  3. API documentation (JSON/XML)
  4. Tasks
  5. Redirect tasks

Redirect list

API reference (XML/JSON) · Updated 2023-09-18

Function

The task RedirectList inquires a list of the current redirects.

You can find more information about list queries here. 

Description

Route: POST /redirect/_search

Query parameters

The data of the following keywords can be queried with the query parameter ?keys[]=:

  • created
  • domain
  • mode
  • source
  • target.
  • title
  • type
  • updated
{
    "filters": [{
        "key": "source",
        "value": "example*",
        "operator": "LIKE",
        "link": "AND",
        "filters": []
    }],
    "view": {
        "limit": 10,
        "offset": 0,
        "children": true,
        "from": "2019-03-01T14:00:00.6306444Z",
        "to": "2019-05-10T10:00:00.6306444Z"
    }
}
{
    "stid": "20190701-app2-dev-15314",
    "status": {
        "code": "S0504",
        "text": "Redirect data was inquired successfully.",
        "type": "SUCCESS"
    },
    "object": {
        "type": "Redirect",
        "summary": 1
    },
    "data": [ 
        {
            "created": "2014-10-24T09:43:47.000+0200",
            "updated": "2017-11-17T17:35:21.000+0100",
            "source": "example.com",
            "target": "example-target.com",
            "type": "DOMAIN",
            "mode": "FRAME",
            "domain": "example.com"
        }
    ]
}