UDP API Definition: Difference between revisions

Jump to navigation Jump to search
Line 322: Line 322:
* ''pending_notifies'' is the number of animes which have pending notifications for this user.
* ''pending_notifies'' is the number of animes which have pending notifications for this user.
* ''pending_msgs'' is the number of unread anidb messages for this user.
* ''pending_msgs'' is the 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.
* 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.
* 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.
546

edits

Navigation menu

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