{"action":"created","issue":{"url":"https://api.github.com/repos/hawkular/hawkular-metrics/issues/473","repository_url":"https://api.github.com/repos/hawkular/hawkular-metrics","labels_url":"https://api.github.com/repos/hawkular/hawkular-metrics/issues/473/labels{/name}","comments_url":"https://api.github.com/repos/hawkular/hawkular-metrics/issues/473/comments","events_url":"https://api.github.com/repos/hawkular/hawkular-metrics/issues/473/events","html_url":"https://github.com/hawkular/hawkular-metrics/pull/473","id":145219720,"number":473,"title":"[HWKMETRICS-24] ","user":{"login":"stefannegrea","id":3912943,"avatar_url":"https://avatars.githubusercontent.com/u/3912943?v=3","gravatar_id":"","url":"https://api.github.com/users/stefannegrea","html_url":"https://github.com/stefannegrea","followers_url":"https://api.github.com/users/stefannegrea/followers","following_url":"https://api.github.com/users/stefannegrea/following{/other_user}","gists_url":"https://api.github.com/users/stefannegrea/gists{/gist_id}","starred_url":"https://api.github.com/users/stefannegrea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stefannegrea/subscriptions","organizations_url":"https://api.github.com/users/stefannegrea/orgs","repos_url":"https://api.github.com/users/stefannegrea/repos","events_url":"https://api.github.com/users/stefannegrea/events{/privacy}","received_events_url":"https://api.github.com/users/stefannegrea/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-01T16:08:07Z","updated_at":"2016-04-06T19:38:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hawkular/hawkular-metrics/pulls/473","html_url":"https://github.com/hawkular/hawkular-metrics/pull/473","diff_url":"https://github.com/hawkular/hawkular-metrics/pull/473.diff","patch_url":"https://github.com/hawkular/hawkular-metrics/pull/473.patch"},"body":"/data endpoint became too complex to maintain since it was serving two purposes (retrieve raw and statistical data). This is also confusing to users because the decision as to what data to return was made at runtime based on the parameters.\r\n\r\nHere are the changes in this commit:\r\n- all /data APIs have been deprecated\r\n- POST /data has been moved to POST /raw\r\n- GET $id/data has been split into two\r\n  - $id/raw - to retrieve raw data\r\n  - $id/stats - to retrieve bucketed/statistical data\r\n- Documentation for deprecated APIs has been updated to point to the new APIs."},"comment":{"url":"https://api.github.com/repos/hawkular/hawkular-metrics/issues/comments/206526695","html_url":"https://github.com/hawkular/hawkular-metrics/pull/473#issuecomment-206526695","issue_url":"https://api.github.com/repos/hawkular/hawkular-metrics/issues/473","id":206526695,"user":{"login":"jsanda","id":168121,"avatar_url":"https://avatars.githubusercontent.com/u/168121?v=3","gravatar_id":"","url":"https://api.github.com/users/jsanda","html_url":"https://github.com/jsanda","followers_url":"https://api.github.com/users/jsanda/followers","following_url":"https://api.github.com/users/jsanda/following{/other_user}","gists_url":"https://api.github.com/users/jsanda/gists{/gist_id}","starred_url":"https://api.github.com/users/jsanda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsanda/subscriptions","organizations_url":"https://api.github.com/users/jsanda/orgs","repos_url":"https://api.github.com/users/jsanda/repos","events_url":"https://api.github.com/users/jsanda/events{/privacy}","received_events_url":"https://api.github.com/users/jsanda/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T19:38:35Z","updated_at":"2016-04-06T19:38:35Z","body":"We have an endpoint that returns rate stats, but not one that returns the rate data points by themselves. For consistency and in case we and an endpoint to return the rate data points, should we change the current endpoint from ```/counters/$id/rate``` to ```/counters/$id/rate/stats```?"}}