Session
From ToxBank API Wiki
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 + |