Apps

Export everything of one user (GDPR)

Everything of one user of the app as JSON: what Hypamoon keeps (account, membership, passkeys without the keys), every row in the per-user tables (set with set_table_owner_column) and every file of theirs with a download link for 15 minutes. unmarked_tables lists the tables that are not per-user: Hypamoon cannot tell which rows there are theirs, so check those yourself. app_tables not_included: the app has no per-user tables at all, so no row of its database is in the export.

post/apps/{id}/users/{userId}/export

Request

  • Base URL: https://api.hypamoon.com/api/v1
  • URL: https://api.hypamoon.com/api/v1/apps/{id}/users/{userId}/export
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://app.hypamoon.com/oauth/authorize, token URL https://api.hypamoon.com/oauth/token, scopes: sites:write)

Path parameters

idstring uuid required

The id of the app.

userIdstring uuid required

The id of the user (sub in x-hypamoon-user).

Response

The export.

app_idstring uuid required
user_idstring uuid required
exported_atstring required
tablesobject required

Per per-user table, every row of this user.

app_tables'included' | 'not_included' | 'no_database' required

included: the per-user tables (set_table_owner_column) were handled; unmarked_tables may still hold data. not_included: the app has no per-user tables, so no row of the app's own database was exported or deleted; check those tables yourself. no_database: the app has no database.

unmarked_tablesstring[] required

Tables that are not marked per-user: Hypamoon cannot tell which rows there belong to this user, so they may still hold data about them.

notestring nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.