Videos TV & Movies Channels Community

veoh.video.updateInfo

Change the meta data of a video object. The method expects a userToken or a j_username/j_password pair from which the user of this request will be determined. If the j_username/j_password pair is provided for one-time authentication, the request has to be made using HTTPS protocol. If neither the userToken nor the j_username/j_password is provided, the owner of the application will be considered making this request. The userToken or the j_username/j_password pair, if present, have to be put into the request url. The enctype of the request has to be 'multipart/form-data'. This method is not available to general public. Only Veoh's partners can access this feature.

Request URL

HTTP(HTTPS)://www.veoh.com/rest/v1/?method=veoh.video.updateInfo&apiKey=[your api key]

HTTP method

POST

Arguments

videoId(Required)
The Id for the video to retrieve, it has to be valid id existed in the system
title(Optional)
The title,
description(Optional)
The description of the object such as a video, a channel, a series, or a user.
category(Optional)
The category
contentRating(Optional)
The contentRating, it has to be 1, 2, or 3.
userToken(Optional)
The userToken that represents the requester
j_username(Optional)
The username of the user making this request. It has to represent a valid user in the sysetm.Combined with the j_password, it will be used to provide one time authentication.
j_password(Optional)
The password of the user making this request. Combined with the j_username, it will be used to provide one time authentication.
highResFile(Optional)
The thumbnail file
medResFile(Optional)
The thumbnail file
website(Optional)
The website of the object such as a video, a channel, a series, or a user.
newTags(Optional)
The tags associated with the video
allowBeAddedToThirdParty(Optional)
All to be added to third party or not.
featured(Optional)
Featured or not.
allowEmbedding(Optional)
Allow to be embedded or not.
allowComments(Optional)
Allow others to make comments or not
adInfo.houseAdPermalink(Optional)
The permalink for the house advertisement.
adInfo.houseAdPlacement(Optional)
The integer to indicate the placement of the ad. It has to be -1, 0, or 1.
adInfo.showStreamingAd(Optional)
The integer to indicate the flag for showing streaming advertisement. It has to be -1, 0, or 1.
adInfo.showCompanionAd(Optional)
whether show companion ad or not.
excludeFromIndex(Optional)
Exclude from being searched or not
geoRestrictions(Optional)
???rest.api.param.requirement.geoRestrictions???
editorTags(Optional)
???rest.api.param.requirement.editorTags???

Example Response

#EXAMPLERESPONSE#

Error Codes

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
128 : rest.api.httpsReqired
HTTPS protocol is required for one time authentication.
247 : rest.user.invalidUserToken
The userToken provided in the request is not valid.
248 : rest.user.invalidUserTokenExpired
The userToken provided in the request has expired.
224 : rest.user.logginFailed
The username or the password provided in the request is not valid. Authentication failed.
308 : rest.media.invalidTitle
The title provided in the request is invalid
215 : rest.user.invalidDescription
The description provided in the request is invalid
306 : rest.media.invalidCategories
The category provided in the request is invalid
307 : rest.media.invalidContentRating
The content rating provided in the request is invalid
210 : rest.user.invalidThumbnail
The thumbnail provided in the request is invalid
211 : rest.user.invalidWebsite
The website provided in the request is invalid
309 : rest.media.invalidTags
The tags provided in the request is invalid
433 : rest.video.invalidAllowEmbedding
The 'allowEmbedding' parameter provided in the request is not valid. It has to 0, or 1 representing 'false' or 'true' respectively.
434 : rest.video.invalidFeatured
The 'featured' parameter provided in the request is not valid. It has to 0, or 1 representing 'false' or 'true' respectively.
435 : rest.video.invalidAllowComments
The 'allowComments' parameter provided in the request is not valid. It has to 0, or 1 representing 'false' or 'true' respectively.
436 : rest.video.invalidAllowBeAdded
The 'allowBeAdded' parameter provided in the request is not valid. It has to 0, or 1 representing 'false' or 'true' respectively.

API Explorer

API Explorer : veoh.video.updateInfo

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