{"action":"created","comment":{"url":"https://api.github.com/repos/opf/openproject/pulls/comments/33228019","id":33228019,"diff_hunk":"@@ -114,12 +115,17 @@ For example a work package without an assignee will still have an assignee link,\n \n If a `title` is present, the client can display the title to the user when referring to the resource.\n \n-Templated links are links that contain client replacable parts. Replaceable parts are enclosed in braces. For example\n+Templated links are links that contain client replaceable parts. Replaceable parts are enclosed in braces. For example\n the link `api/v3/example/{id}` is not complete in itself, but the client needs to replace the string `{id}` itself.\n As of now the API does not indicate the valid replacement values.\n \n The `method` indicates which HTTP verb the client *must* use when following the link for the intended purpose.\n \n+If a `payload` is specified, it needs to be sent as the body of the request to achieve the desired result (e.g. perform the\n+action represented by the link). If no `payload` is specified, there is either no payload to send or there are multiple valid\n+payloads. A payload might also be templated slightly. If the `templated` property is true, a payload might contain replaceable parts","path":"doc/apiv3-documentation.apib","position":33,"original_position":33,"commit_id":"a3121e05a72dcbdbbb42225950f1ae3e43c79c8b","original_commit_id":"a3121e05a72dcbdbbb42225950f1ae3e43c79c8b","user":{"login":"Azure7111","id":1461183,"avatar_url":"https://avatars.githubusercontent.com/u/1461183?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure7111","html_url":"https://github.com/Azure7111","followers_url":"https://api.github.com/users/Azure7111/followers","following_url":"https://api.github.com/users/Azure7111/following{/other_user}","gists_url":"https://api.github.com/users/Azure7111/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure7111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure7111/subscriptions","organizations_url":"https://api.github.com/users/Azure7111/orgs","repos_url":"https://api.github.com/users/Azure7111/repos","events_url":"https://api.github.com/users/Azure7111/events{/privacy}","received_events_url":"https://api.github.com/users/Azure7111/received_events","type":"User","site_admin":false},"body":"Hmm, I don't care that much, but how about \"parameters\"?","created_at":"2015-06-25T07:19:48Z","updated_at":"2015-06-25T07:19:48Z","html_url":"https://github.com/opf/openproject/pull/3115#discussion_r33228019","pull_request_url":"https://api.github.com/repos/opf/openproject/pulls/3115","_links":{"self":{"href":"https://api.github.com/repos/opf/openproject/pulls/comments/33228019"},"html":{"href":"https://github.com/opf/openproject/pull/3115#discussion_r33228019"},"pull_request":{"href":"https://api.github.com/repos/opf/openproject/pulls/3115"}}},"pull_request":{"url":"https://api.github.com/repos/opf/openproject/pulls/3115","id":37364286,"html_url":"https://github.com/opf/openproject/pull/3115","diff_url":"https://github.com/opf/openproject/pull/3115.diff","patch_url":"https://github.com/opf/openproject/pull/3115.patch","issue_url":"https://api.github.com/repos/opf/openproject/issues/3115","number":3115,"state":"open","locked":false,"title":"Harmonize watchers endpoints","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/17755\r\n\r\n## Description\r\n\r\nThis PR harmonizes the documentation around the watchers endpoint and other similar endpoints.\r\nIt also applies the relevant changes to the implementation and aligns the implementation with the specification.","created_at":"2015-06-10T14:27:22Z","updated_at":"2015-06-25T07:19:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"596edb5793b36a31eb0cf94922455ce180985b42","assignee":{"login":"Azure7111","id":1461183,"avatar_url":"https://avatars.githubusercontent.com/u/1461183?v=3","gravatar_id":"","url":"https://api.github.com/users/Azure7111","html_url":"https://github.com/Azure7111","followers_url":"https://api.github.com/users/Azure7111/followers","following_url":"https://api.github.com/users/Azure7111/following{/other_user}","gists_url":"https://api.github.com/users/Azure7111/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure7111/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure7111/subscriptions","organizations_url":"https://api.github.com/users/Azure7111/orgs","repos_url":"https://api.github.com/users/Azure7111/repos","events_url":"https://api.github.com/users/Azure7111/events{/privacy}","received_events_url":"https://api.github.com/users/Azure7111/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/opf/openproject/pulls/3115/commits","review_comments_url":"https://api.github.com/repos/opf/openproject/pulls/3115/comments","review_comment_url":"https://api.github.com/repos/opf/openproject/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opf/openproject/issues/3115/comments","statuses_url":"https://api.github.com/repos/opf/openproject/statuses/a3121e05a72dcbdbbb42225950f1ae3e43c79c8b","head":{"label":"opf:fix/specify_watchers_link","ref":"fix/specify_watchers_link","sha":"a3121e05a72dcbdbbb42225950f1ae3e43c79c8b","user":{"login":"opf","id":1756674,"avatar_url":"https://avatars.githubusercontent.com/u/1756674?v=3","gravatar_id":"","url":"https://api.github.com/users/opf","html_url":"https://github.com/opf","followers_url":"https://api.github.com/users/opf/followers","following_url":"https://api.github.com/users/opf/following{/other_user}","gists_url":"https://api.github.com/users/opf/gists{/gist_id}","starred_url":"https://api.github.com/users/opf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opf/subscriptions","organizations_url":"https://api.github.com/users/opf/orgs","repos_url":"https://api.github.com/users/opf/repos","events_url":"https://api.github.com/users/opf/events{/privacy}","received_events_url":"https://api.github.com/users/opf/received_events","type":"Organization","site_admin":false},"repo":{"id":6899875,"name":"openproject","full_name":"opf/openproject","owner":{"login":"opf","id":1756674,"avatar_url":"https://avatars.githubusercontent.com/u/1756674?v=3","gravatar_id":"","url":"https://api.github.com/users/opf","html_url":"https://github.com/opf","followers_url":"https://api.github.com/users/opf/followers","following_url":"https://api.github.com/users/opf/following{/other_user}","gists_url":"https://api.github.com/users/opf/gists{/gist_id}","starred_url":"https://api.github.com/users/opf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opf/subscriptions","organizations_url":"https://api.github.com/users/opf/orgs","repos_url":"https://api.github.com/users/opf/repos","events_url":"https://api.github.com/users/opf/events{/privacy}","received_events_url":"https://api.github.com/users/opf/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opf/openproject","description":"OpenProject is a web-based project management system built on Ruby on Rails","fork":false,"url":"https://api.github.com/repos/opf/openproject","forks_url":"https://api.github.com/repos/opf/openproject/forks","keys_url":"https://api.github.com/repos/opf/openproject/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opf/openproject/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opf/openproject/teams","hooks_url":"https://api.github.com/repos/opf/openproject/hooks","issue_events_url":"https://api.github.com/repos/opf/openproject/issues/events{/number}","events_url":"https://api.github.com/repos/opf/openproject/events","assignees_url":"https://api.github.com/repos/opf/openproject/assignees{/user}","branches_url":"https://api.github.com/repos/opf/openproject/branches{/branch}","tags_url":"https://api.github.com/repos/opf/openproject/tags","blobs_url":"https://api.github.com/repos/opf/openproject/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opf/openproject/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opf/openproject/git/refs{/sha}","trees_url":"https://api.github.com/repos/opf/openproject/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opf/openproject/statuses/{sha}","languages_url":"https://api.github.com/repos/opf/openproject/languages","stargazers_url":"https://api.github.com/repos/opf/openproject/stargazers","contributors_url":"https://api.github.com/repos/opf/openproject/contributors","subscribers_url":"https://api.github.com/repos/opf/openproject/subscribers","subscription_url":"https://api.github.com/repos/opf/openproject/subscription","commits_url":"https://api.github.com/repos/opf/openproject/commits{/sha}","git_commits_url":"https://api.github.com/repos/opf/openproject/git/commits{/sha}","comments_url":"https://api.github.com/repos/opf/openproject/comments{/number}","issue_comment_url":"https://api.github.com/repos/opf/openproject/issues/comments{/number}","contents_url":"https://api.github.com/repos/opf/openproject/contents/{+path}","compare_url":"https://api.github.com/repos/opf/openproject/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opf/openproject/merges","archive_url":"https://api.github.com/repos/opf/openproject/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opf/openproject/downloads","issues_url":"https://api.github.com/repos/opf/openproject/issues{/number}","pulls_url":"https://api.github.com/repos/opf/openproject/pulls{/number}","milestones_url":"https://api.github.com/repos/opf/openproject/milestones{/number}","notifications_url":"https://api.github.com/repos/opf/openproject/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opf/openproject/labels{/name}","releases_url":"https://api.github.com/repos/opf/openproject/releases{/id}","created_at":"2012-11-28T09:59:11Z","updated_at":"2015-06-24T16:36:33Z","pushed_at":"2015-06-24T18:38:56Z","git_url":"git://github.com/opf/openproject.git","ssh_url":"git@github.com:opf/openproject.git","clone_url":"https://github.com/opf/openproject.git","svn_url":"https://github.com/opf/openproject","homepage":"https://www.openproject.org","size":198596,"stargazers_count":643,"watchers_count":643,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":279,"mirror_url":null,"open_issues_count":65,"forks":279,"open_issues":65,"watchers":643,"default_branch":"dev"}},"base":{"label":"opf:release/4.2","ref":"release/4.2","sha":"71d066ee3e37b4a9eebeccf1759137b6b1f81b63","user":{"login":"opf","id":1756674,"avatar_url":"https://avatars.githubusercontent.com/u/1756674?v=3","gravatar_id":"","url":"https://api.github.com/users/opf","html_url":"https://github.com/opf","followers_url":"https://api.github.com/users/opf/followers","following_url":"https://api.github.com/users/opf/following{/other_user}","gists_url":"https://api.github.com/users/opf/gists{/gist_id}","starred_url":"https://api.github.com/users/opf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opf/subscriptions","organizations_url":"https://api.github.com/users/opf/orgs","repos_url":"https://api.github.com/users/opf/repos","events_url":"https://api.github.com/users/opf/events{/privacy}","received_events_url":"https://api.github.com/users/opf/received_events","type":"Organization","site_admin":false},"repo":{"id":6899875,"name":"openproject","full_name":"opf/openproject","owner":{"login":"opf","id":1756674,"avatar_url":"https://avatars.githubusercontent.com/u/1756674?v=3","gravatar_id":"","url":"https://api.github.com/users/opf","html_url":"https://github.com/opf","followers_url":"https://api.github.com/users/opf/followers","following_url":"https://api.github.com/users/opf/following{/other_user}","gists_url":"https://api.github.com/users/opf/gists{/gist_id}","starred_url":"https://api.github.com/users/opf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opf/subscriptions","organizations_url":"https://api.github.com/users/opf/orgs","repos_url":"https://api.github.com/users/opf/repos","events_url":"https://api.github.com/users/opf/events{/privacy}","received_events_url":"https://api.github.com/users/opf/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opf/openproject","description":"OpenProject is a web-based project management system built on Ruby on Rails","fork":false,"url":"https://api.github.com/repos/opf/openproject","forks_url":"https://api.github.com/repos/opf/openproject/forks","keys_url":"https://api.github.com/repos/opf/openproject/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opf/openproject/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opf/openproject/teams","hooks_url":"https://api.github.com/repos/opf/openproject/hooks","issue_events_url":"https://api.github.com/repos/opf/openproject/issues/events{/number}","events_url":"https://api.github.com/repos/opf/openproject/events","assignees_url":"https://api.github.com/repos/opf/openproject/assignees{/user}","branches_url":"https://api.github.com/repos/opf/openproject/branches{/branch}","tags_url":"https://api.github.com/repos/opf/openproject/tags","blobs_url":"https://api.github.com/repos/opf/openproject/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opf/openproject/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opf/openproject/git/refs{/sha}","trees_url":"https://api.github.com/repos/opf/openproject/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opf/openproject/statuses/{sha}","languages_url":"https://api.github.com/repos/opf/openproject/languages","stargazers_url":"https://api.github.com/repos/opf/openproject/stargazers","contributors_url":"https://api.github.com/repos/opf/openproject/contributors","subscribers_url":"https://api.github.com/repos/opf/openproject/subscribers","subscription_url":"https://api.github.com/repos/opf/openproject/subscription","commits_url":"https://api.github.com/repos/opf/openproject/commits{/sha}","git_commits_url":"https://api.github.com/repos/opf/openproject/git/commits{/sha}","comments_url":"https://api.github.com/repos/opf/openproject/comments{/number}","issue_comment_url":"https://api.github.com/repos/opf/openproject/issues/comments{/number}","contents_url":"https://api.github.com/repos/opf/openproject/contents/{+path}","compare_url":"https://api.github.com/repos/opf/openproject/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opf/openproject/merges","archive_url":"https://api.github.com/repos/opf/openproject/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opf/openproject/downloads","issues_url":"https://api.github.com/repos/opf/openproject/issues{/number}","pulls_url":"https://api.github.com/repos/opf/openproject/pulls{/number}","milestones_url":"https://api.github.com/repos/opf/openproject/milestones{/number}","notifications_url":"https://api.github.com/repos/opf/openproject/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opf/openproject/labels{/name}","releases_url":"https://api.github.com/repos/opf/openproject/releases{/id}","created_at":"2012-11-28T09:59:11Z","updated_at":"2015-06-24T16:36:33Z","pushed_at":"2015-06-24T18:38:56Z","git_url":"git://github.com/opf/openproject.git","ssh_url":"git@github.com:opf/openproject.git","clone_url":"https://github.com/opf/openproject.git","svn_url":"https://github.com/opf/openproject","homepage":"https://www.openproject.org","size":198596,"stargazers_count":643,"watchers_count":643,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":279,"mirror_url":null,"open_issues_count":65,"forks":279,"open_issues":65,"watchers":643,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/opf/openproject/pulls/3115"},"html":{"href":"https://github.com/opf/openproject/pull/3115"},"issue":{"href":"https://api.github.com/repos/opf/openproject/issues/3115"},"comments":{"href":"https://api.github.com/repos/opf/openproject/issues/3115/comments"},"review_comments":{"href":"https://api.github.com/repos/opf/openproject/pulls/3115/comments"},"review_comment":{"href":"https://api.github.com/repos/opf/openproject/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opf/openproject/pulls/3115/commits"},"statuses":{"href":"https://api.github.com/repos/opf/openproject/statuses/a3121e05a72dcbdbbb42225950f1ae3e43c79c8b"}}}}