Videos TV & Movies Channels Community

veoh.video.addTag

Add a tag to a video identified by a video id. 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.

Request URL

HTTP://www.veoh.com/rest/v1/?method=veoh.video.addTag&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
tag(Required)
A valid tag has to be between 3 to 32 characters long. And the comma is not allowed.
verbose(Optional)
The verbose level of the response. It has to be 0,1,or 2. Default is 2.

Example Response

#EXAMPLERESPONSE#

Error Codes

100 : rest.api.serviceUnavailable
The REST API service in temporarily unavailable
118 : rest.api.invalidApiKey
The api key provided in the url is not valid.
117 : rest.api.noApiKeyProvided
No api key has been provided in the request.
131 : rest.api.tooManyRequests
The number of requests made has exceeded the limit of this apiKey.
117 : rest.api.noApiKeyProvided
No api key has been provided in the request.
132 : rest.api.gapNotEnough
The request has to be made after a certain period of time associated with this apiKey
114 : rest.api.verboseNotInt
The verbose level provided in the request is not a valid integer
115 : rest.api.invalidVerbose
The verbose level provided in the request is invalid, it has to be 0, 1,or 2
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
317 : rest.media.noTagProvided
No tag provided in the request
318 : rest.media.commaInTag
Comma is not allowed in the tag.
319 : rest.media.tagTooLong
Tag is too long. The maximum length of a valid tag is 32.
320 : rest.media.tagTooShort
Tag is too short. The minimum length of a valid tag is 3.
133 : rest.api.insufficientPriviledges
There is either no user logged in or the logged in user has insufficient privileges to perform this operation or view its results
400 : rest.video.videoNotFound
Video is not found
321 : rest.media.errorOccurredAddingTag
Error occurred while adding the tag to the video.

API Explorer

API Explorer : veoh.video.addTag

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