{"action":"created","comment":{"url":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/comments/26739077","id":26739077,"diff_hunk":"@@ -0,0 +1,38 @@\n+#-- encoding: UTF-8\n+#-- copyright\n+# OpenProject is a project management system.\n+# Copyright (C) 2012-2015 the OpenProject Foundation (OPF)\n+#\n+# This program is free software; you can redistribute it and/or\n+# modify it under the terms of the GNU General Public License version 3.\n+#\n+# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:","path":"lib/api/v3/budgets/budget_collection_representer.rb","position":9,"original_position":9,"commit_id":"44de660b752772864a03e37911673131238158a6","original_commit_id":"44de660b752772864a03e37911673131238158a6","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [91/80]","created_at":"2015-03-19T09:30:55Z","updated_at":"2015-03-19T09:30:55Z","html_url":"https://github.com/finnlabs/openproject-costs/pull/124#discussion_r26739077","pull_request_url":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/124","_links":{"self":{"href":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/comments/26739077"},"html":{"href":"https://github.com/finnlabs/openproject-costs/pull/124#discussion_r26739077"},"pull_request":{"href":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/124"}}},"pull_request":{"url":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/124","id":31412697,"html_url":"https://github.com/finnlabs/openproject-costs/pull/124","diff_url":"https://github.com/finnlabs/openproject-costs/pull/124.diff","patch_url":"https://github.com/finnlabs/openproject-costs/pull/124.patch","issue_url":"https://api.github.com/repos/finnlabs/openproject-costs/issues/124","number":124,"state":"open","locked":false,"title":"[API] Patchable Budgets","user":{"login":"NobodysNightmare","id":453584,"avatar_url":"https://avatars.githubusercontent.com/u/453584?v=3","gravatar_id":"","url":"https://api.github.com/users/NobodysNightmare","html_url":"https://github.com/NobodysNightmare","followers_url":"https://api.github.com/users/NobodysNightmare/followers","following_url":"https://api.github.com/users/NobodysNightmare/following{/other_user}","gists_url":"https://api.github.com/users/NobodysNightmare/gists{/gist_id}","starred_url":"https://api.github.com/users/NobodysNightmare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NobodysNightmare/subscriptions","organizations_url":"https://api.github.com/users/NobodysNightmare/orgs","repos_url":"https://api.github.com/users/NobodysNightmare/repos","events_url":"https://api.github.com/users/NobodysNightmare/events{/privacy}","received_events_url":"https://api.github.com/users/NobodysNightmare/received_events","type":"User","site_admin":false},"body":"## OpenProject work package\r\n\r\nhttps://community.openproject.org/work_packages/19141\r\n\r\n## TODO\r\n\r\n- [x] document budget endpoints and links\r\n- [x] add budget endpoints\r\n- [x] link budget in WP\r\n- [x] add budget to schema\r\n- [x] add budget to payload (actually making it PATCH-able)\r\n\r\n## TODOs to maintain consistency\r\n\r\n- [x] document changed behaviour of spent time on WP\r\n- [x] reflect changed behaviour of spent time in schema","created_at":"2015-03-18T09:42:53Z","updated_at":"2015-03-19T09:30:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b4b86db62af3817b7c05298197e9444024840f56","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/124/commits","review_comments_url":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/124/comments","review_comment_url":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/finnlabs/openproject-costs/issues/124/comments","statuses_url":"https://api.github.com/repos/finnlabs/openproject-costs/statuses/44de660b752772864a03e37911673131238158a6","head":{"label":"NobodysNightmare:feature/budgets_api","ref":"feature/budgets_api","sha":"44de660b752772864a03e37911673131238158a6","user":{"login":"NobodysNightmare","id":453584,"avatar_url":"https://avatars.githubusercontent.com/u/453584?v=3","gravatar_id":"","url":"https://api.github.com/users/NobodysNightmare","html_url":"https://github.com/NobodysNightmare","followers_url":"https://api.github.com/users/NobodysNightmare/followers","following_url":"https://api.github.com/users/NobodysNightmare/following{/other_user}","gists_url":"https://api.github.com/users/NobodysNightmare/gists{/gist_id}","starred_url":"https://api.github.com/users/NobodysNightmare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NobodysNightmare/subscriptions","organizations_url":"https://api.github.com/users/NobodysNightmare/orgs","repos_url":"https://api.github.com/users/NobodysNightmare/repos","events_url":"https://api.github.com/users/NobodysNightmare/events{/privacy}","received_events_url":"https://api.github.com/users/NobodysNightmare/received_events","type":"User","site_admin":false},"repo":{"id":32314400,"name":"openproject-costs","full_name":"NobodysNightmare/openproject-costs","owner":{"login":"NobodysNightmare","id":453584,"avatar_url":"https://avatars.githubusercontent.com/u/453584?v=3","gravatar_id":"","url":"https://api.github.com/users/NobodysNightmare","html_url":"https://github.com/NobodysNightmare","followers_url":"https://api.github.com/users/NobodysNightmare/followers","following_url":"https://api.github.com/users/NobodysNightmare/following{/other_user}","gists_url":"https://api.github.com/users/NobodysNightmare/gists{/gist_id}","starred_url":"https://api.github.com/users/NobodysNightmare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NobodysNightmare/subscriptions","organizations_url":"https://api.github.com/users/NobodysNightmare/orgs","repos_url":"https://api.github.com/users/NobodysNightmare/repos","events_url":"https://api.github.com/users/NobodysNightmare/events{/privacy}","received_events_url":"https://api.github.com/users/NobodysNightmare/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NobodysNightmare/openproject-costs","description":"OpenProject plugin to manage project costs","fork":true,"url":"https://api.github.com/repos/NobodysNightmare/openproject-costs","forks_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/forks","keys_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/teams","hooks_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/hooks","issue_events_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/issues/events{/number}","events_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/events","assignees_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/assignees{/user}","branches_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/branches{/branch}","tags_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/tags","blobs_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/git/refs{/sha}","trees_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/statuses/{sha}","languages_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/languages","stargazers_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/stargazers","contributors_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/contributors","subscribers_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/subscribers","subscription_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/subscription","commits_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/commits{/sha}","git_commits_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/git/commits{/sha}","comments_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/comments{/number}","issue_comment_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/issues/comments{/number}","contents_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/contents/{+path}","compare_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/merges","archive_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/downloads","issues_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/issues{/number}","pulls_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/pulls{/number}","milestones_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/milestones{/number}","notifications_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/labels{/name}","releases_url":"https://api.github.com/repos/NobodysNightmare/openproject-costs/releases{/id}","created_at":"2015-03-16T09:31:55Z","updated_at":"2015-03-16T09:31:55Z","pushed_at":"2015-03-19T09:30:50Z","git_url":"git://github.com/NobodysNightmare/openproject-costs.git","ssh_url":"git@github.com:NobodysNightmare/openproject-costs.git","clone_url":"https://github.com/NobodysNightmare/openproject-costs.git","svn_url":"https://github.com/NobodysNightmare/openproject-costs","homepage":"https://www.openproject.org/projects/costs-plugin","size":1559,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"finnlabs:dev","ref":"dev","sha":"5996efb35ad54395fea0bdb3f376bbbbd4c287c6","user":{"login":"finnlabs","id":86719,"avatar_url":"https://avatars.githubusercontent.com/u/86719?v=3","gravatar_id":"","url":"https://api.github.com/users/finnlabs","html_url":"https://github.com/finnlabs","followers_url":"https://api.github.com/users/finnlabs/followers","following_url":"https://api.github.com/users/finnlabs/following{/other_user}","gists_url":"https://api.github.com/users/finnlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/finnlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/finnlabs/subscriptions","organizations_url":"https://api.github.com/users/finnlabs/orgs","repos_url":"https://api.github.com/users/finnlabs/repos","events_url":"https://api.github.com/users/finnlabs/events{/privacy}","received_events_url":"https://api.github.com/users/finnlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":9640519,"name":"openproject-costs","full_name":"finnlabs/openproject-costs","owner":{"login":"finnlabs","id":86719,"avatar_url":"https://avatars.githubusercontent.com/u/86719?v=3","gravatar_id":"","url":"https://api.github.com/users/finnlabs","html_url":"https://github.com/finnlabs","followers_url":"https://api.github.com/users/finnlabs/followers","following_url":"https://api.github.com/users/finnlabs/following{/other_user}","gists_url":"https://api.github.com/users/finnlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/finnlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/finnlabs/subscriptions","organizations_url":"https://api.github.com/users/finnlabs/orgs","repos_url":"https://api.github.com/users/finnlabs/repos","events_url":"https://api.github.com/users/finnlabs/events{/privacy}","received_events_url":"https://api.github.com/users/finnlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/finnlabs/openproject-costs","description":"OpenProject plugin to manage project costs","fork":false,"url":"https://api.github.com/repos/finnlabs/openproject-costs","forks_url":"https://api.github.com/repos/finnlabs/openproject-costs/forks","keys_url":"https://api.github.com/repos/finnlabs/openproject-costs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/finnlabs/openproject-costs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/finnlabs/openproject-costs/teams","hooks_url":"https://api.github.com/repos/finnlabs/openproject-costs/hooks","issue_events_url":"https://api.github.com/repos/finnlabs/openproject-costs/issues/events{/number}","events_url":"https://api.github.com/repos/finnlabs/openproject-costs/events","assignees_url":"https://api.github.com/repos/finnlabs/openproject-costs/assignees{/user}","branches_url":"https://api.github.com/repos/finnlabs/openproject-costs/branches{/branch}","tags_url":"https://api.github.com/repos/finnlabs/openproject-costs/tags","blobs_url":"https://api.github.com/repos/finnlabs/openproject-costs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/finnlabs/openproject-costs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/finnlabs/openproject-costs/git/refs{/sha}","trees_url":"https://api.github.com/repos/finnlabs/openproject-costs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/finnlabs/openproject-costs/statuses/{sha}","languages_url":"https://api.github.com/repos/finnlabs/openproject-costs/languages","stargazers_url":"https://api.github.com/repos/finnlabs/openproject-costs/stargazers","contributors_url":"https://api.github.com/repos/finnlabs/openproject-costs/contributors","subscribers_url":"https://api.github.com/repos/finnlabs/openproject-costs/subscribers","subscription_url":"https://api.github.com/repos/finnlabs/openproject-costs/subscription","commits_url":"https://api.github.com/repos/finnlabs/openproject-costs/commits{/sha}","git_commits_url":"https://api.github.com/repos/finnlabs/openproject-costs/git/commits{/sha}","comments_url":"https://api.github.com/repos/finnlabs/openproject-costs/comments{/number}","issue_comment_url":"https://api.github.com/repos/finnlabs/openproject-costs/issues/comments{/number}","contents_url":"https://api.github.com/repos/finnlabs/openproject-costs/contents/{+path}","compare_url":"https://api.github.com/repos/finnlabs/openproject-costs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/finnlabs/openproject-costs/merges","archive_url":"https://api.github.com/repos/finnlabs/openproject-costs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/finnlabs/openproject-costs/downloads","issues_url":"https://api.github.com/repos/finnlabs/openproject-costs/issues{/number}","pulls_url":"https://api.github.com/repos/finnlabs/openproject-costs/pulls{/number}","milestones_url":"https://api.github.com/repos/finnlabs/openproject-costs/milestones{/number}","notifications_url":"https://api.github.com/repos/finnlabs/openproject-costs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/finnlabs/openproject-costs/labels{/name}","releases_url":"https://api.github.com/repos/finnlabs/openproject-costs/releases{/id}","created_at":"2013-04-24T05:58:04Z","updated_at":"2015-03-18T15:15:22Z","pushed_at":"2015-03-18T15:15:22Z","git_url":"git://github.com/finnlabs/openproject-costs.git","ssh_url":"git@github.com:finnlabs/openproject-costs.git","clone_url":"https://github.com/finnlabs/openproject-costs.git","svn_url":"https://github.com/finnlabs/openproject-costs","homepage":"https://www.openproject.org/projects/costs-plugin","size":3135,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":4,"forks":6,"open_issues":4,"watchers":6,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/124"},"html":{"href":"https://github.com/finnlabs/openproject-costs/pull/124"},"issue":{"href":"https://api.github.com/repos/finnlabs/openproject-costs/issues/124"},"comments":{"href":"https://api.github.com/repos/finnlabs/openproject-costs/issues/124/comments"},"review_comments":{"href":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/124/comments"},"review_comment":{"href":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/finnlabs/openproject-costs/pulls/124/commits"},"statuses":{"href":"https://api.github.com/repos/finnlabs/openproject-costs/statuses/44de660b752772864a03e37911673131238158a6"}}}}