{"action":"closed","issue":{"url":"https://api.github.com/repos/coralproject/xenia/issues/27","labels_url":"https://api.github.com/repos/coralproject/xenia/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/coralproject/xenia/issues/27/comments","events_url":"https://api.github.com/repos/coralproject/xenia/issues/27/events","html_url":"https://github.com/coralproject/xenia/issues/27","id":122304072,"number":27,"title":"Make the url that endpoints expose configurable","user":{"login":"jde","id":259957,"avatar_url":"https://avatars.githubusercontent.com/u/259957?v=3","gravatar_id":"","url":"https://api.github.com/users/jde","html_url":"https://github.com/jde","followers_url":"https://api.github.com/users/jde/followers","following_url":"https://api.github.com/users/jde/following{/other_user}","gists_url":"https://api.github.com/users/jde/gists{/gist_id}","starred_url":"https://api.github.com/users/jde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jde/subscriptions","organizations_url":"https://api.github.com/users/jde/orgs","repos_url":"https://api.github.com/users/jde/repos","events_url":"https://api.github.com/users/jde/events{/privacy}","received_events_url":"https://api.github.com/users/jde/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/coralproject/xenia/labels/kind/enhancement","name":"kind/enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"ardan-bkennedy","id":2280005,"avatar_url":"https://avatars.githubusercontent.com/u/2280005?v=3","gravatar_id":"","url":"https://api.github.com/users/ardan-bkennedy","html_url":"https://github.com/ardan-bkennedy","followers_url":"https://api.github.com/users/ardan-bkennedy/followers","following_url":"https://api.github.com/users/ardan-bkennedy/following{/other_user}","gists_url":"https://api.github.com/users/ardan-bkennedy/gists{/gist_id}","starred_url":"https://api.github.com/users/ardan-bkennedy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ardan-bkennedy/subscriptions","organizations_url":"https://api.github.com/users/ardan-bkennedy/orgs","repos_url":"https://api.github.com/users/ardan-bkennedy/repos","events_url":"https://api.github.com/users/ardan-bkennedy/events{/privacy}","received_events_url":"https://api.github.com/users/ardan-bkennedy/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/coralproject/xenia/milestones/2","html_url":"https://github.com/coralproject/xenia/milestones/Trust%20v.1b%20(Partner)","labels_url":"https://api.github.com/repos/coralproject/xenia/milestones/2/labels","id":1476110,"number":2,"title":"Trust v.1b (Partner)","description":"Ready for our beta partners to use with the understanding that we will work with them to resolve issues.","creator":{"login":"jde","id":259957,"avatar_url":"https://avatars.githubusercontent.com/u/259957?v=3","gravatar_id":"","url":"https://api.github.com/users/jde","html_url":"https://github.com/jde","followers_url":"https://api.github.com/users/jde/followers","following_url":"https://api.github.com/users/jde/following{/other_user}","gists_url":"https://api.github.com/users/jde/gists{/gist_id}","starred_url":"https://api.github.com/users/jde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jde/subscriptions","organizations_url":"https://api.github.com/users/jde/orgs","repos_url":"https://api.github.com/users/jde/repos","events_url":"https://api.github.com/users/jde/events{/privacy}","received_events_url":"https://api.github.com/users/jde/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":2,"state":"open","created_at":"2015-12-28T17:10:25Z","updated_at":"2016-01-04T17:09:07Z","due_on":"2016-02-01T05:00:00Z","closed_at":null},"comments":7,"created_at":"2015-12-15T15:59:56Z","updated_at":"2016-01-04T17:09:07Z","closed_at":"2016-01-04T17:09:07Z","body":"It will be important to allow Xenia api authors to customize the endpoints that are exposed when creating pipelines.  Currently, the endpoints are generated via this formula:\r\n```\r\n/[version]/query/[name]/exec\r\n```\r\nWhile quite functional, this does not allow for:\r\n\r\n- designing Xenia endpoints that fit into existing standards, such as REST\r\n- designing logically grouped sets of endpoints that are easy to understand from consumers\r\n- practicing the art of api design\r\n\r\nSolution:\r\nProvide an option in the query_set configuration that specifies the route to which the api will be published:\r\n```\r\n{\r\n    ...,\r\n    route: \"/top/commenters\",\r\n    ...\r\n}\r\n```\r\nStay tuned for an up and coming issue in which the request to embed variables into routes, a la \"/user/#user_id#/with/comments\" will be made..."}}