UDP API Definition: Difference between revisions

Jump to navigation Jump to search
Line 1,621: Line 1,621:
'''Possible Replies:'''
'''Possible Replies:'''
* 250 GROUP
* 250 GROUP
: {int gid}|{int4 rating}|{int votes}|{int4 acount}|{int fcount}|{str name}|{str short}|{str irc channel}|{str irc server}|{str url}|{str picname}
: {int gid}|{int4 rating}|{int votes}|{int4 acount}|{int fcount}|{str name}|{str short}|{str irc channel}|{str irc server}|{str url}|{str picname}|{int4 foundeddate}|{int4 disbandeddate}|{int2 dateflags}|{int4 lastreleasedate}|{int4 lastactivitydate}|{list grouprelations}
* 350 NO SUCH GROUP
* 350 NO SUCH GROUP


'''Info:'''
'''Info:'''
* Requires login
* Requires login
* <i>gname</i> is an exact match of either a group name or short name
* ''gname'' is an exact match of either a group name or short name
* As either names and short names are unique if there is a result from GROUP request by name that will be the only match
* As either name and short names are unique if there is a result from GROUP request by name that will be the only match
* ''dateflags'' values:
** bit0 set == Foundeddate, Unknown Day
** bit1 set == Foundeddate, Unknown Month, Day
** bit2 set == Disbandeddate, Unknown Day
** bit3 set == Disbandeddate, Unknown Month, Day
** bit5 set == Foundeddate, Unknown Year
** bit6 set == Disbandeddate, Unknown Year
* ''releasedate'' and ''activitydate'' are distinct.  ''releasedate'' is the date a file was actually released by the group, where ''activitydate'' is the date of a file being added to AniDB.  As such, lastrelease may very well be much older than lastactivity.
* ''groupreleations'' is a list of apostrophe-separated pairs, where each pair consists of {int4 othergroupid},{int2 relationtype}
** relationtype:
*** 1 => "Participant in"
*** 2 => "Parent of"
*** 4 => "Merged from"
*** 5 => "Now known as"
*** 6 => "Other"


'''Examples:'''
'''Example:'''
   > GROUP gid=1&s=xxxxx
   > GROUP gid=7091&s=bunny
   < 250 GROUP
   < 250 GROUP
   41|851|665|109|1004|Zhentarim DivX|zx|#zhentarim|irc.deltaanime.net|<nowiki>http://www.zhentarim.net/</nowiki>|1134.gif
   7091|832|1445|43|566|Frostii|Frostii|#frostii|irc.rizon.net|http://frostii.com|15844.jpg|1228089600|0|1|1301875200|1304222640|7255,1'3097,4'748,4'8106,1'8159,2'8402,1'8696,1'9022,1
 
  > GROUP gname=a-l&s=xxxxx
  < 250 GROUP
  566|840|453|53|534|Anime-Legion|A-L|#anime-legion|irc.irchighway.net|<nowiki>http://www.anime-legion.net</nowiki>|1088.png


----
----

Navigation menu

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