studies
Get Study
Changed onGet Study
get/v4/study
Request
- Base URL: https://api.curedao.org/api
- URL: https://api.curedao.org/api/v4/study
- Auth: one of:
- HTTP bearer
- OAuth 2 (authorization code, authorization URL https://api.curedao.org/api/v1/oauth/authorize, token URL https://api.curedao.org/api/v1/oauth/token, scopes: basic)
Query parameters
causeVariableNamestring
Deprecated: Name of the hypothetical predictor variable. Ex: Sleep Duration
effectVariableNamestring
Deprecated: Name of the outcome variable of interest. Ex: Overall Mood
userIdnumber
User's id
clientIdstring
Your CureDAO client id can be obtained by creating an app at https://builder.curedao.org
includeChartsboolean
Highcharts configs that can be used if you have highcharts.js included on the page. This only works if the id or name query parameter is also provided.
recalculateboolean
Recalculate instead of using cached analysis
studyIdstring
Client id for the study you want
Response
Successful operation
Changes
- warning
deleted the
queryrequest parametercauseVariableId - warning
deleted the
queryrequest parametereffectVariableId - warning
deleted the
queryrequest parameteroutcomeVariableName - warning
deleted the
queryrequest parameterpredictorVariableName
- warning