Videos TV & Movies Channels Community

veoh.people.createSiteAccount

Create a user site account.

Request URL

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

HTTP method

GET,POST

Arguments

accoutUsername(Required)
The username that has been registered for the site.
accoutPassword(Required)
The username that has been registered for the site.
site(Required)
The site name, which has to be a valid site name existing in the veoh system. Only the following site names are supported: youtube, myspace, google, fireant, democracy, myspace, facebook, blogger, and wordpress are supported.
siteType(Required)
The type of the site, it has to be one of the following two values: 'SITE_BLOG_SYNDICATION' or 'SITE_VIDEO_SYNDICATION'.
autoPlay(Required)
Whether automatically play the video. It accepts '1', 'yes', or 'true' to represent 'true' and '0', 'no', or 'false' to represent 'false'. The literals are not case-sensitive.
siteUrl(Optional)
The url string for the site.
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.
270 : rest.user.noAccountUserNameProvided
No accountUserName parameter has been provided in the request.
271 : rest.user.noAccountPasswordProvided
No accountPassword parameter has been provided in the request
267 : rest.user.noSiteProvided
No site parameter has been provided in the request
268 : rest.user.invalidSite
The site provided in the request is not valid. Only the following site names are supported: youtube, myspace, google, fireant, democracy, myspace, facebook, blogger, and wordpress are supported.
266 : rest.user.noAutoPlayProvided
No autoPlay parameter has been provided in the request
269 : rest.user.noSiteTypeProvided
No siteType parameter has been provided in the request
275 : rest.user.invalidSiteType
The site type provided in the request is not valid. Only 'SITE_BLOG_SYNDICATION' or 'SITE_VIDEO_SYNDICATION' is allowed
132 : rest.api.mustBeLoggedIn
This operation is only valid when a user is logged in
272 : rest.user.siteAccountExist
The site account exists already
273 : rest.user.syndicationError
Syndication error occurred while creating the user site account.
274 : rest.user.errorCreateSiteAccount
Error occurred while creating the user site account

API Explorer

API Explorer : veoh.people.createSiteAccount

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