{"action":"created","issue":{"url":"https://api.github.com/repos/RangerMauve/dat-pub/issues/3","repository_url":"https://api.github.com/repos/RangerMauve/dat-pub","labels_url":"https://api.github.com/repos/RangerMauve/dat-pub/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/RangerMauve/dat-pub/issues/3/comments","events_url":"https://api.github.com/repos/RangerMauve/dat-pub/issues/3/events","html_url":"https://github.com/RangerMauve/dat-pub/issues/3","id":340767417,"node_id":"MDU6SXNzdWUzNDA3Njc0MTc=","number":3,"title":"Privacy option","user":{"login":"aaronshaf","id":122654,"node_id":"MDQ6VXNlcjEyMjY1NA==","avatar_url":"https://avatars3.githubusercontent.com/u/122654?v=4","gravatar_id":"","url":"https://api.github.com/users/aaronshaf","html_url":"https://github.com/aaronshaf","followers_url":"https://api.github.com/users/aaronshaf/followers","following_url":"https://api.github.com/users/aaronshaf/following{/other_user}","gists_url":"https://api.github.com/users/aaronshaf/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronshaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronshaf/subscriptions","organizations_url":"https://api.github.com/users/aaronshaf/orgs","repos_url":"https://api.github.com/users/aaronshaf/repos","events_url":"https://api.github.com/users/aaronshaf/events{/privacy}","received_events_url":"https://api.github.com/users/aaronshaf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-12T19:25:46Z","updated_at":"2018-07-12T19:31:14Z","closed_at":null,"author_association":"COLLABORATOR","body":"I propose an option to make the service's dat url private, and to offer a GET endpoint for retrieving dat archives for a particular application. "},"comment":{"url":"https://api.github.com/repos/RangerMauve/dat-pub/issues/comments/404625112","html_url":"https://github.com/RangerMauve/dat-pub/issues/3#issuecomment-404625112","issue_url":"https://api.github.com/repos/RangerMauve/dat-pub/issues/3","id":404625112,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDYyNTExMg==","user":{"login":"RangerMauve","id":911495,"node_id":"MDQ6VXNlcjkxMTQ5NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/911495?v=4","gravatar_id":"","url":"https://api.github.com/users/RangerMauve","html_url":"https://github.com/RangerMauve","followers_url":"https://api.github.com/users/RangerMauve/followers","following_url":"https://api.github.com/users/RangerMauve/following{/other_user}","gists_url":"https://api.github.com/users/RangerMauve/gists{/gist_id}","starred_url":"https://api.github.com/users/RangerMauve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RangerMauve/subscriptions","organizations_url":"https://api.github.com/users/RangerMauve/orgs","repos_url":"https://api.github.com/users/RangerMauve/repos","events_url":"https://api.github.com/users/RangerMauve/events{/privacy}","received_events_url":"https://api.github.com/users/RangerMauve/received_events","type":"User","site_admin":false},"created_at":"2018-07-12T19:31:14Z","updated_at":"2018-07-12T19:31:14Z","author_association":"OWNER","body":"What's the use case for the GET endpoint? To get data out without the DAT URL being exposed?\r\n\r\nPersonally, I'd want to avoid centralization as much as possible. Mostly to support the offline-first use case.\r\n\r\nIf your application relies on sending GET requests anywhere, it won't work as soon as your network goes down, whereas a P2P application can still get updates from the local network.\r\n\r\nI think that if the URL is private and you need to send GET requests for the data, there's no point in storing data in a Dat in the first place. At that point you might as well have a regular HTTP server for discovery.\r\n\r\nI'm all for hiding the URL from GET requests, though. Then the URL would need to be given to somebody explicitly."}}
{"actor":{"display_login":"RangerMauve"}}