{"action":"created","issue":{"url":"https://api.github.com/repos/caskdata/cdap/issues/3340","labels_url":"https://api.github.com/repos/caskdata/cdap/issues/3340/labels{/name}","comments_url":"https://api.github.com/repos/caskdata/cdap/issues/3340/comments","events_url":"https://api.github.com/repos/caskdata/cdap/issues/3340/events","html_url":"https://github.com/caskdata/cdap/pull/3340","id":97757169,"number":3340,"title":"Update the system services restart endpoints to be more RESTful","user":{"login":"henry-cask","id":11763016,"avatar_url":"https://avatars.githubusercontent.com/u/11763016?v=3","gravatar_id":"","url":"https://api.github.com/users/henry-cask","html_url":"https://github.com/henry-cask","followers_url":"https://api.github.com/users/henry-cask/followers","following_url":"https://api.github.com/users/henry-cask/following{/other_user}","gists_url":"https://api.github.com/users/henry-cask/gists{/gist_id}","starred_url":"https://api.github.com/users/henry-cask/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henry-cask/subscriptions","organizations_url":"https://api.github.com/users/henry-cask/orgs","repos_url":"https://api.github.com/users/henry-cask/repos","events_url":"https://api.github.com/users/henry-cask/events{/privacy}","received_events_url":"https://api.github.com/users/henry-cask/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/caskdata/cdap/labels/3.1","name":"3.1","color":"14d940"}],"state":"open","locked":false,"assignee":{"login":"anew","id":483004,"avatar_url":"https://avatars.githubusercontent.com/u/483004?v=3","gravatar_id":"","url":"https://api.github.com/users/anew","html_url":"https://github.com/anew","followers_url":"https://api.github.com/users/anew/followers","following_url":"https://api.github.com/users/anew/following{/other_user}","gists_url":"https://api.github.com/users/anew/gists{/gist_id}","starred_url":"https://api.github.com/users/anew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anew/subscriptions","organizations_url":"https://api.github.com/users/anew/orgs","repos_url":"https://api.github.com/users/anew/repos","events_url":"https://api.github.com/users/anew/events{/privacy}","received_events_url":"https://api.github.com/users/anew/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-07-28T17:22:11Z","updated_at":"2015-07-29T17:11:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/caskdata/cdap/pulls/3340","html_url":"https://github.com/caskdata/cdap/pull/3340","diff_url":"https://github.com/caskdata/cdap/pull/3340.diff","patch_url":"https://github.com/caskdata/cdap/pull/3340.patch"},"body":"Follow up on endpoint for system service restart instances comments after demo.\r\n\r\nAdding concept of \"restart\" resource to the /system/services/{service-name} endpoint.\r\nThe restart path represent a request to restart instances on the system services.\r\n\r\nSo to restart all instances of a system service need to send request to:\r\nPUT /system/services/{service-name}/restart\r\n\r\nand to restart particular instance id via:\r\nPUT /system/services/{service-name}/restart/{instance-id}\r\n\r\nModify the GET endpoint for latest restart status by adding concept of latest-restart resource:\r\nGET /system/services/{service-name}/latest-restart"},"comment":{"url":"https://api.github.com/repos/caskdata/cdap/issues/comments/126021735","html_url":"https://github.com/caskdata/cdap/pull/3340#issuecomment-126021735","issue_url":"https://api.github.com/repos/caskdata/cdap/issues/3340","id":126021735,"user":{"login":"henry-cask","id":11763016,"avatar_url":"https://avatars.githubusercontent.com/u/11763016?v=3","gravatar_id":"","url":"https://api.github.com/users/henry-cask","html_url":"https://github.com/henry-cask","followers_url":"https://api.github.com/users/henry-cask/followers","following_url":"https://api.github.com/users/henry-cask/following{/other_user}","gists_url":"https://api.github.com/users/henry-cask/gists{/gist_id}","starred_url":"https://api.github.com/users/henry-cask/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henry-cask/subscriptions","organizations_url":"https://api.github.com/users/henry-cask/orgs","repos_url":"https://api.github.com/users/henry-cask/repos","events_url":"https://api.github.com/users/henry-cask/events{/privacy}","received_events_url":"https://api.github.com/users/henry-cask/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T17:11:33Z","updated_at":"2015-07-29T17:11:33Z","body":"New build: http://builds.cask.co/browse/CDAP-RBT363-4"}}