Videos TV & Movies Channels Community

veoh.video.postToBlog

Post a video, identified by a videoId, to a blog site, identified by a siteAccountId.

Request URL

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

HTTP method

GET,POST

Arguments

videoId(Required)
The Id for the video to retrieve, it has to be valid id existed in the system
siteAccountId(Required)
The id of the user site account. It has to represent a valid UserSiteAccount in the system.
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.
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
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.
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
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
446 : rest.video.error.videoNotEmbeddable
This video does not allow embedding
132 : rest.api.mustBeLoggedIn
This operation is only valid when a user is logged in
400 : rest.video.videoNotFound
Video is not found
335 : rest.media.errorPostToBlog
Error occurred while posting to blog.
278 : rest.user.siteAccountNotFound
The site account could not be found
279 : rest.user.siteAccountNotBlog
The site account is not a blog account

API Explorer

API Explorer : veoh.video.postToBlog

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