Redirect Instance
API endpoint that allows redirects to be viewed and edited.
Filter fields
You can filter the result set by providing the following query parameters:
source
-- Filter by source slug. Supports the standard lookup typesdestination
-- Filter by destination page. Allows for chained filtering on all of the filters available on the page resource, e.g.destination__slug
.region
-- Filter by region. Allows for chained filtering on all of the filters available on the region resource, e.g.region__slug
.
Ordering
You can order the result set by providing the ordering
query parameter with the value of one of:
source
You can reverse ordering by using the -
sign, e.g. -source
.
GET /api/v4/redirects/53/
https://zh.localwiki.org/api/v4/redirects/53/", "source": "chesterfield", "destination": "https://zh.localwiki.org/api/v4/pages/1996/", "region": "https://zh.localwiki.org/api/v4/regions/4/" }{ "url": "