{"action":"created","issue":{"url":"https://api.github.com/repos/restic/restic/issues/253","labels_url":"https://api.github.com/repos/restic/restic/issues/253/labels{/name}","comments_url":"https://api.github.com/repos/restic/restic/issues/253/comments","events_url":"https://api.github.com/repos/restic/restic/issues/253/events","html_url":"https://github.com/restic/restic/pull/253","id":98971844,"number":253,"title":"Basic REST backend","user":{"login":"bchapuis","id":238747,"avatar_url":"https://avatars.githubusercontent.com/u/238747?v=3","gravatar_id":"","url":"https://api.github.com/users/bchapuis","html_url":"https://github.com/bchapuis","followers_url":"https://api.github.com/users/bchapuis/followers","following_url":"https://api.github.com/users/bchapuis/following{/other_user}","gists_url":"https://api.github.com/users/bchapuis/gists{/gist_id}","starred_url":"https://api.github.com/users/bchapuis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bchapuis/subscriptions","organizations_url":"https://api.github.com/users/bchapuis/orgs","repos_url":"https://api.github.com/users/bchapuis/repos","events_url":"https://api.github.com/users/bchapuis/events{/privacy}","received_events_url":"https://api.github.com/users/bchapuis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":32,"created_at":"2015-08-04T13:38:41Z","updated_at":"2015-09-15T21:13:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/restic/restic/pulls/253","html_url":"https://github.com/restic/restic/pull/253","diff_url":"https://github.com/restic/restic/pull/253.diff","patch_url":"https://github.com/restic/restic/pull/253.patch"},"body":"I started working on a very basic REST backend (#23) and test server ([server.go](https://gist.githubusercontent.com/bchapuis/16d9dd0a8ae1ba80bcdd/raw/054dd9dec3360f63a98a682715b729614f7dfa44/server.go)). At this point, the test server must be started in the background before running the tests. The I'm not really familiar with go and I don't really know how to stop the server after the execution. Feedbacks appreciated... ;)\r\n\r\nConnects #23"},"comment":{"url":"https://api.github.com/repos/restic/restic/issues/comments/140544741","html_url":"https://github.com/restic/restic/pull/253#issuecomment-140544741","issue_url":"https://api.github.com/repos/restic/restic/issues/253","id":140544741,"user":{"login":"bchapuis","id":238747,"avatar_url":"https://avatars.githubusercontent.com/u/238747?v=3","gravatar_id":"","url":"https://api.github.com/users/bchapuis","html_url":"https://github.com/bchapuis","followers_url":"https://api.github.com/users/bchapuis/followers","following_url":"https://api.github.com/users/bchapuis/following{/other_user}","gists_url":"https://api.github.com/users/bchapuis/gists{/gist_id}","starred_url":"https://api.github.com/users/bchapuis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bchapuis/subscriptions","organizations_url":"https://api.github.com/users/bchapuis/orgs","repos_url":"https://api.github.com/users/bchapuis/repos","events_url":"https://api.github.com/users/bchapuis/events{/privacy}","received_events_url":"https://api.github.com/users/bchapuis/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T21:13:26Z","updated_at":"2015-09-15T21:13:26Z","body":"Regarding the singular form I mainly used it to avoid the mapping between the directories and the types. The same approach is adopted by the S3 backend. But it's not an issue to change this behavior, what do you think?\r\n\r\nRegarding the trailing slashes, it seems [common](https://en.wikipedia.org/wiki/Representational_state_transfer#Applied_to_web_services) to use them to distinguish a group of resources from a specific resource.\r\n\r\nThe fuse mount works with my server implementation but I will check what happening with in your case.\r\n"}}