{"action":"created","issue":{"url":"https://api.github.com/repos/blockstack/gaia/issues/152","repository_url":"https://api.github.com/repos/blockstack/gaia","labels_url":"https://api.github.com/repos/blockstack/gaia/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/blockstack/gaia/issues/152/comments","events_url":"https://api.github.com/repos/blockstack/gaia/issues/152/events","html_url":"https://github.com/blockstack/gaia/issues/152","id":376103351,"node_id":"MDU6SXNzdWUzNzYxMDMzNTE=","number":152,"title":"Programmatic endpoint for setting the initial whitelist","user":{"login":"jcnelson","id":459947,"node_id":"MDQ6VXNlcjQ1OTk0Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/459947?v=4","gravatar_id":"","url":"https://api.github.com/users/jcnelson","html_url":"https://github.com/jcnelson","followers_url":"https://api.github.com/users/jcnelson/followers","following_url":"https://api.github.com/users/jcnelson/following{/other_user}","gists_url":"https://api.github.com/users/jcnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/jcnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcnelson/subscriptions","organizations_url":"https://api.github.com/users/jcnelson/orgs","repos_url":"https://api.github.com/users/jcnelson/repos","events_url":"https://api.github.com/users/jcnelson/events{/privacy}","received_events_url":"https://api.github.com/users/jcnelson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jcnelson","id":459947,"node_id":"MDQ6VXNlcjQ1OTk0Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/459947?v=4","gravatar_id":"","url":"https://api.github.com/users/jcnelson","html_url":"https://github.com/jcnelson","followers_url":"https://api.github.com/users/jcnelson/followers","following_url":"https://api.github.com/users/jcnelson/following{/other_user}","gists_url":"https://api.github.com/users/jcnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/jcnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcnelson/subscriptions","organizations_url":"https://api.github.com/users/jcnelson/orgs","repos_url":"https://api.github.com/users/jcnelson/repos","events_url":"https://api.github.com/users/jcnelson/events{/privacy}","received_events_url":"https://api.github.com/users/jcnelson/received_events","type":"User","site_admin":false},"assignees":[{"login":"jcnelson","id":459947,"node_id":"MDQ6VXNlcjQ1OTk0Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/459947?v=4","gravatar_id":"","url":"https://api.github.com/users/jcnelson","html_url":"https://github.com/jcnelson","followers_url":"https://api.github.com/users/jcnelson/followers","following_url":"https://api.github.com/users/jcnelson/following{/other_user}","gists_url":"https://api.github.com/users/jcnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/jcnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcnelson/subscriptions","organizations_url":"https://api.github.com/users/jcnelson/orgs","repos_url":"https://api.github.com/users/jcnelson/repos","events_url":"https://api.github.com/users/jcnelson/events{/privacy}","received_events_url":"https://api.github.com/users/jcnelson/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-10-31T18:29:26Z","updated_at":"2018-11-12T15:10:34Z","closed_at":null,"author_association":"MEMBER","body":"This is an open question to think about -- if a user is contacting their Gaia hub for the first time, can they programmatically set the initial address whitelist?  The use-case is the user registering a Blockstack ID and pointing it to their freshly-deployed private Gaia hub.  They don't have an address for it yet, and we don't want to have the user navigate away from the onboarding flow to go manually add the address.\r\n\r\nOne option is to have the user set a one-time-use password when they instantiate their Gaia hub, and then enter it into the onboarding flow along with the Gaia write endpoint.  In the background, the authenticator POSTs to the Gaia hub to set the initial whitelist once the name registration transactions and zone file gets generated and queued up."},"comment":{"url":"https://api.github.com/repos/blockstack/gaia/issues/comments/437915851","html_url":"https://github.com/blockstack/gaia/issues/152#issuecomment-437915851","issue_url":"https://api.github.com/repos/blockstack/gaia/issues/152","id":437915851,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzkxNTg1MQ==","user":{"login":"jcnelson","id":459947,"node_id":"MDQ6VXNlcjQ1OTk0Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/459947?v=4","gravatar_id":"","url":"https://api.github.com/users/jcnelson","html_url":"https://github.com/jcnelson","followers_url":"https://api.github.com/users/jcnelson/followers","following_url":"https://api.github.com/users/jcnelson/following{/other_user}","gists_url":"https://api.github.com/users/jcnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/jcnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcnelson/subscriptions","organizations_url":"https://api.github.com/users/jcnelson/orgs","repos_url":"https://api.github.com/users/jcnelson/repos","events_url":"https://api.github.com/users/jcnelson/events{/privacy}","received_events_url":"https://api.github.com/users/jcnelson/received_events","type":"User","site_admin":false},"created_at":"2018-11-12T15:10:34Z","updated_at":"2018-11-12T15:10:34Z","author_association":"MEMBER","body":"This could be addressed by the admin side-car PR if the user knew the API key beforehand (which I'm assuming they would)."}}
{"actor":{"display_login":"jcnelson"}}