{"action":"opened","number":29,"pull_request":{"url":"https://api.github.com/repos/EtherCorp/b_project/pulls/29","id":157455699,"html_url":"https://github.com/EtherCorp/b_project/pull/29","diff_url":"https://github.com/EtherCorp/b_project/pull/29.diff","patch_url":"https://github.com/EtherCorp/b_project/pull/29.patch","issue_url":"https://api.github.com/repos/EtherCorp/b_project/issues/29","number":29,"state":"open","locked":false,"title":"exposing stores logs and server logs","user":{"login":"kevin-alvarez","id":20260063,"avatar_url":"https://avatars1.githubusercontent.com/u/20260063?v=4","gravatar_id":"","url":"https://api.github.com/users/kevin-alvarez","html_url":"https://github.com/kevin-alvarez","followers_url":"https://api.github.com/users/kevin-alvarez/followers","following_url":"https://api.github.com/users/kevin-alvarez/following{/other_user}","gists_url":"https://api.github.com/users/kevin-alvarez/gists{/gist_id}","starred_url":"https://api.github.com/users/kevin-alvarez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevin-alvarez/subscriptions","organizations_url":"https://api.github.com/users/kevin-alvarez/orgs","repos_url":"https://api.github.com/users/kevin-alvarez/repos","events_url":"https://api.github.com/users/kevin-alvarez/events{/privacy}","received_events_url":"https://api.github.com/users/kevin-alvarez/received_events","type":"User","site_admin":false},"body":"# Monitoring Data Service\r\n\r\n## API endpoints\r\nMonitoring data is exposed with services, there are 2 endpoints, one used to get store status logs, and other to get system status logs.\r\n### Store status logs\r\nGet logs from a specific store, id is needed\r\n* /api/v1/stores/:id/logs\r\n\r\n### Server status logs\r\nGet last 10 server status logs\r\n* /api/v1/server_status_logs\r\n\r\n## Usage\r\nJust run rails server\r\n```\r\nbundle exec rails s\r\n```\r\n\r\nAnd access to endpoints with Postman (or other tool).","created_at":"2017-12-10T23:16:47Z","updated_at":"2017-12-10T23:16:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/EtherCorp/b_project/pulls/29/commits","review_comments_url":"https://api.github.com/repos/EtherCorp/b_project/pulls/29/comments","review_comment_url":"https://api.github.com/repos/EtherCorp/b_project/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EtherCorp/b_project/issues/29/comments","statuses_url":"https://api.github.com/repos/EtherCorp/b_project/statuses/45549fdc14eb11b5c2190d3257d75692eb466b8b","head":{"label":"EtherCorp:feature/monitoring_api","ref":"feature/monitoring_api","sha":"45549fdc14eb11b5c2190d3257d75692eb466b8b","user":{"login":"EtherCorp","id":31282417,"avatar_url":"https://avatars2.githubusercontent.com/u/31282417?v=4","gravatar_id":"","url":"https://api.github.com/users/EtherCorp","html_url":"https://github.com/EtherCorp","followers_url":"https://api.github.com/users/EtherCorp/followers","following_url":"https://api.github.com/users/EtherCorp/following{/other_user}","gists_url":"https://api.github.com/users/EtherCorp/gists{/gist_id}","starred_url":"https://api.github.com/users/EtherCorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EtherCorp/subscriptions","organizations_url":"https://api.github.com/users/EtherCorp/orgs","repos_url":"https://api.github.com/users/EtherCorp/repos","events_url":"https://api.github.com/users/EtherCorp/events{/privacy}","received_events_url":"https://api.github.com/users/EtherCorp/received_events","type":"Organization","site_admin":false},"repo":{"id":101187529,"name":"b_project","full_name":"EtherCorp/b_project","owner":{"login":"EtherCorp","id":31282417,"avatar_url":"https://avatars2.githubusercontent.com/u/31282417?v=4","gravatar_id":"","url":"https://api.github.com/users/EtherCorp","html_url":"https://github.com/EtherCorp","followers_url":"https://api.github.com/users/EtherCorp/followers","following_url":"https://api.github.com/users/EtherCorp/following{/other_user}","gists_url":"https://api.github.com/users/EtherCorp/gists{/gist_id}","starred_url":"https://api.github.com/users/EtherCorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EtherCorp/subscriptions","organizations_url":"https://api.github.com/users/EtherCorp/orgs","repos_url":"https://api.github.com/users/EtherCorp/repos","events_url":"https://api.github.com/users/EtherCorp/events{/privacy}","received_events_url":"https://api.github.com/users/EtherCorp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/EtherCorp/b_project","description":"Making gamer world a better place","fork":false,"url":"https://api.github.com/repos/EtherCorp/b_project","forks_url":"https://api.github.com/repos/EtherCorp/b_project/forks","keys_url":"https://api.github.com/repos/EtherCorp/b_project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EtherCorp/b_project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EtherCorp/b_project/teams","hooks_url":"https://api.github.com/repos/EtherCorp/b_project/hooks","issue_events_url":"https://api.github.com/repos/EtherCorp/b_project/issues/events{/number}","events_url":"https://api.github.com/repos/EtherCorp/b_project/events","assignees_url":"https://api.github.com/repos/EtherCorp/b_project/assignees{/user}","branches_url":"https://api.github.com/repos/EtherCorp/b_project/branches{/branch}","tags_url":"https://api.github.com/repos/EtherCorp/b_project/tags","blobs_url":"https://api.github.com/repos/EtherCorp/b_project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EtherCorp/b_project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EtherCorp/b_project/git/refs{/sha}","trees_url":"https://api.github.com/repos/EtherCorp/b_project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EtherCorp/b_project/statuses/{sha}","languages_url":"https://api.github.com/repos/EtherCorp/b_project/languages","stargazers_url":"https://api.github.com/repos/EtherCorp/b_project/stargazers","contributors_url":"https://api.github.com/repos/EtherCorp/b_project/contributors","subscribers_url":"https://api.github.com/repos/EtherCorp/b_project/subscribers","subscription_url":"https://api.github.com/repos/EtherCorp/b_project/subscription","commits_url":"https://api.github.com/repos/EtherCorp/b_project/commits{/sha}","git_commits_url":"https://api.github.com/repos/EtherCorp/b_project/git/commits{/sha}","comments_url":"https://api.github.com/repos/EtherCorp/b_project/comments{/number}","issue_comment_url":"https://api.github.com/repos/EtherCorp/b_project/issues/comments{/number}","contents_url":"https://api.github.com/repos/EtherCorp/b_project/contents/{+path}","compare_url":"https://api.github.com/repos/EtherCorp/b_project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EtherCorp/b_project/merges","archive_url":"https://api.github.com/repos/EtherCorp/b_project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EtherCorp/b_project/downloads","issues_url":"https://api.github.com/repos/EtherCorp/b_project/issues{/number}","pulls_url":"https://api.github.com/repos/EtherCorp/b_project/pulls{/number}","milestones_url":"https://api.github.com/repos/EtherCorp/b_project/milestones{/number}","notifications_url":"https://api.github.com/repos/EtherCorp/b_project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EtherCorp/b_project/labels{/name}","releases_url":"https://api.github.com/repos/EtherCorp/b_project/releases{/id}","deployments_url":"https://api.github.com/repos/EtherCorp/b_project/deployments","created_at":"2017-08-23T14:09:39Z","updated_at":"2017-08-23T14:18:19Z","pushed_at":"2017-12-10T23:02:38Z","git_url":"git://github.com/EtherCorp/b_project.git","ssh_url":"git@github.com:EtherCorp/b_project.git","clone_url":"https://github.com/EtherCorp/b_project.git","svn_url":"https://github.com/EtherCorp/b_project","homepage":null,"size":494,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":6,"license":null,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"EtherCorp:develop","ref":"develop","sha":"3a186598fda5191fea772c1c75400470a65d1f1a","user":{"login":"EtherCorp","id":31282417,"avatar_url":"https://avatars2.githubusercontent.com/u/31282417?v=4","gravatar_id":"","url":"https://api.github.com/users/EtherCorp","html_url":"https://github.com/EtherCorp","followers_url":"https://api.github.com/users/EtherCorp/followers","following_url":"https://api.github.com/users/EtherCorp/following{/other_user}","gists_url":"https://api.github.com/users/EtherCorp/gists{/gist_id}","starred_url":"https://api.github.com/users/EtherCorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EtherCorp/subscriptions","organizations_url":"https://api.github.com/users/EtherCorp/orgs","repos_url":"https://api.github.com/users/EtherCorp/repos","events_url":"https://api.github.com/users/EtherCorp/events{/privacy}","received_events_url":"https://api.github.com/users/EtherCorp/received_events","type":"Organization","site_admin":false},"repo":{"id":101187529,"name":"b_project","full_name":"EtherCorp/b_project","owner":{"login":"EtherCorp","id":31282417,"avatar_url":"https://avatars2.githubusercontent.com/u/31282417?v=4","gravatar_id":"","url":"https://api.github.com/users/EtherCorp","html_url":"https://github.com/EtherCorp","followers_url":"https://api.github.com/users/EtherCorp/followers","following_url":"https://api.github.com/users/EtherCorp/following{/other_user}","gists_url":"https://api.github.com/users/EtherCorp/gists{/gist_id}","starred_url":"https://api.github.com/users/EtherCorp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EtherCorp/subscriptions","organizations_url":"https://api.github.com/users/EtherCorp/orgs","repos_url":"https://api.github.com/users/EtherCorp/repos","events_url":"https://api.github.com/users/EtherCorp/events{/privacy}","received_events_url":"https://api.github.com/users/EtherCorp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/EtherCorp/b_project","description":"Making gamer world a better place","fork":false,"url":"https://api.github.com/repos/EtherCorp/b_project","forks_url":"https://api.github.com/repos/EtherCorp/b_project/forks","keys_url":"https://api.github.com/repos/EtherCorp/b_project/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EtherCorp/b_project/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EtherCorp/b_project/teams","hooks_url":"https://api.github.com/repos/EtherCorp/b_project/hooks","issue_events_url":"https://api.github.com/repos/EtherCorp/b_project/issues/events{/number}","events_url":"https://api.github.com/repos/EtherCorp/b_project/events","assignees_url":"https://api.github.com/repos/EtherCorp/b_project/assignees{/user}","branches_url":"https://api.github.com/repos/EtherCorp/b_project/branches{/branch}","tags_url":"https://api.github.com/repos/EtherCorp/b_project/tags","blobs_url":"https://api.github.com/repos/EtherCorp/b_project/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EtherCorp/b_project/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EtherCorp/b_project/git/refs{/sha}","trees_url":"https://api.github.com/repos/EtherCorp/b_project/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EtherCorp/b_project/statuses/{sha}","languages_url":"https://api.github.com/repos/EtherCorp/b_project/languages","stargazers_url":"https://api.github.com/repos/EtherCorp/b_project/stargazers","contributors_url":"https://api.github.com/repos/EtherCorp/b_project/contributors","subscribers_url":"https://api.github.com/repos/EtherCorp/b_project/subscribers","subscription_url":"https://api.github.com/repos/EtherCorp/b_project/subscription","commits_url":"https://api.github.com/repos/EtherCorp/b_project/commits{/sha}","git_commits_url":"https://api.github.com/repos/EtherCorp/b_project/git/commits{/sha}","comments_url":"https://api.github.com/repos/EtherCorp/b_project/comments{/number}","issue_comment_url":"https://api.github.com/repos/EtherCorp/b_project/issues/comments{/number}","contents_url":"https://api.github.com/repos/EtherCorp/b_project/contents/{+path}","compare_url":"https://api.github.com/repos/EtherCorp/b_project/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EtherCorp/b_project/merges","archive_url":"https://api.github.com/repos/EtherCorp/b_project/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EtherCorp/b_project/downloads","issues_url":"https://api.github.com/repos/EtherCorp/b_project/issues{/number}","pulls_url":"https://api.github.com/repos/EtherCorp/b_project/pulls{/number}","milestones_url":"https://api.github.com/repos/EtherCorp/b_project/milestones{/number}","notifications_url":"https://api.github.com/repos/EtherCorp/b_project/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EtherCorp/b_project/labels{/name}","releases_url":"https://api.github.com/repos/EtherCorp/b_project/releases{/id}","deployments_url":"https://api.github.com/repos/EtherCorp/b_project/deployments","created_at":"2017-08-23T14:09:39Z","updated_at":"2017-08-23T14:18:19Z","pushed_at":"2017-12-10T23:02:38Z","git_url":"git://github.com/EtherCorp/b_project.git","ssh_url":"git@github.com:EtherCorp/b_project.git","clone_url":"https://github.com/EtherCorp/b_project.git","svn_url":"https://github.com/EtherCorp/b_project","homepage":null,"size":494,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":6,"license":null,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/EtherCorp/b_project/pulls/29"},"html":{"href":"https://github.com/EtherCorp/b_project/pull/29"},"issue":{"href":"https://api.github.com/repos/EtherCorp/b_project/issues/29"},"comments":{"href":"https://api.github.com/repos/EtherCorp/b_project/issues/29/comments"},"review_comments":{"href":"https://api.github.com/repos/EtherCorp/b_project/pulls/29/comments"},"review_comment":{"href":"https://api.github.com/repos/EtherCorp/b_project/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EtherCorp/b_project/pulls/29/commits"},"statuses":{"href":"https://api.github.com/repos/EtherCorp/b_project/statuses/45549fdc14eb11b5c2190d3257d75692eb466b8b"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":48,"deletions":11,"changed_files":6}}
{"actor":{"display_login":"kevin-alvarez"}}