Skip to content

. Add GET /api/v1/users/me/export endpoint #350

Description

@DeFiVC

What: Add an endpoint that exports all of the user's data in a machine-readable format (JSON).

Why: GDPR requires data portability. Users must be able to export their data (profile, enrollments, quiz results, credentials, rewards).

Scope: Create endpoint that aggregates all user data: profile, enrollments, quiz submissions, credentials, reward claims. Return as downloadable JSON with metadata (export date, version).

Acceptance criteria:

  • Returns complete user data as JSON
  • Includes all data categories
  • Downloadable as file attachment
  • Export is logged in audit logs

Technical context: src/modules/users/user.service.ts — user queries. src/database/schema.ts — all relevant tables.


Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions