{"action":"created","comment":{"url":"https://api.github.com/repos/diaspora/api-documentation/pulls/comments/194220447","pull_request_review_id":127359008,"id":194220447,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NDIyMDQ0Nw==","diff_hunk":"@@ -104,3 +126,10 @@ POST /api/v1/posts/:post_guid/comments\n   \"body\": \"Can I use these for my own website?\"\n }\n ~~~\n+\n+### Errors\n+\n+Status code  |  Error reason\n+-|-\n+404  |  Post with provided guid was not found\n+422  |  Client is not allowed to comment (user is ignored)","path":"_routes/comments.md","position":53,"original_position":53,"commit_id":"dee16e5985659c769ec885c43c19dbf555f870e6","original_commit_id":"dee16e5985659c769ec885c43c19dbf555f870e6","user":{"login":"cmrd-senya","id":10187586,"node_id":"MDQ6VXNlcjEwMTg3NTg2","avatar_url":"https://avatars2.githubusercontent.com/u/10187586?v=4","gravatar_id":"","url":"https://api.github.com/users/cmrd-senya","html_url":"https://github.com/cmrd-senya","followers_url":"https://api.github.com/users/cmrd-senya/followers","following_url":"https://api.github.com/users/cmrd-senya/following{/other_user}","gists_url":"https://api.github.com/users/cmrd-senya/gists{/gist_id}","starred_url":"https://api.github.com/users/cmrd-senya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmrd-senya/subscriptions","organizations_url":"https://api.github.com/users/cmrd-senya/orgs","repos_url":"https://api.github.com/users/cmrd-senya/repos","events_url":"https://api.github.com/users/cmrd-senya/events{/privacy}","received_events_url":"https://api.github.com/users/cmrd-senya/received_events","type":"User","site_admin":false},"body":"So `Couldn't accept  or process the comment`? Is it okay to put `user is ignored` in brackets as a possible reason for that?\r\n\r\nThere is also a similar one for conversations: https://github.com/diaspora/api-documentation/pull/11#discussion_r194099974, where I can put `Couldn't accept or process the conversation`, I think?","created_at":"2018-06-09T09:11:12Z","updated_at":"2018-06-09T09:11:12Z","html_url":"https://github.com/diaspora/api-documentation/pull/11#discussion_r194220447","pull_request_url":"https://api.github.com/repos/diaspora/api-documentation/pulls/11","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/diaspora/api-documentation/pulls/comments/194220447"},"html":{"href":"https://github.com/diaspora/api-documentation/pull/11#discussion_r194220447"},"pull_request":{"href":"https://api.github.com/repos/diaspora/api-documentation/pulls/11"}},"in_reply_to_id":178519311},"pull_request":{"url":"https://api.github.com/repos/diaspora/api-documentation/pulls/11","id":172713237,"node_id":"MDExOlB1bGxSZXF1ZXN0MTcyNzEzMjM3","html_url":"https://github.com/diaspora/api-documentation/pull/11","diff_url":"https://github.com/diaspora/api-documentation/pull/11.diff","patch_url":"https://github.com/diaspora/api-documentation/pull/11.patch","issue_url":"https://api.github.com/repos/diaspora/api-documentation/issues/11","number":11,"state":"open","locked":false,"title":"Add some error handling information","user":{"login":"cmrd-senya","id":10187586,"node_id":"MDQ6VXNlcjEwMTg3NTg2","avatar_url":"https://avatars2.githubusercontent.com/u/10187586?v=4","gravatar_id":"","url":"https://api.github.com/users/cmrd-senya","html_url":"https://github.com/cmrd-senya","followers_url":"https://api.github.com/users/cmrd-senya/followers","following_url":"https://api.github.com/users/cmrd-senya/following{/other_user}","gists_url":"https://api.github.com/users/cmrd-senya/gists{/gist_id}","starred_url":"https://api.github.com/users/cmrd-senya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmrd-senya/subscriptions","organizations_url":"https://api.github.com/users/cmrd-senya/orgs","repos_url":"https://api.github.com/users/cmrd-senya/repos","events_url":"https://api.github.com/users/cmrd-senya/events{/privacy}","received_events_url":"https://api.github.com/users/cmrd-senya/received_events","type":"User","site_admin":false},"body":"This PR adds some error handling information. I only added \"Errors\" section for the nodes mentioned at https://github.com/diaspora/diaspora/pull/7462. I checked the original implementation of the respective routes of the diaspora internal API and filled the status codes according to the present behavior of diaspora controllers. This makes a start point but we can change the codes in the API draft to whatever feels logical.","created_at":"2018-03-04T10:42:40Z","updated_at":"2018-06-09T09:11:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6dd83807f6cc24af6eac842fbfda3d7ad3d07566","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/diaspora/api-documentation/pulls/11/commits","review_comments_url":"https://api.github.com/repos/diaspora/api-documentation/pulls/11/comments","review_comment_url":"https://api.github.com/repos/diaspora/api-documentation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/diaspora/api-documentation/issues/11/comments","statuses_url":"https://api.github.com/repos/diaspora/api-documentation/statuses/dee16e5985659c769ec885c43c19dbf555f870e6","head":{"label":"cmrd-senya:errors","ref":"errors","sha":"dee16e5985659c769ec885c43c19dbf555f870e6","user":{"login":"cmrd-senya","id":10187586,"node_id":"MDQ6VXNlcjEwMTg3NTg2","avatar_url":"https://avatars2.githubusercontent.com/u/10187586?v=4","gravatar_id":"","url":"https://api.github.com/users/cmrd-senya","html_url":"https://github.com/cmrd-senya","followers_url":"https://api.github.com/users/cmrd-senya/followers","following_url":"https://api.github.com/users/cmrd-senya/following{/other_user}","gists_url":"https://api.github.com/users/cmrd-senya/gists{/gist_id}","starred_url":"https://api.github.com/users/cmrd-senya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmrd-senya/subscriptions","organizations_url":"https://api.github.com/users/cmrd-senya/orgs","repos_url":"https://api.github.com/users/cmrd-senya/repos","events_url":"https://api.github.com/users/cmrd-senya/events{/privacy}","received_events_url":"https://api.github.com/users/cmrd-senya/received_events","type":"User","site_admin":false},"repo":{"id":123615710,"node_id":"MDEwOlJlcG9zaXRvcnkxMjM2MTU3MTA=","name":"api-documentation","full_name":"cmrd-senya/api-documentation","owner":{"login":"cmrd-senya","id":10187586,"node_id":"MDQ6VXNlcjEwMTg3NTg2","avatar_url":"https://avatars2.githubusercontent.com/u/10187586?v=4","gravatar_id":"","url":"https://api.github.com/users/cmrd-senya","html_url":"https://github.com/cmrd-senya","followers_url":"https://api.github.com/users/cmrd-senya/followers","following_url":"https://api.github.com/users/cmrd-senya/following{/other_user}","gists_url":"https://api.github.com/users/cmrd-senya/gists{/gist_id}","starred_url":"https://api.github.com/users/cmrd-senya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmrd-senya/subscriptions","organizations_url":"https://api.github.com/users/cmrd-senya/orgs","repos_url":"https://api.github.com/users/cmrd-senya/repos","events_url":"https://api.github.com/users/cmrd-senya/events{/privacy}","received_events_url":"https://api.github.com/users/cmrd-senya/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cmrd-senya/api-documentation","description":"diaspora*s API documentation","fork":true,"url":"https://api.github.com/repos/cmrd-senya/api-documentation","forks_url":"https://api.github.com/repos/cmrd-senya/api-documentation/forks","keys_url":"https://api.github.com/repos/cmrd-senya/api-documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cmrd-senya/api-documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cmrd-senya/api-documentation/teams","hooks_url":"https://api.github.com/repos/cmrd-senya/api-documentation/hooks","issue_events_url":"https://api.github.com/repos/cmrd-senya/api-documentation/issues/events{/number}","events_url":"https://api.github.com/repos/cmrd-senya/api-documentation/events","assignees_url":"https://api.github.com/repos/cmrd-senya/api-documentation/assignees{/user}","branches_url":"https://api.github.com/repos/cmrd-senya/api-documentation/branches{/branch}","tags_url":"https://api.github.com/repos/cmrd-senya/api-documentation/tags","blobs_url":"https://api.github.com/repos/cmrd-senya/api-documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cmrd-senya/api-documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cmrd-senya/api-documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/cmrd-senya/api-documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cmrd-senya/api-documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/cmrd-senya/api-documentation/languages","stargazers_url":"https://api.github.com/repos/cmrd-senya/api-documentation/stargazers","contributors_url":"https://api.github.com/repos/cmrd-senya/api-documentation/contributors","subscribers_url":"https://api.github.com/repos/cmrd-senya/api-documentation/subscribers","subscription_url":"https://api.github.com/repos/cmrd-senya/api-documentation/subscription","commits_url":"https://api.github.com/repos/cmrd-senya/api-documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/cmrd-senya/api-documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/cmrd-senya/api-documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/cmrd-senya/api-documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/cmrd-senya/api-documentation/contents/{+path}","compare_url":"https://api.github.com/repos/cmrd-senya/api-documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cmrd-senya/api-documentation/merges","archive_url":"https://api.github.com/repos/cmrd-senya/api-documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cmrd-senya/api-documentation/downloads","issues_url":"https://api.github.com/repos/cmrd-senya/api-documentation/issues{/number}","pulls_url":"https://api.github.com/repos/cmrd-senya/api-documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/cmrd-senya/api-documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/cmrd-senya/api-documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cmrd-senya/api-documentation/labels{/name}","releases_url":"https://api.github.com/repos/cmrd-senya/api-documentation/releases{/id}","deployments_url":"https://api.github.com/repos/cmrd-senya/api-documentation/deployments","created_at":"2018-03-02T18:30:03Z","updated_at":"2018-03-02T18:30:05Z","pushed_at":"2018-03-04T10:39:08Z","git_url":"git://github.com/cmrd-senya/api-documentation.git","ssh_url":"git@github.com:cmrd-senya/api-documentation.git","clone_url":"https://github.com/cmrd-senya/api-documentation.git","svn_url":"https://github.com/cmrd-senya/api-documentation","homepage":"https://diaspora.github.io/api-documentation/","size":2982,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"cc-by-sa-4.0","name":"Creative Commons Attribution Share Alike 4.0","spdx_id":"CC-BY-SA-4.0","url":"https://api.github.com/licenses/cc-by-sa-4.0","node_id":"MDc6TGljZW5zZTI2"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"diaspora:master","ref":"master","sha":"74d449f7a68a9dc9012dec7236c60f4f51a9fd9d","user":{"login":"diaspora","id":293207,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5MzIwNw==","avatar_url":"https://avatars3.githubusercontent.com/u/293207?v=4","gravatar_id":"","url":"https://api.github.com/users/diaspora","html_url":"https://github.com/diaspora","followers_url":"https://api.github.com/users/diaspora/followers","following_url":"https://api.github.com/users/diaspora/following{/other_user}","gists_url":"https://api.github.com/users/diaspora/gists{/gist_id}","starred_url":"https://api.github.com/users/diaspora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diaspora/subscriptions","organizations_url":"https://api.github.com/users/diaspora/orgs","repos_url":"https://api.github.com/users/diaspora/repos","events_url":"https://api.github.com/users/diaspora/events{/privacy}","received_events_url":"https://api.github.com/users/diaspora/received_events","type":"Organization","site_admin":false},"repo":{"id":51509191,"node_id":"MDEwOlJlcG9zaXRvcnk1MTUwOTE5MQ==","name":"api-documentation","full_name":"diaspora/api-documentation","owner":{"login":"diaspora","id":293207,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5MzIwNw==","avatar_url":"https://avatars3.githubusercontent.com/u/293207?v=4","gravatar_id":"","url":"https://api.github.com/users/diaspora","html_url":"https://github.com/diaspora","followers_url":"https://api.github.com/users/diaspora/followers","following_url":"https://api.github.com/users/diaspora/following{/other_user}","gists_url":"https://api.github.com/users/diaspora/gists{/gist_id}","starred_url":"https://api.github.com/users/diaspora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diaspora/subscriptions","organizations_url":"https://api.github.com/users/diaspora/orgs","repos_url":"https://api.github.com/users/diaspora/repos","events_url":"https://api.github.com/users/diaspora/events{/privacy}","received_events_url":"https://api.github.com/users/diaspora/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/diaspora/api-documentation","description":"diaspora*s API documentation","fork":false,"url":"https://api.github.com/repos/diaspora/api-documentation","forks_url":"https://api.github.com/repos/diaspora/api-documentation/forks","keys_url":"https://api.github.com/repos/diaspora/api-documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diaspora/api-documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diaspora/api-documentation/teams","hooks_url":"https://api.github.com/repos/diaspora/api-documentation/hooks","issue_events_url":"https://api.github.com/repos/diaspora/api-documentation/issues/events{/number}","events_url":"https://api.github.com/repos/diaspora/api-documentation/events","assignees_url":"https://api.github.com/repos/diaspora/api-documentation/assignees{/user}","branches_url":"https://api.github.com/repos/diaspora/api-documentation/branches{/branch}","tags_url":"https://api.github.com/repos/diaspora/api-documentation/tags","blobs_url":"https://api.github.com/repos/diaspora/api-documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diaspora/api-documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diaspora/api-documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/diaspora/api-documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diaspora/api-documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/diaspora/api-documentation/languages","stargazers_url":"https://api.github.com/repos/diaspora/api-documentation/stargazers","contributors_url":"https://api.github.com/repos/diaspora/api-documentation/contributors","subscribers_url":"https://api.github.com/repos/diaspora/api-documentation/subscribers","subscription_url":"https://api.github.com/repos/diaspora/api-documentation/subscription","commits_url":"https://api.github.com/repos/diaspora/api-documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/diaspora/api-documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/diaspora/api-documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/diaspora/api-documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/diaspora/api-documentation/contents/{+path}","compare_url":"https://api.github.com/repos/diaspora/api-documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diaspora/api-documentation/merges","archive_url":"https://api.github.com/repos/diaspora/api-documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diaspora/api-documentation/downloads","issues_url":"https://api.github.com/repos/diaspora/api-documentation/issues{/number}","pulls_url":"https://api.github.com/repos/diaspora/api-documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/diaspora/api-documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/diaspora/api-documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diaspora/api-documentation/labels{/name}","releases_url":"https://api.github.com/repos/diaspora/api-documentation/releases{/id}","deployments_url":"https://api.github.com/repos/diaspora/api-documentation/deployments","created_at":"2016-02-11T10:59:05Z","updated_at":"2018-04-03T03:41:22Z","pushed_at":"2018-03-04T10:42:40Z","git_url":"git://github.com/diaspora/api-documentation.git","ssh_url":"git@github.com:diaspora/api-documentation.git","clone_url":"https://github.com/diaspora/api-documentation.git","svn_url":"https://github.com/diaspora/api-documentation","homepage":"https://diaspora.github.io/api-documentation/","size":2979,"stargazers_count":11,"watchers_count":11,"language":"CSS","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"cc-by-sa-4.0","name":"Creative Commons Attribution Share Alike 4.0","spdx_id":"CC-BY-SA-4.0","url":"https://api.github.com/licenses/cc-by-sa-4.0","node_id":"MDc6TGljZW5zZTI2"},"forks":7,"open_issues":5,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/diaspora/api-documentation/pulls/11"},"html":{"href":"https://github.com/diaspora/api-documentation/pull/11"},"issue":{"href":"https://api.github.com/repos/diaspora/api-documentation/issues/11"},"comments":{"href":"https://api.github.com/repos/diaspora/api-documentation/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/diaspora/api-documentation/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/diaspora/api-documentation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/diaspora/api-documentation/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/diaspora/api-documentation/statuses/dee16e5985659c769ec885c43c19dbf555f870e6"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"cmrd-senya"}}