{"action":"created","issue":{"url":"https://api.github.com/repos/cachethq/Cachet/issues/468","labels_url":"https://api.github.com/repos/cachethq/Cachet/issues/468/labels{/name}","comments_url":"https://api.github.com/repos/cachethq/Cachet/issues/468/comments","events_url":"https://api.github.com/repos/cachethq/Cachet/issues/468/events","html_url":"https://github.com/cachethq/Cachet/issues/468","id":58522161,"number":468,"title":"API - Cannot update a component status - always creates a new component","user":{"login":"georgehansper","id":3813543,"avatar_url":"https://avatars.githubusercontent.com/u/3813543?v=3","gravatar_id":"","url":"https://api.github.com/users/georgehansper","html_url":"https://github.com/georgehansper","followers_url":"https://api.github.com/users/georgehansper/followers","following_url":"https://api.github.com/users/georgehansper/following{/other_user}","gists_url":"https://api.github.com/users/georgehansper/gists{/gist_id}","starred_url":"https://api.github.com/users/georgehansper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgehansper/subscriptions","organizations_url":"https://api.github.com/users/georgehansper/orgs","repos_url":"https://api.github.com/users/georgehansper/repos","events_url":"https://api.github.com/users/georgehansper/events{/privacy}","received_events_url":"https://api.github.com/users/georgehansper/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cachethq/Cachet/labels/api","name":"api","color":"4ECDC4"},{"url":"https://api.github.com/repos/cachethq/Cachet/labels/duplicate","name":"duplicate","color":"1BBC9B"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cachethq/Cachet/milestones/1","html_url":"https://github.com/cachethq/Cachet/milestones/First%20Release%20(v1.0.0)","labels_url":"https://api.github.com/repos/cachethq/Cachet/milestones/1/labels","id":878070,"number":1,"title":"First Release (v1.0.0)","description":"Cachet should be open for a proper release, which contains at least:\r\n\r\n- Full Setup Page\r\n- Management Panel\r\n- API\r\n- Web Hooks","creator":{"login":"jbrooksuk","id":246103,"avatar_url":"https://avatars.githubusercontent.com/u/246103?v=3","gravatar_id":"","url":"https://api.github.com/users/jbrooksuk","html_url":"https://github.com/jbrooksuk","followers_url":"https://api.github.com/users/jbrooksuk/followers","following_url":"https://api.github.com/users/jbrooksuk/following{/other_user}","gists_url":"https://api.github.com/users/jbrooksuk/gists{/gist_id}","starred_url":"https://api.github.com/users/jbrooksuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbrooksuk/subscriptions","organizations_url":"https://api.github.com/users/jbrooksuk/orgs","repos_url":"https://api.github.com/users/jbrooksuk/repos","events_url":"https://api.github.com/users/jbrooksuk/events{/privacy}","received_events_url":"https://api.github.com/users/jbrooksuk/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":39,"state":"open","created_at":"2014-11-24T10:32:34Z","updated_at":"2015-02-25T21:05:08Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2015-02-22T21:57:47Z","updated_at":"2015-02-25T21:08:13Z","closed_at":null,"body":"When using the `/api/components` API, it is not possible to update the status of an existing component.\r\n\r\nInstead, a new component with the same name is created every time.\r\n\r\nThis occurs for both of the following JSON payloads:\r\n\r\n```\r\n{\"status\":\"2\",\"name\":\"test2\"}\r\n```\r\n\r\n```\r\n{\"status\":\"2\",\"name\":\"test2\",\"id\":2}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/cachethq/Cachet/issues/comments/76058556","html_url":"https://github.com/cachethq/Cachet/issues/468#issuecomment-76058556","issue_url":"https://api.github.com/repos/cachethq/Cachet/issues/468","id":76058556,"user":{"login":"joecohens","id":1803556,"avatar_url":"https://avatars.githubusercontent.com/u/1803556?v=3","gravatar_id":"","url":"https://api.github.com/users/joecohens","html_url":"https://github.com/joecohens","followers_url":"https://api.github.com/users/joecohens/followers","following_url":"https://api.github.com/users/joecohens/following{/other_user}","gists_url":"https://api.github.com/users/joecohens/gists{/gist_id}","starred_url":"https://api.github.com/users/joecohens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joecohens/subscriptions","organizations_url":"https://api.github.com/users/joecohens/orgs","repos_url":"https://api.github.com/users/joecohens/repos","events_url":"https://api.github.com/users/joecohens/events{/privacy}","received_events_url":"https://api.github.com/users/joecohens/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T21:08:13Z","updated_at":"2015-02-25T21:08:13Z","body":"Roger :)"}}