Generate a new upload ticket for a new video or to replace an existing video. This ticket is good for one upload by one user.
This method requires a token with write permission.
|oauth_token||string||(required) The access token for the acting user.|
|upload_method||string||Either 'streaming' or 'post'. Defaults to 'post'.|
|video_id||int||If replacing a video, pass this a video_id|
|99||Insufficient permissions||The user does not have permission to do that.|
|105||Service currently unavailable||The requested service is temporarily unavailable.|
|701||Cannot upload||The API key does not have upload access.|
|701||Cannot upload||The user does not have a PRO account.|
|701||Cannot upload||The user does not have a Plus account.|
|701||Cannot upload||The API key does not have upload access for this user.|
|1||Video not found||The video id was either invalid or not provided.|
|1||Video not found||The video id was either invalid or was for a video not viewable by the calling user.|
|703||Uploads exceeded||The user has exceeded the daily number of uploads allowed.|
|704||Ticket error||Could not create upload ticket.|