UDP API Definition: Difference between revisions

m
Line 304: Line 304:
* pending_msgs number of unread anidb messages for this user.
* pending_msgs number of unread anidb messages for this user.
* A client which has registered to recieve UDP notification packets should issue this command once every 30 minutes to keep the connection alive and to ensure that it has not been logged out by the API server yet.
* A client which has registered to recieve UDP notification packets should issue this command once every 30 minutes to keep the connection alive and to ensure that it has not been logged out by the API server yet.
* If the client did send a NOTIFY within the last 35 minutes and it was confirmed by AniDB then recieving a 501 LOGIN FIRST message for the next NOTIFY command shows that AniDB logged the client out bc it did not respond to a PUSH Notification packet.
* If the client did send a NOTIFY within the last 35 minutes and it was confirmed by AniDB then recieving a 501 LOGIN FIRST message for the next NOTIFY command shows that AniDB logged the client out because it did not respond to a PUSH Notification packet.
* There is no command to retrieve missed PUSH Notifications.
* There is no command to retrieve missed PUSH Notifications.
{{eyecatch|NOTE:| This command MUST NOT be issued more than once every 20 minutes.}}
{{eyecatch|NOTE:| This command MUST NOT be issued more than once every 20 minutes.}}


----
----
=== NOTIFYLIST: List Notification/Message IDs ===
=== NOTIFYLIST: List Notification/Message IDs ===
'''Command String:'''
'''Command String:'''
347

edits

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