{"action":"created","comment":{"url":"https://api.github.com/repos/elifesciences/api-raml/pulls/comments/240923082","pull_request_review_id":184063077,"id":240923082,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDkyMzA4Mg==","diff_hunk":"@@ -506,29 +506,65 @@ traits:\n                             Article version number.\n                         type: integer\n                         minimum: 1\n-                get:\n-                    description: |\n-                        Get an article.\n+                put:\n+                    description: Ingest an article.\n+                    queryParameters:","path":"src/api.raml","position":9,"original_position":9,"commit_id":"a1896a457b4f0a22d314293706bf6aa6aecae04f","original_commit_id":"a1896a457b4f0a22d314293706bf6aa6aecae04f","user":{"login":"giorgiosironi","id":160299,"node_id":"MDQ6VXNlcjE2MDI5OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/160299?v=4","gravatar_id":"","url":"https://api.github.com/users/giorgiosironi","html_url":"https://github.com/giorgiosironi","followers_url":"https://api.github.com/users/giorgiosironi/followers","following_url":"https://api.github.com/users/giorgiosironi/following{/other_user}","gists_url":"https://api.github.com/users/giorgiosironi/gists{/gist_id}","starred_url":"https://api.github.com/users/giorgiosironi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giorgiosironi/subscriptions","organizations_url":"https://api.github.com/users/giorgiosironi/orgs","repos_url":"https://api.github.com/users/giorgiosironi/repos","events_url":"https://api.github.com/users/giorgiosironi/events{/privacy}","received_events_url":"https://api.github.com/users/giorgiosironi/received_events","type":"User","site_admin":false},"body":"never seen query string parameters on a `PUT`; analyzing what they do:\r\n\r\n`force` allows the `PUT` to have different results depending on the existing state, probably silent correction vs new ingest?\r\n`dry-run` doesn't change the state but only validates everything will be fine when not used.\r\n\r\nBoth use cases seem to be served by different resources?\r\n- `/article/:id/versions/:v:/\r\n- `/article/:id/versions/:v:/dry-run\r\nbut it would be helpful to elaborate on their intended meaning to decide, especially `force`","created_at":"2018-12-12T08:45:57Z","updated_at":"2018-12-12T08:45:57Z","html_url":"https://github.com/elifesciences/api-raml/pull/234#discussion_r240923082","pull_request_url":"https://api.github.com/repos/elifesciences/api-raml/pulls/234","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/elifesciences/api-raml/pulls/comments/240923082"},"html":{"href":"https://github.com/elifesciences/api-raml/pull/234#discussion_r240923082"},"pull_request":{"href":"https://api.github.com/repos/elifesciences/api-raml/pulls/234"}}},"pull_request":{"url":"https://api.github.com/repos/elifesciences/api-raml/pulls/234","id":233796472,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzNzk2NDcy","html_url":"https://github.com/elifesciences/api-raml/pull/234","diff_url":"https://github.com/elifesciences/api-raml/pull/234.diff","patch_url":"https://github.com/elifesciences/api-raml/pull/234.patch","issue_url":"https://api.github.com/repos/elifesciences/api-raml/issues/234","number":234,"state":"open","locked":false,"title":"support for PUT and POST methods on article version endpoint","user":{"login":"lsh-0","id":2142748,"node_id":"MDQ6VXNlcjIxNDI3NDg=","avatar_url":"https://avatars0.githubusercontent.com/u/2142748?v=4","gravatar_id":"","url":"https://api.github.com/users/lsh-0","html_url":"https://github.com/lsh-0","followers_url":"https://api.github.com/users/lsh-0/followers","following_url":"https://api.github.com/users/lsh-0/following{/other_user}","gists_url":"https://api.github.com/users/lsh-0/gists{/gist_id}","starred_url":"https://api.github.com/users/lsh-0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsh-0/subscriptions","organizations_url":"https://api.github.com/users/lsh-0/orgs","repos_url":"https://api.github.com/users/lsh-0/repos","events_url":"https://api.github.com/users/lsh-0/events{/privacy}","received_events_url":"https://api.github.com/users/lsh-0/received_events","type":"User","site_admin":false},"body":"I removed the poa/vor version=1 responses just for brevity (but they are deprecated right? it would be nice to remove them at some point).","created_at":"2018-11-27T06:40:58Z","updated_at":"2018-12-12T08:45:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"44f04923467a241fa6860f607bf38b9b969b7035","assignee":null,"assignees":[],"requested_reviewers":[{"login":"thewilkybarkid","id":1784740,"node_id":"MDQ6VXNlcjE3ODQ3NDA=","avatar_url":"https://avatars0.githubusercontent.com/u/1784740?v=4","gravatar_id":"","url":"https://api.github.com/users/thewilkybarkid","html_url":"https://github.com/thewilkybarkid","followers_url":"https://api.github.com/users/thewilkybarkid/followers","following_url":"https://api.github.com/users/thewilkybarkid/following{/other_user}","gists_url":"https://api.github.com/users/thewilkybarkid/gists{/gist_id}","starred_url":"https://api.github.com/users/thewilkybarkid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thewilkybarkid/subscriptions","organizations_url":"https://api.github.com/users/thewilkybarkid/orgs","repos_url":"https://api.github.com/users/thewilkybarkid/repos","events_url":"https://api.github.com/users/thewilkybarkid/events{/privacy}","received_events_url":"https://api.github.com/users/thewilkybarkid/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/elifesciences/api-raml/pulls/234/commits","review_comments_url":"https://api.github.com/repos/elifesciences/api-raml/pulls/234/comments","review_comment_url":"https://api.github.com/repos/elifesciences/api-raml/pulls/comments{/number}","comments_url":"https://api.github.com/repos/elifesciences/api-raml/issues/234/comments","statuses_url":"https://api.github.com/repos/elifesciences/api-raml/statuses/a1896a457b4f0a22d314293706bf6aa6aecae04f","head":{"label":"elifesciences:feat-lax-ingest-publish","ref":"feat-lax-ingest-publish","sha":"a1896a457b4f0a22d314293706bf6aa6aecae04f","user":{"login":"elifesciences","id":1777367,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NzczNjc=","avatar_url":"https://avatars2.githubusercontent.com/u/1777367?v=4","gravatar_id":"","url":"https://api.github.com/users/elifesciences","html_url":"https://github.com/elifesciences","followers_url":"https://api.github.com/users/elifesciences/followers","following_url":"https://api.github.com/users/elifesciences/following{/other_user}","gists_url":"https://api.github.com/users/elifesciences/gists{/gist_id}","starred_url":"https://api.github.com/users/elifesciences/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elifesciences/subscriptions","organizations_url":"https://api.github.com/users/elifesciences/orgs","repos_url":"https://api.github.com/users/elifesciences/repos","events_url":"https://api.github.com/users/elifesciences/events{/privacy}","received_events_url":"https://api.github.com/users/elifesciences/received_events","type":"Organization","site_admin":false},"repo":{"id":60762014,"node_id":"MDEwOlJlcG9zaXRvcnk2MDc2MjAxNA==","name":"api-raml","full_name":"elifesciences/api-raml","private":false,"owner":{"login":"elifesciences","id":1777367,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NzczNjc=","avatar_url":"https://avatars2.githubusercontent.com/u/1777367?v=4","gravatar_id":"","url":"https://api.github.com/users/elifesciences","html_url":"https://github.com/elifesciences","followers_url":"https://api.github.com/users/elifesciences/followers","following_url":"https://api.github.com/users/elifesciences/following{/other_user}","gists_url":"https://api.github.com/users/elifesciences/gists{/gist_id}","starred_url":"https://api.github.com/users/elifesciences/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elifesciences/subscriptions","organizations_url":"https://api.github.com/users/elifesciences/orgs","repos_url":"https://api.github.com/users/elifesciences/repos","events_url":"https://api.github.com/users/elifesciences/events{/privacy}","received_events_url":"https://api.github.com/users/elifesciences/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/elifesciences/api-raml","description":"RAML for the eLife Sciences API","fork":false,"url":"https://api.github.com/repos/elifesciences/api-raml","forks_url":"https://api.github.com/repos/elifesciences/api-raml/forks","keys_url":"https://api.github.com/repos/elifesciences/api-raml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elifesciences/api-raml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elifesciences/api-raml/teams","hooks_url":"https://api.github.com/repos/elifesciences/api-raml/hooks","issue_events_url":"https://api.github.com/repos/elifesciences/api-raml/issues/events{/number}","events_url":"https://api.github.com/repos/elifesciences/api-raml/events","assignees_url":"https://api.github.com/repos/elifesciences/api-raml/assignees{/user}","branches_url":"https://api.github.com/repos/elifesciences/api-raml/branches{/branch}","tags_url":"https://api.github.com/repos/elifesciences/api-raml/tags","blobs_url":"https://api.github.com/repos/elifesciences/api-raml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elifesciences/api-raml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elifesciences/api-raml/git/refs{/sha}","trees_url":"https://api.github.com/repos/elifesciences/api-raml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elifesciences/api-raml/statuses/{sha}","languages_url":"https://api.github.com/repos/elifesciences/api-raml/languages","stargazers_url":"https://api.github.com/repos/elifesciences/api-raml/stargazers","contributors_url":"https://api.github.com/repos/elifesciences/api-raml/contributors","subscribers_url":"https://api.github.com/repos/elifesciences/api-raml/subscribers","subscription_url":"https://api.github.com/repos/elifesciences/api-raml/subscription","commits_url":"https://api.github.com/repos/elifesciences/api-raml/commits{/sha}","git_commits_url":"https://api.github.com/repos/elifesciences/api-raml/git/commits{/sha}","comments_url":"https://api.github.com/repos/elifesciences/api-raml/comments{/number}","issue_comment_url":"https://api.github.com/repos/elifesciences/api-raml/issues/comments{/number}","contents_url":"https://api.github.com/repos/elifesciences/api-raml/contents/{+path}","compare_url":"https://api.github.com/repos/elifesciences/api-raml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elifesciences/api-raml/merges","archive_url":"https://api.github.com/repos/elifesciences/api-raml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elifesciences/api-raml/downloads","issues_url":"https://api.github.com/repos/elifesciences/api-raml/issues{/number}","pulls_url":"https://api.github.com/repos/elifesciences/api-raml/pulls{/number}","milestones_url":"https://api.github.com/repos/elifesciences/api-raml/milestones{/number}","notifications_url":"https://api.github.com/repos/elifesciences/api-raml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elifesciences/api-raml/labels{/name}","releases_url":"https://api.github.com/repos/elifesciences/api-raml/releases{/id}","deployments_url":"https://api.github.com/repos/elifesciences/api-raml/deployments","created_at":"2016-06-09T09:03:24Z","updated_at":"2018-10-30T10:22:27Z","pushed_at":"2018-12-12T03:48:12Z","git_url":"git://github.com/elifesciences/api-raml.git","ssh_url":"git@github.com:elifesciences/api-raml.git","clone_url":"https://github.com/elifesciences/api-raml.git","svn_url":"https://github.com/elifesciences/api-raml","homepage":"https://api.elifesciences.org/","size":10129,"stargazers_count":4,"watchers_count":4,"language":"RAML","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":6,"open_issues":4,"watchers":4,"default_branch":"develop"}},"base":{"label":"elifesciences:develop","ref":"develop","sha":"90eaabd0c642a70e39f1490dda33547c7b02f678","user":{"login":"elifesciences","id":1777367,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NzczNjc=","avatar_url":"https://avatars2.githubusercontent.com/u/1777367?v=4","gravatar_id":"","url":"https://api.github.com/users/elifesciences","html_url":"https://github.com/elifesciences","followers_url":"https://api.github.com/users/elifesciences/followers","following_url":"https://api.github.com/users/elifesciences/following{/other_user}","gists_url":"https://api.github.com/users/elifesciences/gists{/gist_id}","starred_url":"https://api.github.com/users/elifesciences/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elifesciences/subscriptions","organizations_url":"https://api.github.com/users/elifesciences/orgs","repos_url":"https://api.github.com/users/elifesciences/repos","events_url":"https://api.github.com/users/elifesciences/events{/privacy}","received_events_url":"https://api.github.com/users/elifesciences/received_events","type":"Organization","site_admin":false},"repo":{"id":60762014,"node_id":"MDEwOlJlcG9zaXRvcnk2MDc2MjAxNA==","name":"api-raml","full_name":"elifesciences/api-raml","private":false,"owner":{"login":"elifesciences","id":1777367,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NzczNjc=","avatar_url":"https://avatars2.githubusercontent.com/u/1777367?v=4","gravatar_id":"","url":"https://api.github.com/users/elifesciences","html_url":"https://github.com/elifesciences","followers_url":"https://api.github.com/users/elifesciences/followers","following_url":"https://api.github.com/users/elifesciences/following{/other_user}","gists_url":"https://api.github.com/users/elifesciences/gists{/gist_id}","starred_url":"https://api.github.com/users/elifesciences/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elifesciences/subscriptions","organizations_url":"https://api.github.com/users/elifesciences/orgs","repos_url":"https://api.github.com/users/elifesciences/repos","events_url":"https://api.github.com/users/elifesciences/events{/privacy}","received_events_url":"https://api.github.com/users/elifesciences/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/elifesciences/api-raml","description":"RAML for the eLife Sciences API","fork":false,"url":"https://api.github.com/repos/elifesciences/api-raml","forks_url":"https://api.github.com/repos/elifesciences/api-raml/forks","keys_url":"https://api.github.com/repos/elifesciences/api-raml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elifesciences/api-raml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elifesciences/api-raml/teams","hooks_url":"https://api.github.com/repos/elifesciences/api-raml/hooks","issue_events_url":"https://api.github.com/repos/elifesciences/api-raml/issues/events{/number}","events_url":"https://api.github.com/repos/elifesciences/api-raml/events","assignees_url":"https://api.github.com/repos/elifesciences/api-raml/assignees{/user}","branches_url":"https://api.github.com/repos/elifesciences/api-raml/branches{/branch}","tags_url":"https://api.github.com/repos/elifesciences/api-raml/tags","blobs_url":"https://api.github.com/repos/elifesciences/api-raml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elifesciences/api-raml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elifesciences/api-raml/git/refs{/sha}","trees_url":"https://api.github.com/repos/elifesciences/api-raml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elifesciences/api-raml/statuses/{sha}","languages_url":"https://api.github.com/repos/elifesciences/api-raml/languages","stargazers_url":"https://api.github.com/repos/elifesciences/api-raml/stargazers","contributors_url":"https://api.github.com/repos/elifesciences/api-raml/contributors","subscribers_url":"https://api.github.com/repos/elifesciences/api-raml/subscribers","subscription_url":"https://api.github.com/repos/elifesciences/api-raml/subscription","commits_url":"https://api.github.com/repos/elifesciences/api-raml/commits{/sha}","git_commits_url":"https://api.github.com/repos/elifesciences/api-raml/git/commits{/sha}","comments_url":"https://api.github.com/repos/elifesciences/api-raml/comments{/number}","issue_comment_url":"https://api.github.com/repos/elifesciences/api-raml/issues/comments{/number}","contents_url":"https://api.github.com/repos/elifesciences/api-raml/contents/{+path}","compare_url":"https://api.github.com/repos/elifesciences/api-raml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elifesciences/api-raml/merges","archive_url":"https://api.github.com/repos/elifesciences/api-raml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elifesciences/api-raml/downloads","issues_url":"https://api.github.com/repos/elifesciences/api-raml/issues{/number}","pulls_url":"https://api.github.com/repos/elifesciences/api-raml/pulls{/number}","milestones_url":"https://api.github.com/repos/elifesciences/api-raml/milestones{/number}","notifications_url":"https://api.github.com/repos/elifesciences/api-raml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elifesciences/api-raml/labels{/name}","releases_url":"https://api.github.com/repos/elifesciences/api-raml/releases{/id}","deployments_url":"https://api.github.com/repos/elifesciences/api-raml/deployments","created_at":"2016-06-09T09:03:24Z","updated_at":"2018-10-30T10:22:27Z","pushed_at":"2018-12-12T03:48:12Z","git_url":"git://github.com/elifesciences/api-raml.git","ssh_url":"git@github.com:elifesciences/api-raml.git","clone_url":"https://github.com/elifesciences/api-raml.git","svn_url":"https://github.com/elifesciences/api-raml","homepage":"https://api.elifesciences.org/","size":10129,"stargazers_count":4,"watchers_count":4,"language":"RAML","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":6,"open_issues":4,"watchers":4,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/elifesciences/api-raml/pulls/234"},"html":{"href":"https://github.com/elifesciences/api-raml/pull/234"},"issue":{"href":"https://api.github.com/repos/elifesciences/api-raml/issues/234"},"comments":{"href":"https://api.github.com/repos/elifesciences/api-raml/issues/234/comments"},"review_comments":{"href":"https://api.github.com/repos/elifesciences/api-raml/pulls/234/comments"},"review_comment":{"href":"https://api.github.com/repos/elifesciences/api-raml/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/elifesciences/api-raml/pulls/234/commits"},"statuses":{"href":"https://api.github.com/repos/elifesciences/api-raml/statuses/a1896a457b4f0a22d314293706bf6aa6aecae04f"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"giorgiosironi"}}