{"action":"closed","number":33,"pull_request":{"url":"https://api.github.com/repos/resin-io-modules/resin-device-config/pulls/33","id":63611948,"html_url":"https://github.com/resin-io-modules/resin-device-config/pull/33","diff_url":"https://github.com/resin-io-modules/resin-device-config/pull/33.diff","patch_url":"https://github.com/resin-io-modules/resin-device-config/pull/33.patch","issue_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/issues/33","number":33,"state":"closed","locked":false,"title":"Implement a way to get a configuration for an application","user":{"login":"jviotti","id":2192773,"avatar_url":"https://avatars.githubusercontent.com/u/2192773?v=3","gravatar_id":"","url":"https://api.github.com/users/jviotti","html_url":"https://github.com/jviotti","followers_url":"https://api.github.com/users/jviotti/followers","following_url":"https://api.github.com/users/jviotti/following{/other_user}","gists_url":"https://api.github.com/users/jviotti/gists{/gist_id}","starred_url":"https://api.github.com/users/jviotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jviotti/subscriptions","organizations_url":"https://api.github.com/users/jviotti/orgs","repos_url":"https://api.github.com/users/jviotti/repos","events_url":"https://api.github.com/users/jviotti/events{/privacy}","received_events_url":"https://api.github.com/users/jviotti/received_events","type":"User","site_admin":false},"body":"Currently, we only support generating a `config.json` from a device\n(uuid), however there are legitimate use cases for generating a\n`config.json` for just an application, letting the supervisor register\nthe device resource.\n\nTo accomplish this, the following changes were made:\n\n- Rename `.get()` to `.getByDevice()`\n- Implement `.getByApplication()`","created_at":"2016-03-21T18:39:11Z","updated_at":"2016-03-21T18:56:38Z","closed_at":"2016-03-21T18:56:36Z","merged_at":"2016-03-21T18:56:36Z","merge_commit_sha":"ff65343acf42c03afa558d73315b007064e6370e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/pulls/33/commits","review_comments_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/pulls/33/comments","review_comment_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/pulls/comments{/number}","comments_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/issues/33/comments","statuses_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/statuses/7f709431b38b814187afa1543d8cbbec03e43a94","head":{"label":"resin-io-modules:feat/get-by-application","ref":"feat/get-by-application","sha":"7f709431b38b814187afa1543d8cbbec03e43a94","user":{"login":"resin-io-modules","id":17724750,"avatar_url":"https://avatars.githubusercontent.com/u/17724750?v=3","gravatar_id":"","url":"https://api.github.com/users/resin-io-modules","html_url":"https://github.com/resin-io-modules","followers_url":"https://api.github.com/users/resin-io-modules/followers","following_url":"https://api.github.com/users/resin-io-modules/following{/other_user}","gists_url":"https://api.github.com/users/resin-io-modules/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-io-modules/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-io-modules/subscriptions","organizations_url":"https://api.github.com/users/resin-io-modules/orgs","repos_url":"https://api.github.com/users/resin-io-modules/repos","events_url":"https://api.github.com/users/resin-io-modules/events{/privacy}","received_events_url":"https://api.github.com/users/resin-io-modules/received_events","type":"Organization","site_admin":false},"repo":{"id":38621402,"name":"resin-device-config","full_name":"resin-io-modules/resin-device-config","owner":{"login":"resin-io-modules","id":17724750,"avatar_url":"https://avatars.githubusercontent.com/u/17724750?v=3","gravatar_id":"","url":"https://api.github.com/users/resin-io-modules","html_url":"https://github.com/resin-io-modules","followers_url":"https://api.github.com/users/resin-io-modules/followers","following_url":"https://api.github.com/users/resin-io-modules/following{/other_user}","gists_url":"https://api.github.com/users/resin-io-modules/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-io-modules/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-io-modules/subscriptions","organizations_url":"https://api.github.com/users/resin-io-modules/orgs","repos_url":"https://api.github.com/users/resin-io-modules/repos","events_url":"https://api.github.com/users/resin-io-modules/events{/privacy}","received_events_url":"https://api.github.com/users/resin-io-modules/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/resin-io-modules/resin-device-config","description":"Get device config.json configuration.","fork":false,"url":"https://api.github.com/repos/resin-io-modules/resin-device-config","forks_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/forks","keys_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/keys{/key_id}","collaborators_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/teams","hooks_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/hooks","issue_events_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/issues/events{/number}","events_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/events","assignees_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/assignees{/user}","branches_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/branches{/branch}","tags_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/tags","blobs_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/git/refs{/sha}","trees_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/git/trees{/sha}","statuses_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/statuses/{sha}","languages_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/languages","stargazers_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/stargazers","contributors_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/contributors","subscribers_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/subscribers","subscription_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/subscription","commits_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/commits{/sha}","git_commits_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/git/commits{/sha}","comments_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/comments{/number}","issue_comment_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/issues/comments{/number}","contents_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/contents/{+path}","compare_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/compare/{base}...{head}","merges_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/merges","archive_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/downloads","issues_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/issues{/number}","pulls_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/pulls{/number}","milestones_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/milestones{/number}","notifications_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/labels{/name}","releases_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/releases{/id}","deployments_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/deployments","created_at":"2015-07-06T13:42:47Z","updated_at":"2016-03-08T16:16:12Z","pushed_at":"2016-03-21T18:56:36Z","git_url":"git://github.com/resin-io-modules/resin-device-config.git","ssh_url":"git@github.com:resin-io-modules/resin-device-config.git","clone_url":"https://github.com/resin-io-modules/resin-device-config.git","svn_url":"https://github.com/resin-io-modules/resin-device-config","homepage":null,"size":68,"stargazers_count":1,"watchers_count":1,"language":"CoffeeScript","has_issues":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":1,"default_branch":"master"}},"base":{"label":"resin-io-modules:master","ref":"master","sha":"9b9010a41b69da867ade1fbace63d945f8291767","user":{"login":"resin-io-modules","id":17724750,"avatar_url":"https://avatars.githubusercontent.com/u/17724750?v=3","gravatar_id":"","url":"https://api.github.com/users/resin-io-modules","html_url":"https://github.com/resin-io-modules","followers_url":"https://api.github.com/users/resin-io-modules/followers","following_url":"https://api.github.com/users/resin-io-modules/following{/other_user}","gists_url":"https://api.github.com/users/resin-io-modules/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-io-modules/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-io-modules/subscriptions","organizations_url":"https://api.github.com/users/resin-io-modules/orgs","repos_url":"https://api.github.com/users/resin-io-modules/repos","events_url":"https://api.github.com/users/resin-io-modules/events{/privacy}","received_events_url":"https://api.github.com/users/resin-io-modules/received_events","type":"Organization","site_admin":false},"repo":{"id":38621402,"name":"resin-device-config","full_name":"resin-io-modules/resin-device-config","owner":{"login":"resin-io-modules","id":17724750,"avatar_url":"https://avatars.githubusercontent.com/u/17724750?v=3","gravatar_id":"","url":"https://api.github.com/users/resin-io-modules","html_url":"https://github.com/resin-io-modules","followers_url":"https://api.github.com/users/resin-io-modules/followers","following_url":"https://api.github.com/users/resin-io-modules/following{/other_user}","gists_url":"https://api.github.com/users/resin-io-modules/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-io-modules/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-io-modules/subscriptions","organizations_url":"https://api.github.com/users/resin-io-modules/orgs","repos_url":"https://api.github.com/users/resin-io-modules/repos","events_url":"https://api.github.com/users/resin-io-modules/events{/privacy}","received_events_url":"https://api.github.com/users/resin-io-modules/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/resin-io-modules/resin-device-config","description":"Get device config.json configuration.","fork":false,"url":"https://api.github.com/repos/resin-io-modules/resin-device-config","forks_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/forks","keys_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/keys{/key_id}","collaborators_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/teams","hooks_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/hooks","issue_events_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/issues/events{/number}","events_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/events","assignees_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/assignees{/user}","branches_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/branches{/branch}","tags_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/tags","blobs_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/git/refs{/sha}","trees_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/git/trees{/sha}","statuses_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/statuses/{sha}","languages_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/languages","stargazers_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/stargazers","contributors_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/contributors","subscribers_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/subscribers","subscription_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/subscription","commits_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/commits{/sha}","git_commits_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/git/commits{/sha}","comments_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/comments{/number}","issue_comment_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/issues/comments{/number}","contents_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/contents/{+path}","compare_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/compare/{base}...{head}","merges_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/merges","archive_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/downloads","issues_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/issues{/number}","pulls_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/pulls{/number}","milestones_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/milestones{/number}","notifications_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/labels{/name}","releases_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/releases{/id}","deployments_url":"https://api.github.com/repos/resin-io-modules/resin-device-config/deployments","created_at":"2015-07-06T13:42:47Z","updated_at":"2016-03-08T16:16:12Z","pushed_at":"2016-03-21T18:56:36Z","git_url":"git://github.com/resin-io-modules/resin-device-config.git","ssh_url":"git@github.com:resin-io-modules/resin-device-config.git","clone_url":"https://github.com/resin-io-modules/resin-device-config.git","svn_url":"https://github.com/resin-io-modules/resin-device-config","homepage":null,"size":68,"stargazers_count":1,"watchers_count":1,"language":"CoffeeScript","has_issues":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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/resin-io-modules/resin-device-config/pulls/33"},"html":{"href":"https://github.com/resin-io-modules/resin-device-config/pull/33"},"issue":{"href":"https://api.github.com/repos/resin-io-modules/resin-device-config/issues/33"},"comments":{"href":"https://api.github.com/repos/resin-io-modules/resin-device-config/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/resin-io-modules/resin-device-config/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/resin-io-modules/resin-device-config/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/resin-io-modules/resin-device-config/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/resin-io-modules/resin-device-config/statuses/7f709431b38b814187afa1543d8cbbec03e43a94"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jviotti","id":2192773,"avatar_url":"https://avatars.githubusercontent.com/u/2192773?v=3","gravatar_id":"","url":"https://api.github.com/users/jviotti","html_url":"https://github.com/jviotti","followers_url":"https://api.github.com/users/jviotti/followers","following_url":"https://api.github.com/users/jviotti/following{/other_user}","gists_url":"https://api.github.com/users/jviotti/gists{/gist_id}","starred_url":"https://api.github.com/users/jviotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jviotti/subscriptions","organizations_url":"https://api.github.com/users/jviotti/orgs","repos_url":"https://api.github.com/users/jviotti/repos","events_url":"https://api.github.com/users/jviotti/events{/privacy}","received_events_url":"https://api.github.com/users/jviotti/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":303,"deletions":78,"changed_files":4}}