API:Tokens (action)/es

API:Tokens

Tokens Puede ser obtenido utilizando acción=tokens. Estos tokens entonces puede ser utilizados en otras peticiones API.

Parámetros


The Central Auth extension on MediaWiki servers adds the following tokens:

Posibles errores
In addition to the usual errors, other errors may be returned in the following format:

Possible errors include:

Failing to urlencode the token can result in an invalid token error.

Nota importante
You need to send the cookie obtained in the login phase when you call the api with the "tokens" action; otherwise you get the cryptic "readapidenied" error.