UDP API Definition: Difference between revisions

m
m (→‎IDs: be send -> be sent)
m (→‎AUTH: Authing to the AnimeDB: be send -> be sent)
Line 194: Line 194:
'''Info:'''
'''Info:'''
:* The ''session_key'' is a String containing only ''a-z,A-Z,0-9'' chars of a length of ''4-8'' characters.
:* The ''session_key'' is a String containing only ''a-z,A-Z,0-9'' chars of a length of ''4-8'' characters.
:: It has to be stored by the client and needs to be send as parameter with every command which requires the user to logged in.
:: It has to be stored by the client and needs to be sent as parameter with every command which requires the user to logged in.
:* The ''session_key'' String is appended as parameter "s", i.e. "PUSH notify=1&msg=1&s={str session_key}".
:* The ''session_key'' String is appended as parameter "s", i.e. "PUSH notify=1&msg=1&s={str session_key}".
:* On a '''500 LOGIN FAILED''' message the client should request the user to enter username and password again.
:* On a '''500 LOGIN FAILED''' message the client should request the user to enter username and password again.
Line 225: Line 225:


----
----
=== LOGOUT: Logout ===
=== LOGOUT: Logout ===
'''Command String:'''
'''Command String:'''
9

edits

MediaWiki spam blocked by CleanTalk.
MediaWiki spam blocked by CleanTalk.