Skip to content

Add export endpoint for the user object itself

Eric Eastwood requested to merge 1899-user-data-export into develop

Add export endpoint for the user object itself

Part of https://gitlab.com/gitlab-org/gitter/webapp/-/issues/1899

Testing strategy

  1. Set yourself as a staff user, mongo gitter -> db.users.update({ username: 'yourusername' }, { staff: true })
  2. Visit your local Gitter, open the devtools and run window.troupeContext.user.id to get your user ID
  3. Replace the user ID in the following URL
  4. Visit http://localhost:5000/api_web/export/user/5a87396f1543b98772a686a3/me.ndjson and download your messages
Edited by Eric Eastwood

Merge request reports