{"action":"opened","number":30,"pull_request":{"url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/pulls/30","id":59616663,"html_url":"https://github.com/CyberAgent/patriot-workflow-scheduler/pull/30","diff_url":"https://github.com/CyberAgent/patriot-workflow-scheduler/pull/30.diff","patch_url":"https://github.com/CyberAgent/patriot-workflow-scheduler/pull/30.patch","issue_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/issues/30","number":30,"state":"open","locked":false,"title":"Add REST API and its document","user":{"login":"tsuda7","id":516658,"avatar_url":"https://avatars.githubusercontent.com/u/516658?v=3","gravatar_id":"","url":"https://api.github.com/users/tsuda7","html_url":"https://github.com/tsuda7","followers_url":"https://api.github.com/users/tsuda7/followers","following_url":"https://api.github.com/users/tsuda7/following{/other_user}","gists_url":"https://api.github.com/users/tsuda7/gists{/gist_id}","starred_url":"https://api.github.com/users/tsuda7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsuda7/subscriptions","organizations_url":"https://api.github.com/users/tsuda7/orgs","repos_url":"https://api.github.com/users/tsuda7/repos","events_url":"https://api.github.com/users/tsuda7/events{/privacy}","received_events_url":"https://api.github.com/users/tsuda7/received_events","type":"User","site_admin":false},"body":"This fixes #10, fixes #27\r\n\r\n- Add REST API `job_api_servlet`, especially for adding the POST method to save a new job\r\n- Alter the response format around `job_id`\r\n    - but keep it as it is in the json response in `job_servlet`'s `get '/:job_id'` method to compatible with Bridge API\r\n- Add a document for explaining REST API\r\n- Fix typos(Envirionment -> Environment, sholud -> should)","created_at":"2016-02-17T09:30:14Z","updated_at":"2016-02-17T09:30:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/pulls/30/commits","review_comments_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/pulls/30/comments","review_comment_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/issues/30/comments","statuses_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/statuses/57fad7c6f616c4c33a37269df4e507cd69a6d903","head":{"label":"CyberAgent:feature/add_post_request","ref":"feature/add_post_request","sha":"57fad7c6f616c4c33a37269df4e507cd69a6d903","user":{"login":"CyberAgent","id":865695,"avatar_url":"https://avatars.githubusercontent.com/u/865695?v=3","gravatar_id":"","url":"https://api.github.com/users/CyberAgent","html_url":"https://github.com/CyberAgent","followers_url":"https://api.github.com/users/CyberAgent/followers","following_url":"https://api.github.com/users/CyberAgent/following{/other_user}","gists_url":"https://api.github.com/users/CyberAgent/gists{/gist_id}","starred_url":"https://api.github.com/users/CyberAgent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CyberAgent/subscriptions","organizations_url":"https://api.github.com/users/CyberAgent/orgs","repos_url":"https://api.github.com/users/CyberAgent/repos","events_url":"https://api.github.com/users/CyberAgent/events{/privacy}","received_events_url":"https://api.github.com/users/CyberAgent/received_events","type":"Organization","site_admin":false},"repo":{"id":36905801,"name":"patriot-workflow-scheduler","full_name":"CyberAgent/patriot-workflow-scheduler","owner":{"login":"CyberAgent","id":865695,"avatar_url":"https://avatars.githubusercontent.com/u/865695?v=3","gravatar_id":"","url":"https://api.github.com/users/CyberAgent","html_url":"https://github.com/CyberAgent","followers_url":"https://api.github.com/users/CyberAgent/followers","following_url":"https://api.github.com/users/CyberAgent/following{/other_user}","gists_url":"https://api.github.com/users/CyberAgent/gists{/gist_id}","starred_url":"https://api.github.com/users/CyberAgent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CyberAgent/subscriptions","organizations_url":"https://api.github.com/users/CyberAgent/orgs","repos_url":"https://api.github.com/users/CyberAgent/repos","events_url":"https://api.github.com/users/CyberAgent/events{/privacy}","received_events_url":"https://api.github.com/users/CyberAgent/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CyberAgent/patriot-workflow-scheduler","description":"","fork":false,"url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler","forks_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/forks","keys_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/teams","hooks_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/hooks","issue_events_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/issues/events{/number}","events_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/events","assignees_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/assignees{/user}","branches_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/branches{/branch}","tags_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/tags","blobs_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/git/refs{/sha}","trees_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/statuses/{sha}","languages_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/languages","stargazers_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/stargazers","contributors_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/contributors","subscribers_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/subscribers","subscription_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/subscription","commits_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/commits{/sha}","git_commits_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/git/commits{/sha}","comments_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/comments{/number}","issue_comment_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/issues/comments{/number}","contents_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/contents/{+path}","compare_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/merges","archive_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/downloads","issues_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/issues{/number}","pulls_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/pulls{/number}","milestones_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/milestones{/number}","notifications_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/labels{/name}","releases_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/releases{/id}","deployments_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/deployments","created_at":"2015-06-05T01:47:46Z","updated_at":"2016-02-11T05:18:03Z","pushed_at":"2016-02-17T09:22:49Z","git_url":"git://github.com/CyberAgent/patriot-workflow-scheduler.git","ssh_url":"git@github.com:CyberAgent/patriot-workflow-scheduler.git","clone_url":"https://github.com/CyberAgent/patriot-workflow-scheduler.git","svn_url":"https://github.com/CyberAgent/patriot-workflow-scheduler","homepage":null,"size":1428,"stargazers_count":20,"watchers_count":20,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":7,"forks":6,"open_issues":7,"watchers":20,"default_branch":"develop"}},"base":{"label":"CyberAgent:develop","ref":"develop","sha":"89b71162b9f31d40e32228f618d07a9e2621bf32","user":{"login":"CyberAgent","id":865695,"avatar_url":"https://avatars.githubusercontent.com/u/865695?v=3","gravatar_id":"","url":"https://api.github.com/users/CyberAgent","html_url":"https://github.com/CyberAgent","followers_url":"https://api.github.com/users/CyberAgent/followers","following_url":"https://api.github.com/users/CyberAgent/following{/other_user}","gists_url":"https://api.github.com/users/CyberAgent/gists{/gist_id}","starred_url":"https://api.github.com/users/CyberAgent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CyberAgent/subscriptions","organizations_url":"https://api.github.com/users/CyberAgent/orgs","repos_url":"https://api.github.com/users/CyberAgent/repos","events_url":"https://api.github.com/users/CyberAgent/events{/privacy}","received_events_url":"https://api.github.com/users/CyberAgent/received_events","type":"Organization","site_admin":false},"repo":{"id":36905801,"name":"patriot-workflow-scheduler","full_name":"CyberAgent/patriot-workflow-scheduler","owner":{"login":"CyberAgent","id":865695,"avatar_url":"https://avatars.githubusercontent.com/u/865695?v=3","gravatar_id":"","url":"https://api.github.com/users/CyberAgent","html_url":"https://github.com/CyberAgent","followers_url":"https://api.github.com/users/CyberAgent/followers","following_url":"https://api.github.com/users/CyberAgent/following{/other_user}","gists_url":"https://api.github.com/users/CyberAgent/gists{/gist_id}","starred_url":"https://api.github.com/users/CyberAgent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CyberAgent/subscriptions","organizations_url":"https://api.github.com/users/CyberAgent/orgs","repos_url":"https://api.github.com/users/CyberAgent/repos","events_url":"https://api.github.com/users/CyberAgent/events{/privacy}","received_events_url":"https://api.github.com/users/CyberAgent/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CyberAgent/patriot-workflow-scheduler","description":"","fork":false,"url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler","forks_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/forks","keys_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/teams","hooks_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/hooks","issue_events_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/issues/events{/number}","events_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/events","assignees_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/assignees{/user}","branches_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/branches{/branch}","tags_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/tags","blobs_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/git/refs{/sha}","trees_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/statuses/{sha}","languages_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/languages","stargazers_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/stargazers","contributors_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/contributors","subscribers_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/subscribers","subscription_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/subscription","commits_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/commits{/sha}","git_commits_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/git/commits{/sha}","comments_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/comments{/number}","issue_comment_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/issues/comments{/number}","contents_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/contents/{+path}","compare_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/merges","archive_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/downloads","issues_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/issues{/number}","pulls_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/pulls{/number}","milestones_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/milestones{/number}","notifications_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/labels{/name}","releases_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/releases{/id}","deployments_url":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/deployments","created_at":"2015-06-05T01:47:46Z","updated_at":"2016-02-11T05:18:03Z","pushed_at":"2016-02-17T09:22:49Z","git_url":"git://github.com/CyberAgent/patriot-workflow-scheduler.git","ssh_url":"git@github.com:CyberAgent/patriot-workflow-scheduler.git","clone_url":"https://github.com/CyberAgent/patriot-workflow-scheduler.git","svn_url":"https://github.com/CyberAgent/patriot-workflow-scheduler","homepage":null,"size":1428,"stargazers_count":20,"watchers_count":20,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"open_issues_count":7,"forks":6,"open_issues":7,"watchers":20,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/pulls/30"},"html":{"href":"https://github.com/CyberAgent/patriot-workflow-scheduler/pull/30"},"issue":{"href":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/issues/30"},"comments":{"href":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/CyberAgent/patriot-workflow-scheduler/statuses/57fad7c6f616c4c33a37269df4e507cd69a6d903"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":736,"deletions":148,"changed_files":34}}