Site:API:Authentication
From Metrixstream
(Difference between revisions)
MetrixAdmin (Talk | contribs) (→Login) |
MetrixAdmin (Talk | contribs) (→Logout) |
||
| Line 21: | Line 21: | ||
= Signup = | = Signup = | ||
| − | = Logout = | + | == Logout == |
| + | |||
| + | This API call is responsible for logging out a user. | ||
| + | |||
| + | === Authentication Restrictions === | ||
| + | |||
| + | Any authenticated user. | ||
| + | |||
| + | === Required Parameters === | ||
| + | |||
| + | None. | ||
| + | |||
| + | === Successful Response === | ||
| + | |||
| + | * <code>status=ok</code> | ||
Revision as of 21:22, 8 January 2013
Contents |
Authentication
Login
This API call is responsible for logging in a user.
Authentication Restrictions
None.
Required Parameters
-
action=login -
username: the username of the user -
password: the password of the user
Successful Response
-
status=ok
Signup
Logout
This API call is responsible for logging out a user.
Authentication Restrictions
Any authenticated user.
Required Parameters
None.
Successful Response
-
status=ok