{"action":"closed","number":18,"pull_request":{"url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/pulls/18","id":52134545,"html_url":"https://github.com/drupal-media/media_entity_embeddable_video/pull/18","diff_url":"https://github.com/drupal-media/media_entity_embeddable_video/pull/18.diff","patch_url":"https://github.com/drupal-media/media_entity_embeddable_video/pull/18.patch","issue_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/issues/18","number":18,"state":"closed","locked":false,"title":"Fixed thumbnails","user":{"login":"phenaproxima","id":4504530,"avatar_url":"https://avatars.githubusercontent.com/u/4504530?v=3","gravatar_id":"","url":"https://api.github.com/users/phenaproxima","html_url":"https://github.com/phenaproxima","followers_url":"https://api.github.com/users/phenaproxima/followers","following_url":"https://api.github.com/users/phenaproxima/following{/other_user}","gists_url":"https://api.github.com/users/phenaproxima/gists{/gist_id}","starred_url":"https://api.github.com/users/phenaproxima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phenaproxima/subscriptions","organizations_url":"https://api.github.com/users/phenaproxima/orgs","repos_url":"https://api.github.com/users/phenaproxima/repos","events_url":"https://api.github.com/users/phenaproxima/events{/privacy}","received_events_url":"https://api.github.com/users/phenaproxima/received_events","type":"User","site_admin":false},"body":"This fixes https://www.drupal.org/node/2619906. I used Google's API Explorer to generate the request URL, so that's as good as documented :)\r\n\r\nThis PR is very light on error handling, because I'm not sure what the best course of action is in the event of an HTTP error (or some other problem with the response that comes back from YouTube). I figure that error handling can be beefed up in the future, though...","created_at":"2015-11-30T15:03:29Z","updated_at":"2015-12-01T12:56:53Z","closed_at":"2015-12-01T12:56:53Z","merged_at":null,"merge_commit_sha":"12b2df8d38461328c3ca00f4cdebdeef201b31e3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/pulls/18/commits","review_comments_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/pulls/18/comments","review_comment_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/pulls/comments{/number}","comments_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/issues/18/comments","statuses_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/statuses/d47e746101b167850b95248111f8c677edb97408","head":{"label":"phenaproxima:youtube_api","ref":"youtube_api","sha":"d47e746101b167850b95248111f8c677edb97408","user":{"login":"phenaproxima","id":4504530,"avatar_url":"https://avatars.githubusercontent.com/u/4504530?v=3","gravatar_id":"","url":"https://api.github.com/users/phenaproxima","html_url":"https://github.com/phenaproxima","followers_url":"https://api.github.com/users/phenaproxima/followers","following_url":"https://api.github.com/users/phenaproxima/following{/other_user}","gists_url":"https://api.github.com/users/phenaproxima/gists{/gist_id}","starred_url":"https://api.github.com/users/phenaproxima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phenaproxima/subscriptions","organizations_url":"https://api.github.com/users/phenaproxima/orgs","repos_url":"https://api.github.com/users/phenaproxima/repos","events_url":"https://api.github.com/users/phenaproxima/events{/privacy}","received_events_url":"https://api.github.com/users/phenaproxima/received_events","type":"User","site_admin":false},"repo":{"id":46881978,"name":"media_entity_embeddable_video","full_name":"phenaproxima/media_entity_embeddable_video","owner":{"login":"phenaproxima","id":4504530,"avatar_url":"https://avatars.githubusercontent.com/u/4504530?v=3","gravatar_id":"","url":"https://api.github.com/users/phenaproxima","html_url":"https://github.com/phenaproxima","followers_url":"https://api.github.com/users/phenaproxima/followers","following_url":"https://api.github.com/users/phenaproxima/following{/other_user}","gists_url":"https://api.github.com/users/phenaproxima/gists{/gist_id}","starred_url":"https://api.github.com/users/phenaproxima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phenaproxima/subscriptions","organizations_url":"https://api.github.com/users/phenaproxima/orgs","repos_url":"https://api.github.com/users/phenaproxima/repos","events_url":"https://api.github.com/users/phenaproxima/events{/privacy}","received_events_url":"https://api.github.com/users/phenaproxima/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/phenaproxima/media_entity_embeddable_video","description":"Embeddable video integration for media entity.","fork":true,"url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video","forks_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/forks","keys_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/teams","hooks_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/hooks","issue_events_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/issues/events{/number}","events_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/events","assignees_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/assignees{/user}","branches_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/branches{/branch}","tags_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/tags","blobs_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/git/refs{/sha}","trees_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/statuses/{sha}","languages_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/languages","stargazers_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/stargazers","contributors_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/contributors","subscribers_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/subscribers","subscription_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/subscription","commits_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/commits{/sha}","git_commits_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/git/commits{/sha}","comments_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/comments{/number}","issue_comment_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/issues/comments{/number}","contents_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/contents/{+path}","compare_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/merges","archive_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/downloads","issues_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/issues{/number}","pulls_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/pulls{/number}","milestones_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/milestones{/number}","notifications_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/labels{/name}","releases_url":"https://api.github.com/repos/phenaproxima/media_entity_embeddable_video/releases{/id}","created_at":"2015-11-25T19:27:38Z","updated_at":"2015-11-25T19:27:39Z","pushed_at":"2015-11-30T23:18:26Z","git_url":"git://github.com/phenaproxima/media_entity_embeddable_video.git","ssh_url":"git@github.com:phenaproxima/media_entity_embeddable_video.git","clone_url":"https://github.com/phenaproxima/media_entity_embeddable_video.git","svn_url":"https://github.com/phenaproxima/media_entity_embeddable_video","homepage":null,"size":49,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"8.x-1.x"}},"base":{"label":"drupal-media:8.x-1.x","ref":"8.x-1.x","sha":"38615212aa4ea54f407a72e7b887670a8f5f0364","user":{"login":"drupal-media","id":7276699,"avatar_url":"https://avatars.githubusercontent.com/u/7276699?v=3","gravatar_id":"","url":"https://api.github.com/users/drupal-media","html_url":"https://github.com/drupal-media","followers_url":"https://api.github.com/users/drupal-media/followers","following_url":"https://api.github.com/users/drupal-media/following{/other_user}","gists_url":"https://api.github.com/users/drupal-media/gists{/gist_id}","starred_url":"https://api.github.com/users/drupal-media/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drupal-media/subscriptions","organizations_url":"https://api.github.com/users/drupal-media/orgs","repos_url":"https://api.github.com/users/drupal-media/repos","events_url":"https://api.github.com/users/drupal-media/events{/privacy}","received_events_url":"https://api.github.com/users/drupal-media/received_events","type":"Organization","site_admin":false},"repo":{"id":30354108,"name":"media_entity_embeddable_video","full_name":"drupal-media/media_entity_embeddable_video","owner":{"login":"drupal-media","id":7276699,"avatar_url":"https://avatars.githubusercontent.com/u/7276699?v=3","gravatar_id":"","url":"https://api.github.com/users/drupal-media","html_url":"https://github.com/drupal-media","followers_url":"https://api.github.com/users/drupal-media/followers","following_url":"https://api.github.com/users/drupal-media/following{/other_user}","gists_url":"https://api.github.com/users/drupal-media/gists{/gist_id}","starred_url":"https://api.github.com/users/drupal-media/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drupal-media/subscriptions","organizations_url":"https://api.github.com/users/drupal-media/orgs","repos_url":"https://api.github.com/users/drupal-media/repos","events_url":"https://api.github.com/users/drupal-media/events{/privacy}","received_events_url":"https://api.github.com/users/drupal-media/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/drupal-media/media_entity_embeddable_video","description":"Embeddable video integration for media entity.","fork":false,"url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video","forks_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/forks","keys_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/keys{/key_id}","collaborators_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/teams","hooks_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/hooks","issue_events_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/issues/events{/number}","events_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/events","assignees_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/assignees{/user}","branches_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/branches{/branch}","tags_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/tags","blobs_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/git/refs{/sha}","trees_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/git/trees{/sha}","statuses_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/statuses/{sha}","languages_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/languages","stargazers_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/stargazers","contributors_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/contributors","subscribers_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/subscribers","subscription_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/subscription","commits_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/commits{/sha}","git_commits_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/git/commits{/sha}","comments_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/comments{/number}","issue_comment_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/issues/comments{/number}","contents_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/contents/{+path}","compare_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/compare/{base}...{head}","merges_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/merges","archive_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/downloads","issues_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/issues{/number}","pulls_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/pulls{/number}","milestones_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/milestones{/number}","notifications_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/labels{/name}","releases_url":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/releases{/id}","created_at":"2015-02-05T12:22:00Z","updated_at":"2015-10-16T15:10:45Z","pushed_at":"2015-12-01T12:56:07Z","git_url":"git://github.com/drupal-media/media_entity_embeddable_video.git","ssh_url":"git@github.com:drupal-media/media_entity_embeddable_video.git","clone_url":"https://github.com/drupal-media/media_entity_embeddable_video.git","svn_url":"https://github.com/drupal-media/media_entity_embeddable_video","homepage":null,"size":55,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":1,"forks":12,"open_issues":1,"watchers":1,"default_branch":"8.x-1.x"}},"_links":{"self":{"href":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/pulls/18"},"html":{"href":"https://github.com/drupal-media/media_entity_embeddable_video/pull/18"},"issue":{"href":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/issues/18"},"comments":{"href":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/drupal-media/media_entity_embeddable_video/statuses/d47e746101b167850b95248111f8c677edb97408"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":3,"commits":5,"additions":88,"deletions":16,"changed_files":3}}