{"action":"opened","issue":{"url":"https://api.github.com/repos/kylejginavan/youtube_it/issues/249","labels_url":"https://api.github.com/repos/kylejginavan/youtube_it/issues/249/labels{/name}","comments_url":"https://api.github.com/repos/kylejginavan/youtube_it/issues/249/comments","events_url":"https://api.github.com/repos/kylejginavan/youtube_it/issues/249/events","html_url":"https://github.com/kylejginavan/youtube_it/issues/249","id":65766443,"number":249,"title":"Upload video as unlisted","user":{"login":"amHammock","id":8742456,"avatar_url":"https://avatars.githubusercontent.com/u/8742456?v=3","gravatar_id":"","url":"https://api.github.com/users/amHammock","html_url":"https://github.com/amHammock","followers_url":"https://api.github.com/users/amHammock/followers","following_url":"https://api.github.com/users/amHammock/following{/other_user}","gists_url":"https://api.github.com/users/amHammock/gists{/gist_id}","starred_url":"https://api.github.com/users/amHammock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amHammock/subscriptions","organizations_url":"https://api.github.com/users/amHammock/orgs","repos_url":"https://api.github.com/users/amHammock/repos","events_url":"https://api.github.com/users/amHammock/events{/privacy}","received_events_url":"https://api.github.com/users/amHammock/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-01T19:55:35Z","updated_at":"2015-04-01T19:55:35Z","closed_at":null,"body":"Hello, this is not really a BUG, but it was very difficult to track down and could be implemented and/or documented more clearly.\r\n\r\nTo upload a video as unlisted, the youtube_it call is:\r\n\r\nvid = client.video_upload(File.open(\"myvideo.mp4\"), :title => \"My Video Title\", :list=>'denied')\r\n\r\nFor private videos the option is :private => true.  Everywhere in the YouTube API I see reference to one option privacyStatus that can be public, private, or unlisted.  Finally found this solution after much googling about the YouTube API which revealed the <yt:accessControl action=\"list\" permission=\"denied\"/> in the video XML resource, and browsing the youtube_it code that constructs the XML.\r\n\r\nAt the very least, this is documented somewhere for someone else to find it :-)"}}