{"action":"created","issue":{"url":"https://api.github.com/repos/rhq-project/rhq/issues/153","labels_url":"https://api.github.com/repos/rhq-project/rhq/issues/153/labels{/name}","comments_url":"https://api.github.com/repos/rhq-project/rhq/issues/153/comments","events_url":"https://api.github.com/repos/rhq-project/rhq/issues/153/events","html_url":"https://github.com/rhq-project/rhq/pull/153","id":51815595,"number":153,"title":"Bug 1173096 - Support for Filtering child resources","user":{"login":"lzoubek","id":367247,"avatar_url":"https://avatars.githubusercontent.com/u/367247?v=3","gravatar_id":"","url":"https://api.github.com/users/lzoubek","html_url":"https://github.com/lzoubek","followers_url":"https://api.github.com/users/lzoubek/followers","following_url":"https://api.github.com/users/lzoubek/following{/other_user}","gists_url":"https://api.github.com/users/lzoubek/gists{/gist_id}","starred_url":"https://api.github.com/users/lzoubek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lzoubek/subscriptions","organizations_url":"https://api.github.com/users/lzoubek/orgs","repos_url":"https://api.github.com/users/lzoubek/repos","events_url":"https://api.github.com/users/lzoubek/events{/privacy}","received_events_url":"https://api.github.com/users/lzoubek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-12T15:10:19Z","updated_at":"2015-03-23T23:39:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rhq-project/rhq/pulls/153","html_url":"https://github.com/rhq-project/rhq/pull/153","diff_url":"https://github.com/rhq-project/rhq/pull/153.diff","patch_url":"https://github.com/rhq-project/rhq/pull/153.patch"},"body":"First commit adds:\r\n/resource/{id}/children that could accept the same @QueryParams as /resource\r\n- child resources can now be filtered by name status and category\r\n\r\n2nd commit adds:\r\nAdded new endpoint : GET /resource/search which supports *ALL* filtering\r\noptions from ResourceCriteria class with small exception - it cannot pass\r\nmultiple values to filter functions.\r\n\r\n2nd commit implementation has an advantage of being generic (if we happen to add a filter to ResourceCriteria, there is a fair chance we don't have to touch REST code, but also a disadvantage - documentation - every parameter could not be documented. I'd like to ask for review .. wheter we want to go this way. We may merge only first commit, but I think the 2nd one adds a real power to REST API to resource filtering\r\n"},"comment":{"url":"https://api.github.com/repos/rhq-project/rhq/issues/comments/85247315","html_url":"https://github.com/rhq-project/rhq/pull/153#issuecomment-85247315","issue_url":"https://api.github.com/repos/rhq-project/rhq/issues/153","id":85247315,"user":{"login":"lzoubek","id":367247,"avatar_url":"https://avatars.githubusercontent.com/u/367247?v=3","gravatar_id":"","url":"https://api.github.com/users/lzoubek","html_url":"https://github.com/lzoubek","followers_url":"https://api.github.com/users/lzoubek/followers","following_url":"https://api.github.com/users/lzoubek/following{/other_user}","gists_url":"https://api.github.com/users/lzoubek/gists{/gist_id}","starred_url":"https://api.github.com/users/lzoubek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lzoubek/subscriptions","organizations_url":"https://api.github.com/users/lzoubek/orgs","repos_url":"https://api.github.com/users/lzoubek/repos","events_url":"https://api.github.com/users/lzoubek/events{/privacy}","received_events_url":"https://api.github.com/users/lzoubek/received_events","type":"User","site_admin":false},"created_at":"2015-03-23T23:39:28Z","updated_at":"2015-03-23T23:39:28Z","body":"retest this please"}}