studies

Anonymously share measurements for specified variables

post/v3/study/join

Request

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

studyIdstring

Client id for the study you want

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

Response

Successful operation

descriptionstring

Can be used as body of help info popup

summarystring

Can be used as title in help info popup

statusstring

ex. OK or ERROR

successboolean

true or false

codenumber

Response code such as 200

linkstring

A super neat url you might want to share with your users!

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