Interface: ApiCreateAccountResponse
Defined in: core/createaccount.ts:22
Response of action=createaccount.
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
createaccount
createaccount:
object
Defined in: core/createaccount.ts:24
Result of action=createaccount.
canpreservestate?
optionalcanpreservestate?:boolean
Whether the current AuthManager state can be preserved across requests; FAIL/RESTART only.
message?
optionalmessage?:ApiAuthManagerMessage
Failure / interaction message, rendered per the messageformat
parameter: a string under wikitext/html, a { key, params } object
under raw, absent under none. FAIL/UI/RESTART only.
messagecode?
optionalmessagecode?:string
Machine-readable message code (e.g. invaliduser).
redirectdata?
optionalredirectdata?:Record<string,unknown>
Extra API data accompanying a REDIRECT outcome.
redirecttarget?
optionalredirecttarget?:string
Redirect target for a REDIRECT outcome.
requests?
optionalrequests?:ApiQueryAuthManagerInfoRequest[]
AuthManager request descriptors for interactive (UI/RESTART) and REDIRECT steps.
status?
optionalstatus?:ApiAuthManagerStatus
AuthManager outcome of the account-creation flow.
username?
optionalusername?:string
Created (or attempted) user name; present on PASS.
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
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).