studies

These are open studies that anyone can join

Changed on

These are studies that anyone can join and share their data for the predictor and outcome variables of interest.

get/v3/studies/open

Request

  • Base URL: https://api.curedao.org/api
  • URL: https://api.curedao.org/api/v3/studies/open
  • 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

descriptionstring required

Ex: These factors are most predictive of Overall Mood based on your own data.

summarystring required

Can be used as title in help info popup

avatarstring

Square icon png url

ionIconstring

Ex: ion-ios-person

titlestring

Ex: Top Predictors of Overall Mood

htmlstring

Embeddable list of study summaries with explanation at the top

Changes

    • warning

      deleted the query request parameter causeVariableId

    • warning

      deleted the query request parameter effectVariableId

    • warning

      deleted the query request parameter outcomeVariableName

    • warning

      deleted the query request parameter predictorVariableName