{"action":"created","issue":{"url":"https://api.github.com/repos/redhat-ipaas/ipaas-api-java/issues/32","repository_url":"https://api.github.com/repos/redhat-ipaas/ipaas-api-java","labels_url":"https://api.github.com/repos/redhat-ipaas/ipaas-api-java/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/redhat-ipaas/ipaas-api-java/issues/32/comments","events_url":"https://api.github.com/repos/redhat-ipaas/ipaas-api-java/issues/32/events","html_url":"https://github.com/redhat-ipaas/ipaas-api-java/pull/32","id":195341138,"number":32,"title":"Add support for sorting for all list operations (#22)","user":{"login":"rhuss","id":99080,"avatar_url":"https://avatars.githubusercontent.com/u/99080?v=3","gravatar_id":"","url":"https://api.github.com/users/rhuss","html_url":"https://github.com/rhuss","followers_url":"https://api.github.com/users/rhuss/followers","following_url":"https://api.github.com/users/rhuss/following{/other_user}","gists_url":"https://api.github.com/users/rhuss/gists{/gist_id}","starred_url":"https://api.github.com/users/rhuss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhuss/subscriptions","organizations_url":"https://api.github.com/users/rhuss/orgs","repos_url":"https://api.github.com/users/rhuss/repos","events_url":"https://api.github.com/users/rhuss/events{/privacy}","received_events_url":"https://api.github.com/users/rhuss/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-13T19:10:54Z","updated_at":"2016-12-14T08:04:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/redhat-ipaas/ipaas-api-java/pulls/32","html_url":"https://github.com/redhat-ipaas/ipaas-api-java/pull/32","diff_url":"https://github.com/redhat-ipaas/ipaas-api-java/pull/32.diff","patch_url":"https://github.com/redhat-ipaas/ipaas-api-java/pull/32.patch"},"body":"You can use the following query parameters:\n\n* \"sortField\" to specify on which field to support. Supported are currently integer and string fields.\n* \"sortDir\" can be \"asc\" or \"desc\" dependening on which direction to sort. Default is \"asc\"\n\nStill open: Proper Swagger annotation which is probably done via a \"Parameters Definition Object\" (https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#parameters-definitions-object) so that it doesnt not have to repeated all over all.\n\nAlso it would be nice to sort on multiple levels (by providing multiple sort fields) and also on deeper values by allowing a path expression for the field. But thats probably over the top for now ;-)\n\nInteresting also: The DataManager.fetch(...) method can take a list of transformers (like the ReflectiveSorter), so it should be trivial to add paging at that point, too."},"comment":{"url":"https://api.github.com/repos/redhat-ipaas/ipaas-api-java/issues/comments/266968731","html_url":"https://github.com/redhat-ipaas/ipaas-api-java/pull/32#issuecomment-266968731","issue_url":"https://api.github.com/repos/redhat-ipaas/ipaas-api-java/issues/32","id":266968731,"user":{"login":"jimmidyson","id":464659,"avatar_url":"https://avatars.githubusercontent.com/u/464659?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmidyson","html_url":"https://github.com/jimmidyson","followers_url":"https://api.github.com/users/jimmidyson/followers","following_url":"https://api.github.com/users/jimmidyson/following{/other_user}","gists_url":"https://api.github.com/users/jimmidyson/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmidyson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmidyson/subscriptions","organizations_url":"https://api.github.com/users/jimmidyson/orgs","repos_url":"https://api.github.com/users/jimmidyson/repos","events_url":"https://api.github.com/users/jimmidyson/events{/privacy}","received_events_url":"https://api.github.com/users/jimmidyson/received_events","type":"User","site_admin":false},"created_at":"2016-12-14T08:04:09Z","updated_at":"2016-12-14T08:04:09Z","body":"LGTM. Will take full look when I'm on my computer later."}}
{"actor":{"display_login":"jimmidyson"}}