From 615b7bd42d96566e9cb1db5bb36870b87817af2f Mon Sep 17 00:00:00 2001 From: Yorhel Date: Fri, 13 Nov 2009 19:20:54 +0100 Subject: API: Added 'get producer' command --- data/docs/11 | 128 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 128 insertions(+) (limited to 'data/docs') diff --git a/data/docs/11 b/data/docs/11 index 6fe7f3ed..7340319f 100644 --- a/data/docs/11 +++ b/data/docs/11 @@ -694,6 +694,134 @@ however still required.
+:SUBSUB:get producer +

Returned members:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MemberFlagTypenullDescription
id-integernoProducer ID
namebasicstringno(romaji) producer name
originalbasicstringyesOriginal/official name
typebasicstringnoProducer type
languagebasicstringnoPrimary language
websitedetailsstringyesOfficial website URL
aliasesdetailsstringyesComma separated list of alternative names
descriptiondetailsstringyesDescription/notes of the producer, can contain formatting codes as described in d9.3
relationsrelationsarray of objectsno + (possibly empty) list of related producers, each object has the following members:
+ "id", integer, producer ID,
+ "relation", string, relation to the current producer,
+ "name", string,
+ "original", string, can be null +
+

Sorting is possible on the 'id' and 'name' fields.


+ +

The following filters are recognised:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FieldValueOperators 
idinteger
array of integers
= != > >= < <=
= !=
 
namestring= != ~ 
originalnull
string
= !=
= != ~
 
typestring= != 
languagestring
array of strings
= != 
searchstring~Not an actual field. Performs a search on the title, original and aliases fields.
+ :SUB:The 'error' response -- cgit v1.2.3