*** This version of Confluence is for testing only and contains a copy of content from June 29th 2026. No changes will be preserved. ***
...
| URL | /api/sample/count_total |
| Description | Return the total number of samples the user uploaded |
| Header | API_KEY, Authorization |
| Method | GET |
| Url Param | -- |
| Request Body Data | -- |
| Response | { "sampleCount": int } - 200 |
Survey APIs
| URL | /api/sendAfterBirthSurvey |
| Description | send the infant after birth qualtrics survey to the email specified |
| Header | API_KEY, Authorization |
| Method | POST |
| Url Param | -- |
| Request Body Data | |
| Response | {message: "Email is sent"} - 200 {message: "There was a problem sending the email. Please try again later"} - 500 |
| URL | /api/survey/questions | ||
| Description | Returns the sample survey when 'main_survey' is passed in as survey_name | ||
| Header | API_KEY, Authorization | ||
| Method | GET | ||
| Url Param | survey_name | ||
| Request Body Data | -- | ||
| Response |
|
...
