UDP API Definition: Difference between revisions

Jump to navigation Jump to search
Line 1,789: Line 1,789:
: {int4 number of entries added}
: {int4 number of entries added}
* 310 FILE ALREADY IN MYLIST
* 310 FILE ALREADY IN MYLIST
: {int4 lid}|{int4 fid}|{int4 eid}|{int4 aid}|{int4 gid}|{int4 date}|{int2 state}|{int4 viewdate}|{str storage}|{str source}|{str other}|{int2 filestate}
* 322 MULTIPLE FILES FOUND
* 322 MULTIPLE FILES FOUND
: {int4 fid 1}|{int4 fid 2}|...|{int4 fid n}
: {int4 fid 1}|{int4 fid 2}|...|{int4 fid n}
Line 1,800: Line 1,801:
* All data except lid/fid/size+hash/generic is optional.
* All data except lid/fid/size+hash/generic is optional.
* Viewed should be 0 for unwatched files and 1 for watched files.
* Viewed should be 0 for unwatched files and 1 for watched files.
* if viewdate is not specified, the current time will be used. The field will be disregarded if viewed=0.
* If viewdate is not specified, the current time will be used. The field will be disregarded if viewed=0.
* Other is the only field which may contain newlines, but they have to be stored as <br />
* Other is the only field which may contain newlines, but they have to be stored as <br />
* For state values refer to: '''MYLIST'''
* For state values refer to: '''MYLIST'''
Line 1,806: Line 1,807:
* epno=0 means all eps (default), negative numbers means upto. (-12 -> upto 12)
* epno=0 means all eps (default), negative numbers means upto. (-12 -> upto 12)
* group is optional only when edit=1, meaning you can't add every file for an anime
* group is optional only when edit=1, meaning you can't add every file for an anime
* If the file already exists (response code 310), the ''current'' record will be returned, in the same format as the MYLIST response.
----


----
=== MYLISTDEL: Remove file from MyList ===
=== MYLISTDEL: Remove file from MyList ===
'''Command String:'''<br>
'''Command String:'''<br>

Navigation menu

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