-
Notifications
You must be signed in to change notification settings - Fork 843
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow users to export their own data #1299
Comments
@pushcx , I was going to open another Rate limiting would need to be necessary to prevent DDOS and not overflow a queue. |
It's going to be an HTTPS URL that requires an auth token in a cookie and gives the user a json or zip. What would you want to see different? |
👍
Ideally something that doesn't expire (closer to an API key), so I can store it in my env and my script will "just work".
That's fine enough. For programmatic use I'd usually prefer a header, but as long as it's easy to send using existing tools, it's not a big deal.
JSON is strongly preferred, in my case. Paging is also fine if you'd prefer multiple, serial requests rather than a single big one Thanks again for putting the work in for this! |
Honestly yeah, I was under the assumption it would send an email of a user's exported data. This would work just fine. |
@pushcx Is this already being actively developed? |
Not that I'm aware of. |
What would be the benefit of this over extending the existing routes with |
The benefit is that it would support the users who've requested the ability to export all of their submissions, comments, votes, etc., rather than require them to write custom code to handle pagination and rate limiting. It also wouldn't create a broad API surface that others would assume we'd maintain. |
Per a request, it would be nice to have an endpoint for a user to export their data like comments, stories, links to upvoted comments/stories, private messages. Though care has to be taken not to export other users' data.
This will need to be a background job as some users have substantial amounts of data. I'm pretty sure I heard Rails 8 is going to ship with SolidQueue so let's install that, store jobs in the db. There are a few things like email notifications that I've wanted to move to jobs for a while.
The text was updated successfully, but these errors were encountered: