API Reference

Get variables along with related user-specific analysis settings and statistics

Get variables. If the user has specified variable settings, these are provided instead of the common variable defaults.

Log in to see full request history
timestatususer agent
Retrieving recent requests…
LoadingLoading…
Query Params
boolean

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.

string

Filter variables by the total number of measurements that they have. This could be used of you want to filter or sort by popularity.

number

User's id

string

Ex: Emotions, Treatments, Symptoms...

string

Name of the variable. To get results matching a substring, add % as a wildcard as the first and/or last character of a query string parameter. In order to get variables that contain Mood, the following query should be used: ?variableName=%Mood%

string

Name of the variable you want measurements for

string

When the record was last updated. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local.

string

ID of the source you want measurements for (supports exact name match only)

string

Excluded records with measurement times earlier than this value. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local.

string

Excluded records with measurement times later than this value. Use UTC ISO 8601 YYYY-MM-DDThh:mm:ss datetime format. Time zone should be UTC and not local.

integer

Common variable id

string

Limit variables to those which measurements were last submitted by a specific source. So if you have a client application and you only want variables that were last updated by your app, you can include the name of your app here

integer
Defaults to 100

The LIMIT is used to limit the number of results returned. So if youhave 1000 results, but only want to the first 10, you would set this to 10 and offset to 0. The maximum limit is 200 records.

integer
≥ 0

OFFSET says to skip that many rows before beginning to return rows to the client. OFFSET 0 is the same as omitting the OFFSET clause.If both OFFSET and LIMIT appear, then OFFSET rows are skipped before starting to count the LIMIT rows that are returned.

string

Sort by one of the listed field names. If the field name is prefixed with -, it will sort in descending order.

boolean

Include variables the user has no measurements for

boolean

Only include variables tracked manually by the user

string

Your CureDAO client id can be obtained by creating an app at https://builder.quantimo.do

string

UPC or other barcode scan result

string

Provided variable is the effect or cause

string

Ex:

boolean

Require exact match

integer

Ex: 13

boolean

Include user-specific variables in results

string

Ex: %Body Fat%

string

Ex: McDonalds hotcake

integer

Id of the tagged variable (i.e. Lollipop) you would like to get variables it can be tagged with (i.e. Sugar). Converted measurements of the tagged variable are included in analysis of the tag variable (i.e. ingredient).

integer

Id of the tag variable (i.e. Sugar) you would like to get variables it can be tagged to (i.e. Lollipop). Converted measurements of the tagged variable are included in analysis of the tag variable (i.e. ingredient).

integer

Id of the variable you would like to get variables that can be joined to. This is used to merge duplicate variables. If joinVariableId is specified, this returns only variables eligible to be joined to the variable specified by the joinVariableId.

integer

Id of the parent category variable (i.e. Fruit) you would like to get eligible child sub-type variables (i.e. Apple) for. Child variable measurements will be included in analysis of the parent variable. For instance, a child sub-type of the parent category Fruit could be Apple. When Apple is tagged with the parent category Fruit, Apple measurements will be included when Fruit is analyzed.

integer

Id of the child sub-type variable (i.e. Apple) you would like to get eligible parent variables (i.e. Fruit) for. Child variable measurements will be included in analysis of the parent variable. For instance, a child sub-type of the parent category Fruit could be Apple. When Apple is tagged with the parent category Fruit, Apple measurements will be included when Fruit is analyzed.

integer

Id of the ingredient variable (i.e. Fructose) you would like to get eligible ingredientOf variables (i.e. Apple) for. IngredientOf variable measurements will be included in analysis of the ingredient variable. For instance, a ingredientOf of variable Fruit could be Apple.

integer

Id of the ingredientOf variable (i.e. Apple) you would like to get eligible ingredient variables (i.e. Fructose) for. IngredientOf variable measurements will be included in analysis of the ingredient variable. For instance, a ingredientOf of variable Fruit could be Apple.

boolean

Return only public and aggregated common variable data instead of user-specific variables

boolean

Return only user-specific variables and data, excluding common aggregated variable data

boolean

Return parent, child, duplicate, and ingredient variables

boolean

Recalculate instead of using cached analysis

integer

Ex: 13

boolean

Only return field required for variable auto-complete searches. The smaller size allows for storing more variable results locally reducing API requests.

boolean

Regenerate charts instead of getting from the cache

Responses

401

Not Authenticated

Language
Credentials
Click Try It! to start a request and see the response here! Or choose an example:
application/json