{"action":"opened","number":6,"pull_request":{"url":"https://api.github.com/repos/mpiercy827/aapod-api/pulls/6","id":118479741,"html_url":"https://github.com/mpiercy827/aapod-api/pull/6","diff_url":"https://github.com/mpiercy827/aapod-api/pull/6.diff","patch_url":"https://github.com/mpiercy827/aapod-api/pull/6.patch","issue_url":"https://api.github.com/repos/mpiercy827/aapod-api/issues/6","number":6,"state":"open","locked":false,"title":"feat(download): Download APOD response to Media model","user":{"login":"mpiercy827","id":10817843,"avatar_url":"https://avatars3.githubusercontent.com/u/10817843?v=3","gravatar_id":"","url":"https://api.github.com/users/mpiercy827","html_url":"https://github.com/mpiercy827","followers_url":"https://api.github.com/users/mpiercy827/followers","following_url":"https://api.github.com/users/mpiercy827/following{/other_user}","gists_url":"https://api.github.com/users/mpiercy827/gists{/gist_id}","starred_url":"https://api.github.com/users/mpiercy827/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpiercy827/subscriptions","organizations_url":"https://api.github.com/users/mpiercy827/orgs","repos_url":"https://api.github.com/users/mpiercy827/repos","events_url":"https://api.github.com/users/mpiercy827/events{/privacy}","received_events_url":"https://api.github.com/users/mpiercy827/received_events","type":"User","site_admin":false},"body":"- [x] Makes `id` column in `media` table auto increment.\r\n- [x] Ability to download image or video `Media` model from APOD response.\r\n- [x] For images, uploads image to S3 and uses the resulting url in the `Media` model.","created_at":"2017-05-02T03:26:25Z","updated_at":"2017-05-02T03:26:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mpiercy827/aapod-api/pulls/6/commits","review_comments_url":"https://api.github.com/repos/mpiercy827/aapod-api/pulls/6/comments","review_comment_url":"https://api.github.com/repos/mpiercy827/aapod-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mpiercy827/aapod-api/issues/6/comments","statuses_url":"https://api.github.com/repos/mpiercy827/aapod-api/statuses/e649d1a74f6e35c74ad67b127ea7a8769ba6c957","head":{"label":"mpiercy827:nasa-to-s3","ref":"nasa-to-s3","sha":"e649d1a74f6e35c74ad67b127ea7a8769ba6c957","user":{"login":"mpiercy827","id":10817843,"avatar_url":"https://avatars3.githubusercontent.com/u/10817843?v=3","gravatar_id":"","url":"https://api.github.com/users/mpiercy827","html_url":"https://github.com/mpiercy827","followers_url":"https://api.github.com/users/mpiercy827/followers","following_url":"https://api.github.com/users/mpiercy827/following{/other_user}","gists_url":"https://api.github.com/users/mpiercy827/gists{/gist_id}","starred_url":"https://api.github.com/users/mpiercy827/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpiercy827/subscriptions","organizations_url":"https://api.github.com/users/mpiercy827/orgs","repos_url":"https://api.github.com/users/mpiercy827/repos","events_url":"https://api.github.com/users/mpiercy827/events{/privacy}","received_events_url":"https://api.github.com/users/mpiercy827/received_events","type":"User","site_admin":false},"repo":{"id":89436065,"name":"aapod-api","full_name":"mpiercy827/aapod-api","owner":{"login":"mpiercy827","id":10817843,"avatar_url":"https://avatars3.githubusercontent.com/u/10817843?v=3","gravatar_id":"","url":"https://api.github.com/users/mpiercy827","html_url":"https://github.com/mpiercy827","followers_url":"https://api.github.com/users/mpiercy827/followers","following_url":"https://api.github.com/users/mpiercy827/following{/other_user}","gists_url":"https://api.github.com/users/mpiercy827/gists{/gist_id}","starred_url":"https://api.github.com/users/mpiercy827/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpiercy827/subscriptions","organizations_url":"https://api.github.com/users/mpiercy827/orgs","repos_url":"https://api.github.com/users/mpiercy827/repos","events_url":"https://api.github.com/users/mpiercy827/events{/privacy}","received_events_url":"https://api.github.com/users/mpiercy827/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mpiercy827/aapod-api","description":"Another APOD","fork":false,"url":"https://api.github.com/repos/mpiercy827/aapod-api","forks_url":"https://api.github.com/repos/mpiercy827/aapod-api/forks","keys_url":"https://api.github.com/repos/mpiercy827/aapod-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mpiercy827/aapod-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mpiercy827/aapod-api/teams","hooks_url":"https://api.github.com/repos/mpiercy827/aapod-api/hooks","issue_events_url":"https://api.github.com/repos/mpiercy827/aapod-api/issues/events{/number}","events_url":"https://api.github.com/repos/mpiercy827/aapod-api/events","assignees_url":"https://api.github.com/repos/mpiercy827/aapod-api/assignees{/user}","branches_url":"https://api.github.com/repos/mpiercy827/aapod-api/branches{/branch}","tags_url":"https://api.github.com/repos/mpiercy827/aapod-api/tags","blobs_url":"https://api.github.com/repos/mpiercy827/aapod-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mpiercy827/aapod-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mpiercy827/aapod-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/mpiercy827/aapod-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mpiercy827/aapod-api/statuses/{sha}","languages_url":"https://api.github.com/repos/mpiercy827/aapod-api/languages","stargazers_url":"https://api.github.com/repos/mpiercy827/aapod-api/stargazers","contributors_url":"https://api.github.com/repos/mpiercy827/aapod-api/contributors","subscribers_url":"https://api.github.com/repos/mpiercy827/aapod-api/subscribers","subscription_url":"https://api.github.com/repos/mpiercy827/aapod-api/subscription","commits_url":"https://api.github.com/repos/mpiercy827/aapod-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/mpiercy827/aapod-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/mpiercy827/aapod-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/mpiercy827/aapod-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/mpiercy827/aapod-api/contents/{+path}","compare_url":"https://api.github.com/repos/mpiercy827/aapod-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mpiercy827/aapod-api/merges","archive_url":"https://api.github.com/repos/mpiercy827/aapod-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mpiercy827/aapod-api/downloads","issues_url":"https://api.github.com/repos/mpiercy827/aapod-api/issues{/number}","pulls_url":"https://api.github.com/repos/mpiercy827/aapod-api/pulls{/number}","milestones_url":"https://api.github.com/repos/mpiercy827/aapod-api/milestones{/number}","notifications_url":"https://api.github.com/repos/mpiercy827/aapod-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mpiercy827/aapod-api/labels{/name}","releases_url":"https://api.github.com/repos/mpiercy827/aapod-api/releases{/id}","deployments_url":"https://api.github.com/repos/mpiercy827/aapod-api/deployments","created_at":"2017-04-26T03:59:52Z","updated_at":"2017-04-27T03:42:07Z","pushed_at":"2017-05-02T03:24:18Z","git_url":"git://github.com/mpiercy827/aapod-api.git","ssh_url":"git@github.com:mpiercy827/aapod-api.git","clone_url":"https://github.com/mpiercy827/aapod-api.git","svn_url":"https://github.com/mpiercy827/aapod-api","homepage":null,"size":322,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"mpiercy827:master","ref":"master","sha":"352912aaeeba8a1cc6f12f3c30b0d43df9f0506f","user":{"login":"mpiercy827","id":10817843,"avatar_url":"https://avatars3.githubusercontent.com/u/10817843?v=3","gravatar_id":"","url":"https://api.github.com/users/mpiercy827","html_url":"https://github.com/mpiercy827","followers_url":"https://api.github.com/users/mpiercy827/followers","following_url":"https://api.github.com/users/mpiercy827/following{/other_user}","gists_url":"https://api.github.com/users/mpiercy827/gists{/gist_id}","starred_url":"https://api.github.com/users/mpiercy827/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpiercy827/subscriptions","organizations_url":"https://api.github.com/users/mpiercy827/orgs","repos_url":"https://api.github.com/users/mpiercy827/repos","events_url":"https://api.github.com/users/mpiercy827/events{/privacy}","received_events_url":"https://api.github.com/users/mpiercy827/received_events","type":"User","site_admin":false},"repo":{"id":89436065,"name":"aapod-api","full_name":"mpiercy827/aapod-api","owner":{"login":"mpiercy827","id":10817843,"avatar_url":"https://avatars3.githubusercontent.com/u/10817843?v=3","gravatar_id":"","url":"https://api.github.com/users/mpiercy827","html_url":"https://github.com/mpiercy827","followers_url":"https://api.github.com/users/mpiercy827/followers","following_url":"https://api.github.com/users/mpiercy827/following{/other_user}","gists_url":"https://api.github.com/users/mpiercy827/gists{/gist_id}","starred_url":"https://api.github.com/users/mpiercy827/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpiercy827/subscriptions","organizations_url":"https://api.github.com/users/mpiercy827/orgs","repos_url":"https://api.github.com/users/mpiercy827/repos","events_url":"https://api.github.com/users/mpiercy827/events{/privacy}","received_events_url":"https://api.github.com/users/mpiercy827/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mpiercy827/aapod-api","description":"Another APOD","fork":false,"url":"https://api.github.com/repos/mpiercy827/aapod-api","forks_url":"https://api.github.com/repos/mpiercy827/aapod-api/forks","keys_url":"https://api.github.com/repos/mpiercy827/aapod-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mpiercy827/aapod-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mpiercy827/aapod-api/teams","hooks_url":"https://api.github.com/repos/mpiercy827/aapod-api/hooks","issue_events_url":"https://api.github.com/repos/mpiercy827/aapod-api/issues/events{/number}","events_url":"https://api.github.com/repos/mpiercy827/aapod-api/events","assignees_url":"https://api.github.com/repos/mpiercy827/aapod-api/assignees{/user}","branches_url":"https://api.github.com/repos/mpiercy827/aapod-api/branches{/branch}","tags_url":"https://api.github.com/repos/mpiercy827/aapod-api/tags","blobs_url":"https://api.github.com/repos/mpiercy827/aapod-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mpiercy827/aapod-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mpiercy827/aapod-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/mpiercy827/aapod-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mpiercy827/aapod-api/statuses/{sha}","languages_url":"https://api.github.com/repos/mpiercy827/aapod-api/languages","stargazers_url":"https://api.github.com/repos/mpiercy827/aapod-api/stargazers","contributors_url":"https://api.github.com/repos/mpiercy827/aapod-api/contributors","subscribers_url":"https://api.github.com/repos/mpiercy827/aapod-api/subscribers","subscription_url":"https://api.github.com/repos/mpiercy827/aapod-api/subscription","commits_url":"https://api.github.com/repos/mpiercy827/aapod-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/mpiercy827/aapod-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/mpiercy827/aapod-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/mpiercy827/aapod-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/mpiercy827/aapod-api/contents/{+path}","compare_url":"https://api.github.com/repos/mpiercy827/aapod-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mpiercy827/aapod-api/merges","archive_url":"https://api.github.com/repos/mpiercy827/aapod-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mpiercy827/aapod-api/downloads","issues_url":"https://api.github.com/repos/mpiercy827/aapod-api/issues{/number}","pulls_url":"https://api.github.com/repos/mpiercy827/aapod-api/pulls{/number}","milestones_url":"https://api.github.com/repos/mpiercy827/aapod-api/milestones{/number}","notifications_url":"https://api.github.com/repos/mpiercy827/aapod-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mpiercy827/aapod-api/labels{/name}","releases_url":"https://api.github.com/repos/mpiercy827/aapod-api/releases{/id}","deployments_url":"https://api.github.com/repos/mpiercy827/aapod-api/deployments","created_at":"2017-04-26T03:59:52Z","updated_at":"2017-04-27T03:42:07Z","pushed_at":"2017-05-02T03:24:18Z","git_url":"git://github.com/mpiercy827/aapod-api.git","ssh_url":"git@github.com:mpiercy827/aapod-api.git","clone_url":"https://github.com/mpiercy827/aapod-api.git","svn_url":"https://github.com/mpiercy827/aapod-api","homepage":null,"size":322,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mpiercy827/aapod-api/pulls/6"},"html":{"href":"https://github.com/mpiercy827/aapod-api/pull/6"},"issue":{"href":"https://api.github.com/repos/mpiercy827/aapod-api/issues/6"},"comments":{"href":"https://api.github.com/repos/mpiercy827/aapod-api/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/mpiercy827/aapod-api/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/mpiercy827/aapod-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mpiercy827/aapod-api/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/mpiercy827/aapod-api/statuses/e649d1a74f6e35c74ad67b127ea7a8769ba6c957"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":153,"deletions":9,"changed_files":8}}
{"actor":{"display_login":"mpiercy827"}}