{"action":"created","issue":{"url":"https://api.github.com/repos/ncw/rclone/issues/2577","repository_url":"https://api.github.com/repos/ncw/rclone","labels_url":"https://api.github.com/repos/ncw/rclone/issues/2577/labels{/name}","comments_url":"https://api.github.com/repos/ncw/rclone/issues/2577/comments","events_url":"https://api.github.com/repos/ncw/rclone/issues/2577/events","html_url":"https://github.com/ncw/rclone/issues/2577","id":360141972,"node_id":"MDU6SXNzdWUzNjAxNDE5NzI=","number":2577,"title":"Dropbox Business Feature; --dropbox-impersonate ","user":{"login":"jake-stripe","id":23064578,"node_id":"MDQ6VXNlcjIzMDY0NTc4","avatar_url":"https://avatars0.githubusercontent.com/u/23064578?v=4","gravatar_id":"","url":"https://api.github.com/users/jake-stripe","html_url":"https://github.com/jake-stripe","followers_url":"https://api.github.com/users/jake-stripe/followers","following_url":"https://api.github.com/users/jake-stripe/following{/other_user}","gists_url":"https://api.github.com/users/jake-stripe/gists{/gist_id}","starred_url":"https://api.github.com/users/jake-stripe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jake-stripe/subscriptions","organizations_url":"https://api.github.com/users/jake-stripe/orgs","repos_url":"https://api.github.com/users/jake-stripe/repos","events_url":"https://api.github.com/users/jake-stripe/events{/privacy}","received_events_url":"https://api.github.com/users/jake-stripe/received_events","type":"User","site_admin":false},"labels":[{"id":306062879,"node_id":"MDU6TGFiZWwzMDYwNjI4Nzk=","url":"https://api.github.com/repos/ncw/rclone/labels/Remote:%20Dropbox","name":"Remote: Dropbox","color":"fbca04","default":false},{"id":86399007,"node_id":"MDU6TGFiZWw4NjM5OTAwNw==","url":"https://api.github.com/repos/ncw/rclone/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ncw/rclone/milestones/13","html_url":"https://github.com/ncw/rclone/milestone/13","labels_url":"https://api.github.com/repos/ncw/rclone/milestones/13/labels","id":1575401,"node_id":"MDk6TWlsZXN0b25lMTU3NTQwMQ==","number":13,"title":"Help Wanted","description":"Enhancements which might be useful, but currently aren't planned.\r\n\r\nAny help doing these much appreciated.","creator":{"login":"ncw","id":536803,"node_id":"MDQ6VXNlcjUzNjgwMw==","avatar_url":"https://avatars2.githubusercontent.com/u/536803?v=4","gravatar_id":"","url":"https://api.github.com/users/ncw","html_url":"https://github.com/ncw","followers_url":"https://api.github.com/users/ncw/followers","following_url":"https://api.github.com/users/ncw/following{/other_user}","gists_url":"https://api.github.com/users/ncw/gists{/gist_id}","starred_url":"https://api.github.com/users/ncw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncw/subscriptions","organizations_url":"https://api.github.com/users/ncw/orgs","repos_url":"https://api.github.com/users/ncw/repos","events_url":"https://api.github.com/users/ncw/events{/privacy}","received_events_url":"https://api.github.com/users/ncw/received_events","type":"User","site_admin":false},"open_issues":187,"closed_issues":23,"state":"open","created_at":"2016-02-10T17:44:20Z","updated_at":"2018-11-02T09:43:29Z","due_on":null,"closed_at":null},"comments":10,"created_at":"2018-09-14T03:17:10Z","updated_at":"2018-11-03T04:29:00Z","closed_at":null,"author_association":"NONE","body":"Hello There,\r\n\r\nOne of my favorite things about rclone is it's ability to utilize a Gsuite service account with the `--drive-impersonate <gsuite-email>` flag. I would love to see this functionality brought to Dropbox in the form of `--dropbox-impersonate <dropbox-account-id>`\r\n\r\n*Docs:* The feature is a a part of the [buisness api](https://www.dropbox.com/developers/documentation/http/teams#teams-member-file-access), \r\n\r\n*Creds:* A Dropbox admin needs to provision a key with the *Team member management* scope. \r\n\r\n*REST API Specifics:* The only real change to api calls is the addition of an extra header in the request; `Dropbox-API-Select-User: team_member_id`\r\nUnfortunately you are required to provide the member-id, rather than a email address, but this is the only odd bit.\r\n\r\n*[golang client](https://github.com/dropbox/dropbox-sdk-go-unofficial/blob/master/dropbox/files/client.go)*: You configure the client with `dbx.Config.AsMemberID`\r\n\r\nThanks very much for your time and happy rclone-ing :)\r\n\r\n-Jake"},"comment":{"url":"https://api.github.com/repos/ncw/rclone/issues/comments/435559769","html_url":"https://github.com/ncw/rclone/issues/2577#issuecomment-435559769","issue_url":"https://api.github.com/repos/ncw/rclone/issues/2577","id":435559769,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTU1OTc2OQ==","user":{"login":"jake-stripe","id":23064578,"node_id":"MDQ6VXNlcjIzMDY0NTc4","avatar_url":"https://avatars0.githubusercontent.com/u/23064578?v=4","gravatar_id":"","url":"https://api.github.com/users/jake-stripe","html_url":"https://github.com/jake-stripe","followers_url":"https://api.github.com/users/jake-stripe/followers","following_url":"https://api.github.com/users/jake-stripe/following{/other_user}","gists_url":"https://api.github.com/users/jake-stripe/gists{/gist_id}","starred_url":"https://api.github.com/users/jake-stripe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jake-stripe/subscriptions","organizations_url":"https://api.github.com/users/jake-stripe/orgs","repos_url":"https://api.github.com/users/jake-stripe/repos","events_url":"https://api.github.com/users/jake-stripe/events{/privacy}","received_events_url":"https://api.github.com/users/jake-stripe/received_events","type":"User","site_admin":false},"created_at":"2018-11-03T04:29:00Z","updated_at":"2018-11-03T04:29:00Z","author_association":"NONE","body":"Hi @ncw i've been using the following branch off and on for the last few months without issue. Please let me know what you think of it. In my opinion the error handling I added is a bit blunt... I'd love any advice you could provide on how I might improve it.\r\n\r\nhttps://github.com/ncw/rclone/pull/2719"}}
{"actor":{"display_login":"jake-stripe"}}