Session
From ToxBank API Wiki
(Difference between revisions)
m (Created page with "This is currently wrapper for OpenTox (OpenAM) login/logout = Login = {{REST Operations |REST_op_description=Login |REST_op_method=POST |REST_op_uri=/session |REST_op_params=us...") |
m |
||
Line 1: | Line 1: | ||
− | This | + | This could be a wrapper for the [[OpenTox_API_1.2_A%26A]] (OpenAM) login/logout. |
= Login = | = Login = |
Revision as of 06:40, 16 September 2011
This could be a wrapper for the OpenTox_API_1.2_A&A (OpenAM) login/logout.
Login
Description | Login |
---|---|
Resource | [[]] |
Method | POST |
URI | /session |
Parameters | user name and password ,optionally scheme (default OpenAM) , OpenAM server URI (has default ) |
Header Parameters | |
Media Type (input) | application/x-www-form-urlencoded |
Results | the token in the html body , optional cookie |
Media Type (output) | text/plain |
Status code | 200,401,403,500 |
Logout
Description | Logout |
---|---|
Resource | [[]] |
Method | DELETE |
URI | /session |
Parameters | header parameter subjectid |
Header Parameters | |
Media Type (input) | none |
Results | none |
Media Type (output) | text/plain |
Status code | 200,401,403,500 |
Facts about SessionRDF feed
Acts on | |
Has output media type | text/plain + |
Has status code | 200,401,403,500 + |