Difference between revisions of "SearchGenres"

From Gvp-public
Jump to navigation Jump to search
(Created page with "{{Api_Method_Spec| Description= |Parameters= {{Api_Parameter| ParamName=token |ParamType=String |ParamRequired=required |ParamDescription=A valid token for identifying the AP...")
 
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
{{Deprecated|Message=This method has been deprecated in GVP 3.2. Please use [[SearchContent]] instead}}
 +
 
{{Api_Method_Spec|
 
{{Api_Method_Spec|
Description=
+
Description=This method is used to find movies or series genres in UNIAPI. Currently SearchContent method is used instead because it is deprecated.
  
 
|Parameters=
 
|Parameters=
Line 13: Line 15:
 
|ParamType=object
 
|ParamType=object
 
|ParamRequired=required
 
|ParamRequired=required
|ParamDescription=
+
|ParamDescription=Complex filter for genreSearch i.e: {["Type": enum.GenreSearchType, "Value": "searchTerm"]}
 
}}
 
}}
 
{{Api_Parameter|
 
{{Api_Parameter|
Line 29: Line 31:
  
 
|Returns=
 
|Returns=
Returns a JSON object with the list of objects.
+
Returns a JSON object with the list of genre objects.
  
 
|Exceptions=
 
|Exceptions=
Line 44: Line 46:
  
 
|SeeAlso=
 
|SeeAlso=
 
+
* [[SearchContent]] method
 
}}
 
}}

Latest revision as of 16:32, 10 February 2016

Warning.png

This method has been deprecated in GVP 3.2. Please use SearchContent instead


Description

This method is used to find movies or series genres in UNIAPI. Currently SearchContent method is used instead because it is deprecated.

Parameters

  • token (String, required)
A valid token for identifying the API session context and logged user.
  • filter (object, required)
Complex filter for genreSearch i.e: {["Type": enum.GenreSearchType, "Value": "searchTerm"]}
  • offset (int, optional)
Index of the initial result of the list, begins with 0
  • limit (int, optional)
Quantity of results showed, with the maximum of 100.


Returns

Returns a JSON object with the list of genre objects.


Exceptions

TO BE COMPLETED


Caching

This method is not cached.


Known issues

None


Version history

TO BE COMPLETED


See also