UDP API Definition: Difference between revisions

Line 400: Line 400:
when type = N
when type = N
* 293 NOTIFYGET
* 293 NOTIFYGET
: {int4 aid}|{int4 type}|{int2 count}|{int4 date}|{str anime_name}|{str fids}
: {int4 relid}|{int4 type}|{int2 count}|{int4 date}|{str relidname}|{str fids}
* 393 NO SUCH ENTRY
* 393 NO SUCH ENTRY


Line 407: Line 407:
: M for message entries
: M for message entries
: N for notification entries
: N for notification entries
* id is the identifier for the notification/message as required by NOTIFYGET.
* id is the identifier for the notification/message as given by NOTIFYLIST (or ''relid'' from 271 NOTIFICATION and mid from 272 NOTIFICATION)
* for message entries (M):
* for message entries (M):
: date is the time of the event (in seconds since 1.1.1970)
: date is the time of the event (in seconds since 1.1.1970)
: type is the type of the message (0=normal msg, 1=annonymous, 2=system msg, 3=mod msg)
: type is the type of the message (0=normal msg, 1=annonymous, 2=system msg, 3=mod msg)
* for notification entries (N):
* for notification entries (N):
: aid is the id of the affected anime
: relid is the id of the related type (anime)
: relname is the name of the related type (anime)
: type is the notification type (0=all, 1=new, 2=group, 3=complete)
: type is the notification type (0=all, 1=new, 2=group, 3=complete)
: count is the number of events pending for this anime
: count is the number of events pending for this subscription
: date is the time of the event (in seconds since 1.1.1970)
: date is the time of the event (in seconds since 1.1.1970)
: fids is a comma separated list with the affected file ids
: fids is a comma separated list with the affected file ids
546

edits

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