User Data Download Service - Sage-Bionetworks/BridgeWorkerPlatform GitHub Wiki

This guide assumes you are familiar with Bridge (Server and Exporter) and Synapse, and that you have already followed or are concurrently following the BridgeWorkerPlatform Getting Started guide.

Testing UDD

  1. Ensure the Bridge Server (and its dependencies such as Redis and MySQL) and the Worker Platform are both running.

  2. Sign into Bridge with a consented participant account (ideally one that has submitted health data that has been exported to Synapse).

  3. Using an HTTP tool such as Postman, make a POST /v3/users/self/emailData to Bridge Server with the following body:

     {
       "startDate":"2018-01-01",
       "endDate":"2018-01-31"
     }
    

    The start and end date are calendar dates in YYYY-MM-DD format that represent the range of your download request, inclusive of both dates.

  4. UDD will handle your request asynchronously. After about a minute or so, the logs will say "Sent email to account [accountId] with SES message ID [messageId]". In a few moments, you should have your results in your email account.