Board Thread:Support Requests - Getting Technical/@comment-26296427-20151201022601/@comment-1757994-20151201034843

api.php?format=json&action=query&list=allpages&apprefix=Card/Data/&apnamespace=10&aplimit=500

One item that can be returned is. For example, on your wiki the first API request returns (in part): {"query-continue":{"allpages":{"apfrom":"Card\/Data\/1340"}}}

So a second API call would be api.php?format=json&action=query&list=allpages&apprefix=Card/Data/&apnamespace=10&aplimit=500&apfrom=Card/Data/1340 and keep going until there is no apfrom value returned.

You can also use allpages as a generator to provide a list of titles to another module (e.g. ). Be aware that some other modules cannot handle 500 titles at once, so you may need to decrease the aplimit value. Also, when used as a generator, module parameters are prefixed with a "g", so,  ,  , and.

For example api.php?format=json&action=query&prop=revisions&rvprop=content&generator=allpages&gapprefix=Card/Data/&gapnamespace=10&gaplimit=50 where  because   can only handle 50 titles at a time. In the generator case, the continue value is, passed back as (in part, after the first call) {"query-continue":{"allpages":{"gapfrom":"Card\/Data\/-54"}}}