Schema:APIRequest

Revision 12548336
description"Logs a request to the MediaWiki 'action' API on the server-side."
properties
action
type"string"
description"The 'action' parameter from the request if set. (e.g. 'query', 'edit', etc.)"
globalId
type"integer"
description"Global (centralauth) ID of the user performing the request (zero for logged-out users). Note that in the case of OAuth requests, this global_id should correspond to the user who authorized the request -- not the consumer."
requiredtrue
consumerId
type"integer"
description"The ID of the consumer who is making the request. (zero for non-OAuth requests)."
requiredtrue
protocol
type"string"
enum
"http"
"https"
"other"
description"The protocol used to submit the request to the API"
requiredtrue
method
type"string"
description"The HTTP method of the request."
requiredtrue
origin
type"string"
enum
"production"
"labs"
"other-internal"
"other-external"
description"The origin of the request by IP block."
requiredtrue