Videos TV & Movies Channels Community

veoh.people.search

Search people.

Request URL

HTTP://www.veoh.com/rest/v1/?method=veoh.people.search&apiKey=[your api key]

HTTP method

GET,POST

Arguments

type(Required)
The type for the search, the value has to be 'v', 's', 'c', or 'u' for video, series, channel and user respectively.
numOfResults(Required)
The number of results intended to retrieve in this request, it has to be a positive integer greater than 0 and less than or equal to 100.
offset(Required)
The offset from which the results will be retrieved, it has to be 0, or a positive integer within the limit of total number of objects.
contentRatingId(Required)
The Id for a contentRating, it has to be valid contentRating id existed in the system
sort(Optional)
The prefered sort order of the search, which has to be among the following values:mr(Most Recent),tr(Top Rated),md(Most Downloaded),mp(Most Popular),ms(Most Subscribed),rl(Run Length),mc (Most Discussed),tf(Top Favorite),mv(Most Viewed),ca(MediaCollection DateAdded),cp(MediaCollection Position),mt(Most Talkative),up(Recently Updated),mf(Most Friends),nv(Most Videos) and title. The default is relevance (nothing).
range(Optional)
The date range of this search, which has to be among the following values: t (today), w (one week), m (one month), y (one year), a (all time). The default is 'a'. This param acts as a filter based on the date the video was added to the system.
query(Optional)
The search string. The query will search through a number of params not just title and description but also
collection(Optional)
The permalinkId of the channel/series that we want to restrict the search to.
verbose(Optional)
The verbose level of the response. It has to be 0,1,or 2. Default is 2.

Example Response

#EXAMPLERESPONSE#

Error Codes

121 : rest.api.queryTooLong
The query string is too long, a valid query string cannot exceed 200 characters long
314 : rest.media.invalidSortValue
The sort provide in the request is not valid, it has to be one of the values:mr,tr,md,mp,ms,rl,mc,tf,mv,ca,cp,mt,up,mf,nv
315 : rest.media.invalidRangeValue
The range provide in the request is not valid, it has to be one of the values:t,w,m,y,a
109 : rest.api.noNumOfResultsProvided
No numOfResults has been provided in the request
111 : rest.api.numOfResultsNotInteger
The numOfResults provided in the request is not a valid integer
112 : rest.api.numOfResultsNegative
The numOfResults provided in the request is negative
105 : rest.api.noOffsetProvided
No offset has been provided in the request
107 : rest.api.offsetNotInteger
The offset provided in the request is not a valid integer
108 : rest.api.offsetNegative
The offset provided in the request is negative
300 : rest.media.noIdProvided
No Id has been provided in the request
302 : rest.media.idNegative
The Id provided in the request is negative
301 : rest.media.idNotInteger
The Id provided in the request is not a valid integer
329 : rest.media.noContentRatingIdProvided
No content rating id has been provided in the request.
330 : rest.media.contentRatingIdNotInteger
The content rating id provided in the request is not an integer.
331 : rest.media.invalidContentRatingIdValue
The content rating id provided in the request is not valid, a valid content rating id has to be 1, 2, or 3.

API Explorer

API Explorer : veoh.people.search

Copyright © 2008 Veoh Networks, Inc.  |  Terms of Use  |  Copyright  |  Privacy Policy