{"action":"closed","number":363,"pull_request":{"url":"https://api.github.com/repos/cozy/cozy-banks/pulls/363","id":209645099,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5NjQ1MDk5","html_url":"https://github.com/cozy/cozy-banks/pull/363","diff_url":"https://github.com/cozy/cozy-banks/pull/363.diff","patch_url":"https://github.com/cozy/cozy-banks/pull/363.patch","issue_url":"https://api.github.com/repos/cozy/cozy-banks/issues/363","number":363,"state":"closed","locked":false,"title":"feat(bills): bills are fetched through cozy-client","user":{"login":"ptbrowne","id":465582,"node_id":"MDQ6VXNlcjQ2NTU4Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/465582?v=4","gravatar_id":"","url":"https://api.github.com/users/ptbrowne","html_url":"https://github.com/ptbrowne","followers_url":"https://api.github.com/users/ptbrowne/followers","following_url":"https://api.github.com/users/ptbrowne/following{/other_user}","gists_url":"https://api.github.com/users/ptbrowne/gists{/gist_id}","starred_url":"https://api.github.com/users/ptbrowne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptbrowne/subscriptions","organizations_url":"https://api.github.com/users/ptbrowne/orgs","repos_url":"https://api.github.com/users/ptbrowne/repos","events_url":"https://api.github.com/users/ptbrowne/events{/privacy}","received_events_url":"https://api.github.com/users/ptbrowne/received_events","type":"User","site_admin":false},"body":"⚠️ Must wait for cozy/cozy-client#95 to be merged\r\n\r\nHere we use a custom relationship to fetch bills through our own `QueryDefinition`. For each transactions, its bills are fetched in one request.\r\n\r\nWIP : tests need to be fixed.","created_at":"2018-08-20T21:12:25Z","updated_at":"2018-08-21T17:05:20Z","closed_at":"2018-08-21T17:05:20Z","merged_at":"2018-08-21T17:05:20Z","merge_commit_sha":"365c7c1cd5177ccb5c560dd411637541847509b0","assignee":null,"assignees":[],"requested_reviewers":[{"login":"kosssi","id":1135513,"node_id":"MDQ6VXNlcjExMzU1MTM=","avatar_url":"https://avatars2.githubusercontent.com/u/1135513?v=4","gravatar_id":"","url":"https://api.github.com/users/kosssi","html_url":"https://github.com/kosssi","followers_url":"https://api.github.com/users/kosssi/followers","following_url":"https://api.github.com/users/kosssi/following{/other_user}","gists_url":"https://api.github.com/users/kosssi/gists{/gist_id}","starred_url":"https://api.github.com/users/kosssi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosssi/subscriptions","organizations_url":"https://api.github.com/users/kosssi/orgs","repos_url":"https://api.github.com/users/kosssi/repos","events_url":"https://api.github.com/users/kosssi/events{/privacy}","received_events_url":"https://api.github.com/users/kosssi/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cozy/cozy-banks/pulls/363/commits","review_comments_url":"https://api.github.com/repos/cozy/cozy-banks/pulls/363/comments","review_comment_url":"https://api.github.com/repos/cozy/cozy-banks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cozy/cozy-banks/issues/363/comments","statuses_url":"https://api.github.com/repos/cozy/cozy-banks/statuses/7f76f8c4ad660a37dc5bebc75e6ec00d950bf43d","head":{"label":"cozy:bill-relationship","ref":"bill-relationship","sha":"7f76f8c4ad660a37dc5bebc75e6ec00d950bf43d","user":{"login":"cozy","id":7690525,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2OTA1MjU=","avatar_url":"https://avatars0.githubusercontent.com/u/7690525?v=4","gravatar_id":"","url":"https://api.github.com/users/cozy","html_url":"https://github.com/cozy","followers_url":"https://api.github.com/users/cozy/followers","following_url":"https://api.github.com/users/cozy/following{/other_user}","gists_url":"https://api.github.com/users/cozy/gists{/gist_id}","starred_url":"https://api.github.com/users/cozy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cozy/subscriptions","organizations_url":"https://api.github.com/users/cozy/orgs","repos_url":"https://api.github.com/users/cozy/repos","events_url":"https://api.github.com/users/cozy/events{/privacy}","received_events_url":"https://api.github.com/users/cozy/received_events","type":"Organization","site_admin":false},"repo":{"id":127015178,"node_id":"MDEwOlJlcG9zaXRvcnkxMjcwMTUxNzg=","name":"cozy-banks","full_name":"cozy/cozy-banks","owner":{"login":"cozy","id":7690525,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2OTA1MjU=","avatar_url":"https://avatars0.githubusercontent.com/u/7690525?v=4","gravatar_id":"","url":"https://api.github.com/users/cozy","html_url":"https://github.com/cozy","followers_url":"https://api.github.com/users/cozy/followers","following_url":"https://api.github.com/users/cozy/following{/other_user}","gists_url":"https://api.github.com/users/cozy/gists{/gist_id}","starred_url":"https://api.github.com/users/cozy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cozy/subscriptions","organizations_url":"https://api.github.com/users/cozy/orgs","repos_url":"https://api.github.com/users/cozy/repos","events_url":"https://api.github.com/users/cozy/events{/privacy}","received_events_url":"https://api.github.com/users/cozy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cozy/cozy-banks","description":"A Banks Aggregator on Cozy","fork":false,"url":"https://api.github.com/repos/cozy/cozy-banks","forks_url":"https://api.github.com/repos/cozy/cozy-banks/forks","keys_url":"https://api.github.com/repos/cozy/cozy-banks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cozy/cozy-banks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cozy/cozy-banks/teams","hooks_url":"https://api.github.com/repos/cozy/cozy-banks/hooks","issue_events_url":"https://api.github.com/repos/cozy/cozy-banks/issues/events{/number}","events_url":"https://api.github.com/repos/cozy/cozy-banks/events","assignees_url":"https://api.github.com/repos/cozy/cozy-banks/assignees{/user}","branches_url":"https://api.github.com/repos/cozy/cozy-banks/branches{/branch}","tags_url":"https://api.github.com/repos/cozy/cozy-banks/tags","blobs_url":"https://api.github.com/repos/cozy/cozy-banks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cozy/cozy-banks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cozy/cozy-banks/git/refs{/sha}","trees_url":"https://api.github.com/repos/cozy/cozy-banks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cozy/cozy-banks/statuses/{sha}","languages_url":"https://api.github.com/repos/cozy/cozy-banks/languages","stargazers_url":"https://api.github.com/repos/cozy/cozy-banks/stargazers","contributors_url":"https://api.github.com/repos/cozy/cozy-banks/contributors","subscribers_url":"https://api.github.com/repos/cozy/cozy-banks/subscribers","subscription_url":"https://api.github.com/repos/cozy/cozy-banks/subscription","commits_url":"https://api.github.com/repos/cozy/cozy-banks/commits{/sha}","git_commits_url":"https://api.github.com/repos/cozy/cozy-banks/git/commits{/sha}","comments_url":"https://api.github.com/repos/cozy/cozy-banks/comments{/number}","issue_comment_url":"https://api.github.com/repos/cozy/cozy-banks/issues/comments{/number}","contents_url":"https://api.github.com/repos/cozy/cozy-banks/contents/{+path}","compare_url":"https://api.github.com/repos/cozy/cozy-banks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cozy/cozy-banks/merges","archive_url":"https://api.github.com/repos/cozy/cozy-banks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cozy/cozy-banks/downloads","issues_url":"https://api.github.com/repos/cozy/cozy-banks/issues{/number}","pulls_url":"https://api.github.com/repos/cozy/cozy-banks/pulls{/number}","milestones_url":"https://api.github.com/repos/cozy/cozy-banks/milestones{/number}","notifications_url":"https://api.github.com/repos/cozy/cozy-banks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cozy/cozy-banks/labels{/name}","releases_url":"https://api.github.com/repos/cozy/cozy-banks/releases{/id}","deployments_url":"https://api.github.com/repos/cozy/cozy-banks/deployments","created_at":"2018-03-27T16:24:37Z","updated_at":"2018-08-20T02:37:36Z","pushed_at":"2018-08-21T17:05:20Z","git_url":"git://github.com/cozy/cozy-banks.git","ssh_url":"git@github.com:cozy/cozy-banks.git","clone_url":"https://github.com/cozy/cozy-banks.git","svn_url":"https://github.com/cozy/cozy-banks","homepage":"https://cozy.io","size":62142,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":39,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":9,"open_issues":39,"watchers":6,"default_branch":"master"}},"base":{"label":"cozy:master","ref":"master","sha":"4f395695724890ca6dc74be496caff1e514b2b60","user":{"login":"cozy","id":7690525,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2OTA1MjU=","avatar_url":"https://avatars0.githubusercontent.com/u/7690525?v=4","gravatar_id":"","url":"https://api.github.com/users/cozy","html_url":"https://github.com/cozy","followers_url":"https://api.github.com/users/cozy/followers","following_url":"https://api.github.com/users/cozy/following{/other_user}","gists_url":"https://api.github.com/users/cozy/gists{/gist_id}","starred_url":"https://api.github.com/users/cozy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cozy/subscriptions","organizations_url":"https://api.github.com/users/cozy/orgs","repos_url":"https://api.github.com/users/cozy/repos","events_url":"https://api.github.com/users/cozy/events{/privacy}","received_events_url":"https://api.github.com/users/cozy/received_events","type":"Organization","site_admin":false},"repo":{"id":127015178,"node_id":"MDEwOlJlcG9zaXRvcnkxMjcwMTUxNzg=","name":"cozy-banks","full_name":"cozy/cozy-banks","owner":{"login":"cozy","id":7690525,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2OTA1MjU=","avatar_url":"https://avatars0.githubusercontent.com/u/7690525?v=4","gravatar_id":"","url":"https://api.github.com/users/cozy","html_url":"https://github.com/cozy","followers_url":"https://api.github.com/users/cozy/followers","following_url":"https://api.github.com/users/cozy/following{/other_user}","gists_url":"https://api.github.com/users/cozy/gists{/gist_id}","starred_url":"https://api.github.com/users/cozy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cozy/subscriptions","organizations_url":"https://api.github.com/users/cozy/orgs","repos_url":"https://api.github.com/users/cozy/repos","events_url":"https://api.github.com/users/cozy/events{/privacy}","received_events_url":"https://api.github.com/users/cozy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cozy/cozy-banks","description":"A Banks Aggregator on Cozy","fork":false,"url":"https://api.github.com/repos/cozy/cozy-banks","forks_url":"https://api.github.com/repos/cozy/cozy-banks/forks","keys_url":"https://api.github.com/repos/cozy/cozy-banks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cozy/cozy-banks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cozy/cozy-banks/teams","hooks_url":"https://api.github.com/repos/cozy/cozy-banks/hooks","issue_events_url":"https://api.github.com/repos/cozy/cozy-banks/issues/events{/number}","events_url":"https://api.github.com/repos/cozy/cozy-banks/events","assignees_url":"https://api.github.com/repos/cozy/cozy-banks/assignees{/user}","branches_url":"https://api.github.com/repos/cozy/cozy-banks/branches{/branch}","tags_url":"https://api.github.com/repos/cozy/cozy-banks/tags","blobs_url":"https://api.github.com/repos/cozy/cozy-banks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cozy/cozy-banks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cozy/cozy-banks/git/refs{/sha}","trees_url":"https://api.github.com/repos/cozy/cozy-banks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cozy/cozy-banks/statuses/{sha}","languages_url":"https://api.github.com/repos/cozy/cozy-banks/languages","stargazers_url":"https://api.github.com/repos/cozy/cozy-banks/stargazers","contributors_url":"https://api.github.com/repos/cozy/cozy-banks/contributors","subscribers_url":"https://api.github.com/repos/cozy/cozy-banks/subscribers","subscription_url":"https://api.github.com/repos/cozy/cozy-banks/subscription","commits_url":"https://api.github.com/repos/cozy/cozy-banks/commits{/sha}","git_commits_url":"https://api.github.com/repos/cozy/cozy-banks/git/commits{/sha}","comments_url":"https://api.github.com/repos/cozy/cozy-banks/comments{/number}","issue_comment_url":"https://api.github.com/repos/cozy/cozy-banks/issues/comments{/number}","contents_url":"https://api.github.com/repos/cozy/cozy-banks/contents/{+path}","compare_url":"https://api.github.com/repos/cozy/cozy-banks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cozy/cozy-banks/merges","archive_url":"https://api.github.com/repos/cozy/cozy-banks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cozy/cozy-banks/downloads","issues_url":"https://api.github.com/repos/cozy/cozy-banks/issues{/number}","pulls_url":"https://api.github.com/repos/cozy/cozy-banks/pulls{/number}","milestones_url":"https://api.github.com/repos/cozy/cozy-banks/milestones{/number}","notifications_url":"https://api.github.com/repos/cozy/cozy-banks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cozy/cozy-banks/labels{/name}","releases_url":"https://api.github.com/repos/cozy/cozy-banks/releases{/id}","deployments_url":"https://api.github.com/repos/cozy/cozy-banks/deployments","created_at":"2018-03-27T16:24:37Z","updated_at":"2018-08-20T02:37:36Z","pushed_at":"2018-08-21T17:05:20Z","git_url":"git://github.com/cozy/cozy-banks.git","ssh_url":"git@github.com:cozy/cozy-banks.git","clone_url":"https://github.com/cozy/cozy-banks.git","svn_url":"https://github.com/cozy/cozy-banks","homepage":"https://cozy.io","size":62142,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":39,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":9,"open_issues":39,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cozy/cozy-banks/pulls/363"},"html":{"href":"https://github.com/cozy/cozy-banks/pull/363"},"issue":{"href":"https://api.github.com/repos/cozy/cozy-banks/issues/363"},"comments":{"href":"https://api.github.com/repos/cozy/cozy-banks/issues/363/comments"},"review_comments":{"href":"https://api.github.com/repos/cozy/cozy-banks/pulls/363/comments"},"review_comment":{"href":"https://api.github.com/repos/cozy/cozy-banks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cozy/cozy-banks/pulls/363/commits"},"statuses":{"href":"https://api.github.com/repos/cozy/cozy-banks/statuses/7f76f8c4ad660a37dc5bebc75e6ec00d950bf43d"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"ptbrowne","id":465582,"node_id":"MDQ6VXNlcjQ2NTU4Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/465582?v=4","gravatar_id":"","url":"https://api.github.com/users/ptbrowne","html_url":"https://github.com/ptbrowne","followers_url":"https://api.github.com/users/ptbrowne/followers","following_url":"https://api.github.com/users/ptbrowne/following{/other_user}","gists_url":"https://api.github.com/users/ptbrowne/gists{/gist_id}","starred_url":"https://api.github.com/users/ptbrowne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptbrowne/subscriptions","organizations_url":"https://api.github.com/users/ptbrowne/orgs","repos_url":"https://api.github.com/users/ptbrowne/repos","events_url":"https://api.github.com/users/ptbrowne/events{/privacy}","received_events_url":"https://api.github.com/users/ptbrowne/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":5,"additions":54,"deletions":25,"changed_files":5}}
{"actor":{"display_login":"ptbrowne"}}