API:Assert/es

To make sure your bot doesn't edit while logged out, the action API provides an  parameter which you can add to any request.


 *  : Comprueba que tu cuenta tenga iniciada sesión
 *  : Comprueba que tu cuenta tiene bien el usuario "bot"

If the assertion fails, error codes of  or   will be returned.

Verificar si tu sesión está iniciada
If you simply want to check whether you are logged into the action API, you can issue a request with parameters. This will return a simple blank response ( in the JSON format) if you are indeed logged in, or the   error if not.

Normalmente no deberás hacer esto. Instead, add the  parameter to all requests that should be made by a logged-in user.