{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/14409","repository_url":"https://api.github.com/repos/ManageIQ/manageiq","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/14409/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/14409/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/14409/events","html_url":"https://github.com/ManageIQ/manageiq/pull/14409","id":215483411,"number":14409,"title":"add_resource to Service api","user":{"login":"jntullo","id":2433314,"avatar_url":"https://avatars1.githubusercontent.com/u/2433314?v=3","gravatar_id":"","url":"https://api.github.com/users/jntullo","html_url":"https://github.com/jntullo","followers_url":"https://api.github.com/users/jntullo/followers","following_url":"https://api.github.com/users/jntullo/following{/other_user}","gists_url":"https://api.github.com/users/jntullo/gists{/gist_id}","starred_url":"https://api.github.com/users/jntullo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jntullo/subscriptions","organizations_url":"https://api.github.com/users/jntullo/orgs","repos_url":"https://api.github.com/users/jntullo/repos","events_url":"https://api.github.com/users/jntullo/events{/privacy}","received_events_url":"https://api.github.com/users/jntullo/received_events","type":"User","site_admin":false},"labels":[{"id":182908134,"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/api","name":"api","color":"5319e7","default":false},{"id":106615678,"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"abellotti","id":5797328,"avatar_url":"https://avatars2.githubusercontent.com/u/5797328?v=3","gravatar_id":"","url":"https://api.github.com/users/abellotti","html_url":"https://github.com/abellotti","followers_url":"https://api.github.com/users/abellotti/followers","following_url":"https://api.github.com/users/abellotti/following{/other_user}","gists_url":"https://api.github.com/users/abellotti/gists{/gist_id}","starred_url":"https://api.github.com/users/abellotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abellotti/subscriptions","organizations_url":"https://api.github.com/users/abellotti/orgs","repos_url":"https://api.github.com/users/abellotti/repos","events_url":"https://api.github.com/users/abellotti/events{/privacy}","received_events_url":"https://api.github.com/users/abellotti/received_events","type":"User","site_admin":false},"assignees":[{"login":"abellotti","id":5797328,"avatar_url":"https://avatars2.githubusercontent.com/u/5797328?v=3","gravatar_id":"","url":"https://api.github.com/users/abellotti","html_url":"https://github.com/abellotti","followers_url":"https://api.github.com/users/abellotti/followers","following_url":"https://api.github.com/users/abellotti/following{/other_user}","gists_url":"https://api.github.com/users/abellotti/gists{/gist_id}","starred_url":"https://api.github.com/users/abellotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abellotti/subscriptions","organizations_url":"https://api.github.com/users/abellotti/orgs","repos_url":"https://api.github.com/users/abellotti/repos","events_url":"https://api.github.com/users/abellotti/events{/privacy}","received_events_url":"https://api.github.com/users/abellotti/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2017-03-20T16:47:33Z","updated_at":"2017-03-20T18:32:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/14409","html_url":"https://github.com/ManageIQ/manageiq/pull/14409","diff_url":"https://github.com/ManageIQ/manageiq/pull/14409.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/14409.patch"},"body":"Adds \"add_resource\" action to Service resources\r\n```\r\nPOST /api/services/:id\r\n{\r\n  \"action\" : \"add_resource\",\r\n  \"resources\" : [\r\n    { \"href\" : \"http://localhost:3000/api/vms/11\" },\r\n    { \"href\" : \"http://localhost:3000/api/vms/12\" },\r\n    { \"href\" : \"http://localhost:3000/api/vms/13\" }\r\n    ...\r\n  ]\r\n}\r\n```\r\n\r\nhttps://www.pivotaltracker.com/story/show/142057167\r\n\r\n@miq-bot add_label enhancement, api, service\r\n@miq-bot assign @abellotti \r\ncc: @mkanoor \r\n"},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/287855497","html_url":"https://github.com/ManageIQ/manageiq/pull/14409#issuecomment-287855497","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/14409","id":287855497,"user":{"login":"miq-bot","id":7806257,"avatar_url":"https://avatars2.githubusercontent.com/u/7806257?v=3","gravatar_id":"","url":"https://api.github.com/users/miq-bot","html_url":"https://github.com/miq-bot","followers_url":"https://api.github.com/users/miq-bot/followers","following_url":"https://api.github.com/users/miq-bot/following{/other_user}","gists_url":"https://api.github.com/users/miq-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/miq-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miq-bot/subscriptions","organizations_url":"https://api.github.com/users/miq-bot/orgs","repos_url":"https://api.github.com/users/miq-bot/repos","events_url":"https://api.github.com/users/miq-bot/events{/privacy}","received_events_url":"https://api.github.com/users/miq-bot/received_events","type":"User","site_admin":false},"created_at":"2017-03-20T18:32:34Z","updated_at":"2017-03-20T18:32:34Z","body":"<rubocop />Checked commit https://github.com/jntullo/manageiq/commit/8cd54285234830156ed6ad14d95f62523d2de1b8 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0\n3 files checked, 0 offenses detected\nEverything looks good. :cake:\n"}}
{"actor":{"display_login":"miq-bot"}}