{"action":"created","issue":{"url":"https://api.github.com/repos/Kinto/kinto-http.js/issues/127","repository_url":"https://api.github.com/repos/Kinto/kinto-http.js","labels_url":"https://api.github.com/repos/Kinto/kinto-http.js/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/Kinto/kinto-http.js/issues/127/comments","events_url":"https://api.github.com/repos/Kinto/kinto-http.js/issues/127/events","html_url":"https://github.com/Kinto/kinto-http.js/issues/127","id":172736592,"number":127,"title":"Expose the endpoint function to client programs","user":{"login":"elelay","id":222469,"avatar_url":"https://avatars.githubusercontent.com/u/222469?v=3","gravatar_id":"","url":"https://api.github.com/users/elelay","html_url":"https://github.com/elelay","followers_url":"https://api.github.com/users/elelay/followers","following_url":"https://api.github.com/users/elelay/following{/other_user}","gists_url":"https://api.github.com/users/elelay/gists{/gist_id}","starred_url":"https://api.github.com/users/elelay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elelay/subscriptions","organizations_url":"https://api.github.com/users/elelay/orgs","repos_url":"https://api.github.com/users/elelay/repos","events_url":"https://api.github.com/users/elelay/events{/privacy}","received_events_url":"https://api.github.com/users/elelay/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-23T15:50:02Z","updated_at":"2016-09-13T08:14:33Z","closed_at":null,"body":"`endpoint()` is currently not available to client programs.\r\nIf they want to make raw queries to the kinto server, using kinto.js, they have no way to use  ̀endpoint()` in \r\n```\r\nvar api = collection.api.bucket(collection.bucket).collection(collection.name)\r\napi.client.execute({\r\n path: endpoint(\"collection\", this.bucket.name, this.name),\r\n method: \"HEAD\",\r\n raw: true,\r\n headers,\r\n})\r\n```\r\nThey also need to add authentication, but it's the subject of another issue."},"comment":{"url":"https://api.github.com/repos/Kinto/kinto-http.js/issues/comments/246608430","html_url":"https://github.com/Kinto/kinto-http.js/issues/127#issuecomment-246608430","issue_url":"https://api.github.com/repos/Kinto/kinto-http.js/issues/127","id":246608430,"user":{"login":"elelay","id":222469,"avatar_url":"https://avatars.githubusercontent.com/u/222469?v=3","gravatar_id":"","url":"https://api.github.com/users/elelay","html_url":"https://github.com/elelay","followers_url":"https://api.github.com/users/elelay/followers","following_url":"https://api.github.com/users/elelay/following{/other_user}","gists_url":"https://api.github.com/users/elelay/gists{/gist_id}","starred_url":"https://api.github.com/users/elelay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elelay/subscriptions","organizations_url":"https://api.github.com/users/elelay/orgs","repos_url":"https://api.github.com/users/elelay/repos","events_url":"https://api.github.com/users/elelay/events{/privacy}","received_events_url":"https://api.github.com/users/elelay/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T08:14:33Z","updated_at":"2016-09-13T08:14:33Z","body":"The code in #133 is wrong, but the discussion might still be of interest. "}}
{"actor":{"display_login":"elelay"}}