Interface: ApiQueryResponse
Defined in: core/query/index.ts:570
Response of action=query. query widens as modules get covered.
Extends
Properties
batchcomplete?
optionalbatchcomplete?:true
Defined in: envelope/index.ts:178
Present and true when all data for the current batch of pages has been
returned. Continuation may still be ongoing: the generator runs again for
the next batch of pages, and list/meta modules may continue independently.
Serialized as a real boolean under formatversion=2.
Inherited from
continue?
optionalcontinue?:ApiQueryContinue
Defined in: core/query/index.ts:576
Cursors to merge into the next request to fetch the following batch, absent
once every requested module is exhausted. The keys present depend on which
prop=/list=/meta=/generator= modules were requested.
curtimestamp?
optionalcurtimestamp?:string
Defined in: envelope/index.ts:187
Current server time (ISO 8601), present when the request set curtimestamp.
Inherited from
errorlang?
optionalerrorlang?:string
Defined in: envelope/index.ts:199
Language error messages are rendered in (responselanginfo=1).
Inherited from
limits?
optionallimits?:Record<string,number>
Defined in: core/query/index.ts:582
Effective limits per module, keyed by module name (e.g. { categories: 500 }).
query
query:
ApiQueryResult
Defined in: core/query/index.ts:579
Output of the requested prop=/list=/meta= modules.
query-continue?
optionalquery-continue?:Record<string,Record<string,string|number>>
Defined in: core/query/index.ts:590
Legacy continuation cursors, keyed by module and then by parameter name,
emitted at the root level (not under query) when the request sets
rawcontinue=1. It replaces continue / batchcomplete, which are not
emitted in that mode; query-noncontinue may appear alongside it.
query-noncontinue?
optionalquery-noncontinue?:Record<string,Record<string,string|number>>
Defined in: core/query/index.ts:597
Parameters carried over from the previous batch that are not continuation
cursors, keyed by module and then by parameter name (rawcontinue=1).
Array values are joined with | before serialization.
requestid?
optionalrequestid?:string
Defined in: envelope/index.ts:190
Opaque value echoed back from the request's requestid parameter.
Inherited from
servedby?
optionalservedby?:string
Defined in: envelope/index.ts:184
Identifier of the server that handled the request. Present by default on error responses; on successful responses only when explicitly requested.
Inherited from
uselang?
optionaluselang?:string
Defined in: envelope/index.ts:196
Language of the interface strings in the response (responselanginfo=1).
Inherited from
warnings?
optionalwarnings?:ApiWarnings
Defined in: envelope/index.ts:193
Non-fatal warnings; shape depends on errorformat (see ApiWarnings).
Inherited from
watchlistraw?
optionalwatchlistraw?:ApiWatchlistRawEntry[]
Defined in: core/query/watchlistraw.ts:35
Raw watchlist titles (list=watchlistraw) — a root-level key.