UDP API DEV: Difference between revisions

1,659 bytes removed ,  11 March 2008
Line 74: Line 74:


== Notify Commands ==
== Notify Commands ==
=== NOTIFYGET: Get Notification/Message ===


--[[User:raboni|raboni]] 17:13, 6 Sep 2006 (GMT+1)<br>
: --edited by [[User:raboni|raboni]] 19:30, 7 Sep 2006 (GMT+1)
Feature request: When you get the notification you only find the anime name and the anime id in it. It would be better if you can also get the file id with this notification, so you can find out which group has released the movie. It is a headache to find the groupname in the HTTP page, if you have in mind that when more than one group release a movie in one day and you have to find out which you wanna have...
'''Command String:'''
* NOTIFYGET type={str type}&id={int4 id}
'''Possible Replies:'''<br>
when type = N
* 293 NOTIFYGET
: {int4 relid}|{int4 type}|{int2 count}|{int4 date}|{str relname}|{int2 reltype}|{int2 priority}
: {int4 date}|{int4 fid}
: ...
* 393 NO SUCH ENTRY
'''Info:'''
* fid
: The File ID of the given episode that has been released.
'''Example:'''
  > NOTIFYGET type=N&id=2369&s=xxxxx
  < 293 NOTIFYGET
  2369|2|2|1157526622|Bleach|1|1
  1157526611|259847
  1157526622|259848
OR
'''Command string:'''
* NOTIFYHIST type=N&id={int4 id}
'''Possible Replies:'''<br>
: {int4 fid_0}|{int4 date_0}
: ...
: {int4 fid_n}|{int4 date_n}
'''Info:'''
Returns the last 25 entries related to the specified (id) notification subscription which are not acknowledged.
'''Comments:'''
The current system doesn't store fids, only count, when i think about it. This has to be approved by exp himself.--[[User:Epoximator|Epoximator]] 10:33, 24 September 2006 (UTC)
:Err.. it does actually. still one bit missing, though --[[User:Epoximator|Epoximator]] 14:41, 2 January 2008 (CET)


== Misc Commands ==
== Misc Commands ==
546

edits

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