Session

From ToxBank API Wiki
Revision as of 16:19, 15 September 2011 by Nina (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This is currently wrapper for OpenTox (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 typetext/plain  +
Has status code200,401,403,500  +
Personal tools