{"action":"closed","number":15,"pull_request":{"url":"https://api.github.com/repos/Zensavona/elixtagram/pulls/15","id":114158867,"html_url":"https://github.com/Zensavona/elixtagram/pull/15","diff_url":"https://github.com/Zensavona/elixtagram/pull/15.diff","patch_url":"https://github.com/Zensavona/elixtagram/pull/15.patch","issue_url":"https://api.github.com/repos/Zensavona/elixtagram/issues/15","number":15,"state":"closed","locked":false,"title":"add videos field to media model","user":{"login":"mendab1e","id":854386,"avatar_url":"https://avatars1.githubusercontent.com/u/854386?v=3","gravatar_id":"","url":"https://api.github.com/users/mendab1e","html_url":"https://github.com/mendab1e","followers_url":"https://api.github.com/users/mendab1e/followers","following_url":"https://api.github.com/users/mendab1e/following{/other_user}","gists_url":"https://api.github.com/users/mendab1e/gists{/gist_id}","starred_url":"https://api.github.com/users/mendab1e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mendab1e/subscriptions","organizations_url":"https://api.github.com/users/mendab1e/orgs","repos_url":"https://api.github.com/users/mendab1e/repos","events_url":"https://api.github.com/users/mendab1e/events{/privacy}","received_events_url":"https://api.github.com/users/mendab1e/received_events","type":"User","site_admin":false},"body":"Hello. I've found that all media queries provide only images, even if they have `type: \"video\"`. In this PR `videos` field has been added to `%Elixtagram.Model.Media`. \r\n\r\nHere is the sample response with videos:\r\n```\r\nvideos: %{low_bandwidth: %{height: 270,\r\n      url: \"https://scontent.cdninstagram.com/t50.2886-16/17747204_171368300050625_8951991620564156416_n.mp4\",\r\n      width: 480},\r\n    low_resolution: %{height: 270,\r\n      url: \"https://scontent.cdninstagram.com/t50.2886-16/17747204_171368300050625_8951991620564156416_n.mp4\",\r\n      width: 480},\r\n    standard_resolution: %{height: 360,\r\n      url: \"https://scontent.cdninstagram.com/t50.2886-16/17777682_217499228732812_4195993051723726848_n.mp4\",\r\n      width: 640}}}]\r\n```","created_at":"2017-04-04T14:14:55Z","updated_at":"2017-04-04T22:47:27Z","closed_at":"2017-04-04T22:47:27Z","merged_at":"2017-04-04T22:47:27Z","merge_commit_sha":"50096f6a96803c6d0e4ee66203df2df9aad65b9b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Zensavona/elixtagram/pulls/15/commits","review_comments_url":"https://api.github.com/repos/Zensavona/elixtagram/pulls/15/comments","review_comment_url":"https://api.github.com/repos/Zensavona/elixtagram/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Zensavona/elixtagram/issues/15/comments","statuses_url":"https://api.github.com/repos/Zensavona/elixtagram/statuses/6f7c5d3d6c0fdf903609bc05cbac3b4d26585b50","head":{"label":"mendab1e:video-support-for-media","ref":"video-support-for-media","sha":"6f7c5d3d6c0fdf903609bc05cbac3b4d26585b50","user":{"login":"mendab1e","id":854386,"avatar_url":"https://avatars1.githubusercontent.com/u/854386?v=3","gravatar_id":"","url":"https://api.github.com/users/mendab1e","html_url":"https://github.com/mendab1e","followers_url":"https://api.github.com/users/mendab1e/followers","following_url":"https://api.github.com/users/mendab1e/following{/other_user}","gists_url":"https://api.github.com/users/mendab1e/gists{/gist_id}","starred_url":"https://api.github.com/users/mendab1e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mendab1e/subscriptions","organizations_url":"https://api.github.com/users/mendab1e/orgs","repos_url":"https://api.github.com/users/mendab1e/repos","events_url":"https://api.github.com/users/mendab1e/events{/privacy}","received_events_url":"https://api.github.com/users/mendab1e/received_events","type":"User","site_admin":false},"repo":{"id":87192849,"name":"elixtagram","full_name":"mendab1e/elixtagram","owner":{"login":"mendab1e","id":854386,"avatar_url":"https://avatars1.githubusercontent.com/u/854386?v=3","gravatar_id":"","url":"https://api.github.com/users/mendab1e","html_url":"https://github.com/mendab1e","followers_url":"https://api.github.com/users/mendab1e/followers","following_url":"https://api.github.com/users/mendab1e/following{/other_user}","gists_url":"https://api.github.com/users/mendab1e/gists{/gist_id}","starred_url":"https://api.github.com/users/mendab1e/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mendab1e/subscriptions","organizations_url":"https://api.github.com/users/mendab1e/orgs","repos_url":"https://api.github.com/users/mendab1e/repos","events_url":"https://api.github.com/users/mendab1e/events{/privacy}","received_events_url":"https://api.github.com/users/mendab1e/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mendab1e/elixtagram","description":":camera: Instagram API client for the Elixir language (elixir-lang)","fork":true,"url":"https://api.github.com/repos/mendab1e/elixtagram","forks_url":"https://api.github.com/repos/mendab1e/elixtagram/forks","keys_url":"https://api.github.com/repos/mendab1e/elixtagram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mendab1e/elixtagram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mendab1e/elixtagram/teams","hooks_url":"https://api.github.com/repos/mendab1e/elixtagram/hooks","issue_events_url":"https://api.github.com/repos/mendab1e/elixtagram/issues/events{/number}","events_url":"https://api.github.com/repos/mendab1e/elixtagram/events","assignees_url":"https://api.github.com/repos/mendab1e/elixtagram/assignees{/user}","branches_url":"https://api.github.com/repos/mendab1e/elixtagram/branches{/branch}","tags_url":"https://api.github.com/repos/mendab1e/elixtagram/tags","blobs_url":"https://api.github.com/repos/mendab1e/elixtagram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mendab1e/elixtagram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mendab1e/elixtagram/git/refs{/sha}","trees_url":"https://api.github.com/repos/mendab1e/elixtagram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mendab1e/elixtagram/statuses/{sha}","languages_url":"https://api.github.com/repos/mendab1e/elixtagram/languages","stargazers_url":"https://api.github.com/repos/mendab1e/elixtagram/stargazers","contributors_url":"https://api.github.com/repos/mendab1e/elixtagram/contributors","subscribers_url":"https://api.github.com/repos/mendab1e/elixtagram/subscribers","subscription_url":"https://api.github.com/repos/mendab1e/elixtagram/subscription","commits_url":"https://api.github.com/repos/mendab1e/elixtagram/commits{/sha}","git_commits_url":"https://api.github.com/repos/mendab1e/elixtagram/git/commits{/sha}","comments_url":"https://api.github.com/repos/mendab1e/elixtagram/comments{/number}","issue_comment_url":"https://api.github.com/repos/mendab1e/elixtagram/issues/comments{/number}","contents_url":"https://api.github.com/repos/mendab1e/elixtagram/contents/{+path}","compare_url":"https://api.github.com/repos/mendab1e/elixtagram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mendab1e/elixtagram/merges","archive_url":"https://api.github.com/repos/mendab1e/elixtagram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mendab1e/elixtagram/downloads","issues_url":"https://api.github.com/repos/mendab1e/elixtagram/issues{/number}","pulls_url":"https://api.github.com/repos/mendab1e/elixtagram/pulls{/number}","milestones_url":"https://api.github.com/repos/mendab1e/elixtagram/milestones{/number}","notifications_url":"https://api.github.com/repos/mendab1e/elixtagram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mendab1e/elixtagram/labels{/name}","releases_url":"https://api.github.com/repos/mendab1e/elixtagram/releases{/id}","deployments_url":"https://api.github.com/repos/mendab1e/elixtagram/deployments","created_at":"2017-04-04T13:54:15Z","updated_at":"2017-04-04T13:54:17Z","pushed_at":"2017-04-04T13:59:48Z","git_url":"git://github.com/mendab1e/elixtagram.git","ssh_url":"git@github.com:mendab1e/elixtagram.git","clone_url":"https://github.com/mendab1e/elixtagram.git","svn_url":"https://github.com/mendab1e/elixtagram","homepage":"https://hex.pm/packages/elixtagram","size":355,"stargazers_count":0,"watchers_count":0,"language":"Elixir","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Zensavona:master","ref":"master","sha":"092cb6bc2c7e7d2182ad3ec7da966f71dd3ce8d8","user":{"login":"Zensavona","id":425801,"avatar_url":"https://avatars3.githubusercontent.com/u/425801?v=3","gravatar_id":"","url":"https://api.github.com/users/Zensavona","html_url":"https://github.com/Zensavona","followers_url":"https://api.github.com/users/Zensavona/followers","following_url":"https://api.github.com/users/Zensavona/following{/other_user}","gists_url":"https://api.github.com/users/Zensavona/gists{/gist_id}","starred_url":"https://api.github.com/users/Zensavona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zensavona/subscriptions","organizations_url":"https://api.github.com/users/Zensavona/orgs","repos_url":"https://api.github.com/users/Zensavona/repos","events_url":"https://api.github.com/users/Zensavona/events{/privacy}","received_events_url":"https://api.github.com/users/Zensavona/received_events","type":"User","site_admin":false},"repo":{"id":43373845,"name":"elixtagram","full_name":"Zensavona/elixtagram","owner":{"login":"Zensavona","id":425801,"avatar_url":"https://avatars3.githubusercontent.com/u/425801?v=3","gravatar_id":"","url":"https://api.github.com/users/Zensavona","html_url":"https://github.com/Zensavona","followers_url":"https://api.github.com/users/Zensavona/followers","following_url":"https://api.github.com/users/Zensavona/following{/other_user}","gists_url":"https://api.github.com/users/Zensavona/gists{/gist_id}","starred_url":"https://api.github.com/users/Zensavona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zensavona/subscriptions","organizations_url":"https://api.github.com/users/Zensavona/orgs","repos_url":"https://api.github.com/users/Zensavona/repos","events_url":"https://api.github.com/users/Zensavona/events{/privacy}","received_events_url":"https://api.github.com/users/Zensavona/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Zensavona/elixtagram","description":":camera: Instagram API client for the Elixir language (elixir-lang)","fork":false,"url":"https://api.github.com/repos/Zensavona/elixtagram","forks_url":"https://api.github.com/repos/Zensavona/elixtagram/forks","keys_url":"https://api.github.com/repos/Zensavona/elixtagram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Zensavona/elixtagram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Zensavona/elixtagram/teams","hooks_url":"https://api.github.com/repos/Zensavona/elixtagram/hooks","issue_events_url":"https://api.github.com/repos/Zensavona/elixtagram/issues/events{/number}","events_url":"https://api.github.com/repos/Zensavona/elixtagram/events","assignees_url":"https://api.github.com/repos/Zensavona/elixtagram/assignees{/user}","branches_url":"https://api.github.com/repos/Zensavona/elixtagram/branches{/branch}","tags_url":"https://api.github.com/repos/Zensavona/elixtagram/tags","blobs_url":"https://api.github.com/repos/Zensavona/elixtagram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Zensavona/elixtagram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Zensavona/elixtagram/git/refs{/sha}","trees_url":"https://api.github.com/repos/Zensavona/elixtagram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Zensavona/elixtagram/statuses/{sha}","languages_url":"https://api.github.com/repos/Zensavona/elixtagram/languages","stargazers_url":"https://api.github.com/repos/Zensavona/elixtagram/stargazers","contributors_url":"https://api.github.com/repos/Zensavona/elixtagram/contributors","subscribers_url":"https://api.github.com/repos/Zensavona/elixtagram/subscribers","subscription_url":"https://api.github.com/repos/Zensavona/elixtagram/subscription","commits_url":"https://api.github.com/repos/Zensavona/elixtagram/commits{/sha}","git_commits_url":"https://api.github.com/repos/Zensavona/elixtagram/git/commits{/sha}","comments_url":"https://api.github.com/repos/Zensavona/elixtagram/comments{/number}","issue_comment_url":"https://api.github.com/repos/Zensavona/elixtagram/issues/comments{/number}","contents_url":"https://api.github.com/repos/Zensavona/elixtagram/contents/{+path}","compare_url":"https://api.github.com/repos/Zensavona/elixtagram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Zensavona/elixtagram/merges","archive_url":"https://api.github.com/repos/Zensavona/elixtagram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Zensavona/elixtagram/downloads","issues_url":"https://api.github.com/repos/Zensavona/elixtagram/issues{/number}","pulls_url":"https://api.github.com/repos/Zensavona/elixtagram/pulls{/number}","milestones_url":"https://api.github.com/repos/Zensavona/elixtagram/milestones{/number}","notifications_url":"https://api.github.com/repos/Zensavona/elixtagram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Zensavona/elixtagram/labels{/name}","releases_url":"https://api.github.com/repos/Zensavona/elixtagram/releases{/id}","deployments_url":"https://api.github.com/repos/Zensavona/elixtagram/deployments","created_at":"2015-09-29T14:46:36Z","updated_at":"2017-03-29T01:42:33Z","pushed_at":"2017-04-04T22:47:27Z","git_url":"git://github.com/Zensavona/elixtagram.git","ssh_url":"git@github.com:Zensavona/elixtagram.git","clone_url":"https://github.com/Zensavona/elixtagram.git","svn_url":"https://github.com/Zensavona/elixtagram","homepage":"https://hex.pm/packages/elixtagram","size":356,"stargazers_count":42,"watchers_count":42,"language":"Elixir","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":1,"forks":9,"open_issues":1,"watchers":42,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Zensavona/elixtagram/pulls/15"},"html":{"href":"https://github.com/Zensavona/elixtagram/pull/15"},"issue":{"href":"https://api.github.com/repos/Zensavona/elixtagram/issues/15"},"comments":{"href":"https://api.github.com/repos/Zensavona/elixtagram/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/Zensavona/elixtagram/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/Zensavona/elixtagram/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Zensavona/elixtagram/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/Zensavona/elixtagram/statuses/6f7c5d3d6c0fdf903609bc05cbac3b4d26585b50"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Zensavona","id":425801,"avatar_url":"https://avatars3.githubusercontent.com/u/425801?v=3","gravatar_id":"","url":"https://api.github.com/users/Zensavona","html_url":"https://github.com/Zensavona","followers_url":"https://api.github.com/users/Zensavona/followers","following_url":"https://api.github.com/users/Zensavona/following{/other_user}","gists_url":"https://api.github.com/users/Zensavona/gists{/gist_id}","starred_url":"https://api.github.com/users/Zensavona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zensavona/subscriptions","organizations_url":"https://api.github.com/users/Zensavona/orgs","repos_url":"https://api.github.com/users/Zensavona/repos","events_url":"https://api.github.com/users/Zensavona/events{/privacy}","received_events_url":"https://api.github.com/users/Zensavona/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":2,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"Zensavona"}}