UDP API DEV: Difference between revisions

Jump to navigation Jump to search
Line 199: Line 199:
:* included in ANIME?
:* included in ANIME?


== Mylist Gen ==
== Mylist General ==
 
=== MYLISTSTATS : new ? medium ===
'''Description:'''<br>
Retrieves the most relevant figures related to your user account.


=== MYLIST STATS : new ? low ===
'''Command String:'''
'''Command String:'''
:* MYLIST STATS
* MYLISTSTATS
 
'''Possible Replies:'''
'''Possible Replies:'''
:* XXX MYLIST STATS
* XXX MYLIST STATS
{animes}|{eps}|{files}|{watched}|{size}|{added animes}|{added eps}|{added files}|{added groups}|{votes}|{reviews}|{leech}|{lame}
{animes}|{eps}|{files}|{size of files}|{added animes}|{added eps}|{added files}|{added groups}|{leech %}|{lame %}|{viewed % of db}|{mylist % of db}|{viewed % of mylist}|{number of viewed eps}|{votes}|{reviews}


'''Info:'''
'''Info:'''
:* Only once pr update ?
* all fields are int
:* percentages: use STATS first


=== MYLIST LATEST : new ? questionable ===
=== MYLISTLATEST : new ? not planned ===
'''Command String:'''
'''Command String:'''
:* MYLIST LATEST
:* MYLISTLATEST


'''Possible Replies:'''
'''Possible Replies:'''
Line 228: Line 229:


=== VOTE : new ? high ===
=== VOTE : new ? high ===
'''Command String:'''
'''Description:'''<br>
: by id
Votes for a specifed anime, episode or group defined by id or name.
:* VOTE type={int2 type}&id={int4 id}&value={int4 vote value}
 
: by title/name
'''Command String:'''<br>
:* VOTE type={int2 type}&title={int4 id}&value={int4 vote value}
by id
* VOTE type={int2 type}&id={int4 id}&value={int4 vote value}
by name
* VOTE type={int2 type}&name={string name}&value={int4 vote value}


'''Possible Replies:'''
'''Possible Replies:'''
:* XXX NO SUCH ENTRY
* XXX VOTED
:* XXX VOTED
: {str aname/ename/gname}
:: {str aname/ename/gname}
* XXX VOTE FOUND
: {str aname/ename/gname}|{vote value}
* XXX VOTE UPDATED
: {str aname/ename/gname}|{old vote value}
* XXX VOTE REVOKED
: {str aname/ename/gname}|{revoked vote value}
* XXX NO SUCH VOTE
* XXX INVALID VOTE TYPE
* XXX INVALID VOTE VALUE
* XXX PERMVOTE NOT ALLOWED
: {str aname}
* XXX ALREADY PERMVOTED
: {str aname/ename/gname}


'''Info:'''
'''Info:'''
:* type is 0=anime, 1=anime tmpvote, 2=episode, 3=group
* type: 1=anime, 2=anime tmpvote, 3=episode, 4=group
:* 'what' is aid/eid/gid/anime title/episode title/group name
* value: negative number means revoke, 0 means retrieve, 100-1000 are valid vote values, rest is illegal
 
* votes will be updated automatically (that is no questions asked)
* tmpvoting when there exist a perm vote is not possible
* ename is '{str anime name}|{int4 epno}'


=== RANDOM : new ? low ===
=== RANDOM : new ? low ===
'''Command String:'''
'''Command String:'''
:* RANDOM type={int4 type}
* RANDOMANIME type={int4 type}


'''Possible Replies:'''
'''Possible Replies:'''
:* XXX ANIME ... (see ANIME)
* XXX ANIME ... (see ANIME)


'''Info:'''
'''Info:'''
:* type: 0=from db, 1=watched, 2=unwatched, 3=all mylist
* type: 0=from db, 1=watched, 2=unwatched, 3=all mylist


=== CREQ : new ? questionable ===
=== CREQ : new ? not planned ===
'''Command String:'''
'''Command String:'''
:* CREQ
* CREQ


'''Possible Replies:'''
'''Possible Replies:'''
:* XXX CREQ
* XXX CREQ
:: ...
: ...


== Mylist Edit ==
== Mylist Edit ==
546

edits

Navigation menu

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