API:Allredirects

GET request to list all redirects. All filters available with this API affect the redirect targets and not the redirect sources.

This module can be used as a. When used as a generator, the titles used for the generator are from the redirect sources instead of the redirect targets, unless the parameter is used.

API documentation
The,  and  input parameters filter by the target redirect title without namespace. A namespace must not be added to those parameters, otherwise the API returns an error. This means those parameters effectively filter titles in the main namespace, unless a different namespace is selected by the parameter, which would affect titles in that namespace.

Response
Both the title and namespace returned refer to the redirect target and not the redirect itself.

Additional notes

 * Namespaces and their numbers can be obtained at.