546
edits
Epoximator (talk | contribs) (→Misc Commands: user + codes) |
Epoximator (talk | contribs) mNo edit summary |
||
Line 73: | Line 73: | ||
=== [[UDP_API_Definition#FILE:_Retrieve_File_Data|FILE]] === | === [[UDP_API_Definition#FILE:_Retrieve_File_Data|FILE]] === | ||
'''Possible return codes:''' | '''Possible return codes:''' | ||
* | * 322 MULTIPLE FILES FOUND | ||
: fid| | : {int4 fid 0}|{int4 fid 1}|...|{int4 fid n} | ||
'''Comments:'''<br> | '''Comments:'''<br> | ||
Selection by anime, group and episode number is not unique. As an example: FILE aid=22&gid=41&tag=tag0002&epno=1 <br> | Selection by anime, group and episode number is not unique. As an example: FILE aid=22&gid=41&tag=tag0002&epno=1 <br> | ||
Line 91: | Line 91: | ||
'''Possible Replies:''' | '''Possible Replies:''' | ||
* | * 245 PRODUCER | ||
: {int4 id}|{str name}|{str short name}|{str other name}|{str type}|{str picture name}|{str home page url} | : {int4 id}|{str name}|{str short name}|{str other name}|{str type}|{str picture name}|{str home page url} | ||
* 345 NO SUCH PRODUCER | |||
'''Example:''' | '''Example:''' | ||
> PRODUCER pid=1 | > PRODUCER pid=1 | ||
Line 106: | Line 107: | ||
* BUDDYADD uname={int4 buddy name} | * BUDDYADD uname={int4 buddy name} | ||
'''Possible Replies:''' | '''Possible Replies:''' | ||
* | * 394 NO SUCH USER | ||
* 255 BUDDY ADDED | |||
* | * 355 BUDDY ALREADY ADDED | ||
=== BUDDYDEL === | === BUDDYDEL === | ||
Line 114: | Line 115: | ||
* BUDDYDEL uid={int4 buddy uid} | * BUDDYDEL uid={int4 buddy uid} | ||
'''Possible Replies:''' | '''Possible Replies:''' | ||
* | * 356 NO SUCH BUDDY | ||
* 256 BUDDY DELETED | |||
* | |||
=== BUDDYACCEPT === | === BUDDYACCEPT === | ||
'''Command String:''' | '''Command String:''' | ||
* BUDDYACCEPT uid= | * BUDDYACCEPT uid={int4 user uid} | ||
'''Possible Replies:''' | '''Possible Replies:''' | ||
* | * 356 NO SUCH BUDDY | ||
* | * 257 BUDDY ACCEPTED | ||
* | * 357 BUDDY ALREADY ACCEPTED | ||
=== BUDDYDENY === | === BUDDYDENY === | ||
Line 130: | Line 130: | ||
* BUDDYDENY uid={int4 buddy uid} | * BUDDYDENY uid={int4 buddy uid} | ||
'''Possible Replies:''' | '''Possible Replies:''' | ||
* | * 394 NO SUCH USER | ||
* 258 BUDDY DENIED | |||
* | * 358 BUDDY ALREADY DENIED | ||
=== BUDDYLIST === | === BUDDYLIST === | ||
Line 138: | Line 138: | ||
* BUDDYLIST startat={int2 start at #} | * BUDDYLIST startat={int2 start at #} | ||
'''Possible Replies:''' | '''Possible Replies:''' | ||
* | * 253 {int2 start} {int2 end} {int2 total} BUDDY LIST | ||
: {int4 uid}|{str username}|{int2 state} | : {int4 uid}|{str username}|{int2 state} | ||
: ... | : ... | ||
Line 151: | Line 151: | ||
* BUDDYSTATE startat={int2 start at #} | * BUDDYSTATE startat={int2 start at #} | ||
'''Possible Replies:''' | '''Possible Replies:''' | ||
* | * 254 {int2 start} {int2 end} {int2 total} BUDDY STATE | ||
: {int4 uid}|{int2 onlinestate} | : {int4 uid}|{int2 onlinestate} | ||
: ... | : ... | ||
Line 237: | Line 237: | ||
* Default [http://en.wikipedia.org/wiki/MTU_(networking) ''mtu''] is 1400. Min = 400, Max = 1400. | * Default [http://en.wikipedia.org/wiki/MTU_(networking) ''mtu''] is 1400. Min = 400, Max = 1400. | ||
== USER: Retrieve uid == | === USER: Retrieve user uid === | ||
'''Command String:''' | '''Command String:''' | ||
* USER user={str user name} | * USER user={str user name} |
edits