GET
/
v3
/
measurements
curl --request GET \
  --url https://safe.dfda.earth/api/v3/measurements \
  --header 'Authorization: Bearer <token>'
[
  {
    "card": {
      "actionSheetButtons": [
        {
          "accessibilityText": "<string>",
          "action": {},
          "additionalInformation": "<string>",
          "color": "<string>",
          "confirmationText": "<string>",
          "functionName": "<string>",
          "parameters": {},
          "html": "<string>",
          "id": "<string>",
          "image": "<string>",
          "ionIcon": "<string>",
          "link": "<string>",
          "stateName": "<string>",
          "stateParams": {},
          "successToastText": "<string>",
          "successAlertTitle": "<string>",
          "successAlertBody": "<string>",
          "text": "<string>",
          "tooltip": "<string>",
          "webhookUrl": "<string>"
        }
      ],
      "avatar": "<string>",
      "avatarCircular": "<string>",
      "backgroundColor": "<string>",
      "buttons": [
        {
          "accessibilityText": "<string>",
          "action": {},
          "additionalInformation": "<string>",
          "color": "<string>",
          "confirmationText": "<string>",
          "functionName": "<string>",
          "parameters": {},
          "html": "<string>",
          "id": "<string>",
          "image": "<string>",
          "ionIcon": "<string>",
          "link": "<string>",
          "stateName": "<string>",
          "stateParams": {},
          "successToastText": "<string>",
          "successAlertTitle": "<string>",
          "successAlertBody": "<string>",
          "text": "<string>",
          "tooltip": "<string>",
          "webhookUrl": "<string>"
        }
      ],
      "buttonsSecondary": [
        {
          "accessibilityText": "<string>",
          "action": {},
          "additionalInformation": "<string>",
          "color": "<string>",
          "confirmationText": "<string>",
          "functionName": "<string>",
          "parameters": {},
          "html": "<string>",
          "id": "<string>",
          "image": "<string>",
          "ionIcon": "<string>",
          "link": "<string>",
          "stateName": "<string>",
          "stateParams": {},
          "successToastText": "<string>",
          "successAlertTitle": "<string>",
          "successAlertBody": "<string>",
          "text": "<string>",
          "tooltip": "<string>",
          "webhookUrl": "<string>"
        }
      ],
      "content": "<string>",
      "headerTitle": "<string>",
      "html": "<string>",
      "htmlContent": "<string>",
      "id": "<string>",
      "image": "<string>",
      "inputFields": [
        {
          "displayName": "<string>",
          "helpText": "<string>",
          "hint": "<string>",
          "icon": "<string>",
          "id": "<string>",
          "image": "<string>",
          "key": "<string>",
          "labelLeft": "<string>",
          "labelRight": "<string>",
          "link": "<string>",
          "maxLength": 123,
          "maxValue": 123,
          "minLength": 123,
          "minValue": 123,
          "options": [
            "<string>"
          ],
          "placeholder": "<string>",
          "postUrl": "<string>",
          "required": true,
          "show": true,
          "submitButton": {
            "accessibilityText": "<string>",
            "action": {},
            "additionalInformation": "<string>",
            "color": "<string>",
            "confirmationText": "<string>",
            "functionName": "<string>",
            "parameters": {},
            "html": "<string>",
            "id": "<string>",
            "image": "<string>",
            "ionIcon": "<string>",
            "link": "<string>",
            "stateName": "<string>",
            "stateParams": {},
            "successToastText": "<string>",
            "successAlertTitle": "<string>",
            "successAlertBody": "<string>",
            "text": "<string>",
            "tooltip": "<string>",
            "webhookUrl": "<string>"
          },
          "type": "check_box",
          "validationPattern": "<string>",
          "value": "<string>"
        }
      ],
      "ionIcon": "<string>",
      "link": "<string>",
      "parameters": {},
      "selectedButton": {
        "accessibilityText": "<string>",
        "action": {},
        "additionalInformation": "<string>",
        "color": "<string>",
        "confirmationText": "<string>",
        "functionName": "<string>",
        "parameters": {},
        "html": "<string>",
        "id": "<string>",
        "image": "<string>",
        "ionIcon": "<string>",
        "link": "<string>",
        "stateName": "<string>",
        "stateParams": {},
        "successToastText": "<string>",
        "successAlertTitle": "<string>",
        "successAlertBody": "<string>",
        "text": "<string>",
        "tooltip": "<string>",
        "webhookUrl": "<string>"
      },
      "sharingBody": "<string>",
      "sharingButtons": [
        {
          "accessibilityText": "<string>",
          "action": {},
          "additionalInformation": "<string>",
          "color": "<string>",
          "confirmationText": "<string>",
          "functionName": "<string>",
          "parameters": {},
          "html": "<string>",
          "id": "<string>",
          "image": "<string>",
          "ionIcon": "<string>",
          "link": "<string>",
          "stateName": "<string>",
          "stateParams": {},
          "successToastText": "<string>",
          "successAlertTitle": "<string>",
          "successAlertBody": "<string>",
          "text": "<string>",
          "tooltip": "<string>",
          "webhookUrl": "<string>"
        }
      ],
      "sharingTitle": "<string>",
      "subHeader": "<string>",
      "subTitle": "<string>",
      "title": "<string>"
    },
    "clientId": "<string>",
    "connectorId": 123,
    "createdAt": "<string>",
    "displayValueAndUnitString": "<string>",
    "iconIcon": "<string>",
    "id": 123,
    "inputType": "<string>",
    "ionIcon": "<string>",
    "manualTracking": true,
    "maximumAllowedValue": 123,
    "minimumAllowedValue": 123,
    "note": "<string>",
    "noteObject": {},
    "noteHtml": {},
    "originalUnitId": 123,
    "originalValue": 123,
    "pngPath": "<string>",
    "pngUrl": "<string>",
    "productUrl": "<string>",
    "sourceName": "<string>",
    "startDate": "<string>",
    "startAt": "<string>",
    "svgUrl": "<string>",
    "unitAbbreviatedName": "<string>",
    "unitCategoryId": 123,
    "unitCategoryName": "<string>",
    "unitId": 123,
    "unitName": "<string>",
    "updatedAt": "<string>",
    "url": "<string>",
    "userVariableUnitAbbreviatedName": "<string>",
    "userVariableUnitCategoryId": 123,
    "userVariableUnitCategoryName": "<string>",
    "userVariableUnitId": 123,
    "userVariableUnitName": "<string>",
    "userVariableVariableCategoryId": 123,
    "userVariableVariableCategoryName": "<string>",
    "valence": "<string>",
    "value": 123,
    "variableCategoryId": 123,
    "variableCategoryImageUrl": "<string>",
    "variableCategoryName": "Activity",
    "variableDescription": "<string>",
    "variableId": 123,
    "variableName": "<string>",
    "displayName": "<string>"
  }
]

Authorizations

Authorization
string
header
required

Enter your bearer token in the format Bearer access_token_here

Query Parameters

variableName
string

Name of the variable you want measurements for

sort
string

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

limit
integer
default: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.

offset
integer

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.

Required range: x >= 0
variableCategoryName
enum<string>

Ex: Emotions, Treatments, Symptoms...

Available options:
Activities,
Books,
Causes of Illness,
Cognitive Performance,
Conditions,
Emotions,
Environment,
Foods,
Location,
Miscellaneous,
Movies and TV,
Music,
Nutrients,
Payments,
Physical Activity,
Physique,
Sleep,
Social Interactions,
Software,
Symptoms,
Treatments,
Vital Signs,
Goals
updatedAt
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.

sourceName
string

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

connectorName
string

Ex: facebook

value
string

Value of measurement

unitName
enum<string>

Ex: Milligrams

Available options:
% Recommended Daily Allowance,
-4 to 4 Rating,
0 to 1 Rating,
0 to 5 Rating,
1 to 10 Rating,
1 to 5 Rating,
Applications,
Beats per Minute,
Calories,
Capsules,
Centimeters,
Count,
Degrees Celsius,
Degrees East,
Degrees Fahrenheit,
Degrees North,
Dollars,
Drops,
Event,
Feet,
Grams,
Hours,
Inches,
Index,
Kilocalories,
Kilograms,
Kilometers,
Liters,
Meters,
Micrograms,
Micrograms per decilitre,
Miles,
Milligrams,
Milliliters,
Millimeters,
Millimeters Merc,
Milliseconds,
Minutes,
Pascal,
Percent,
Pieces,
Pills,
Pounds,
Puffs,
Seconds,
Serving,
Sprays,
Tablets,
Torr,
Units,
Yes/No,
per Minute,
Doses,
Quarts,
Ounces,
International Units,
Meters per Second
earliestMeasurementTime
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.

latestMeasurementTime
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.

createdAt
string

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

id
integer

Measurement id

groupingWidth
integer

The time (in seconds) over which measurements are grouped together

groupingTimezone
string

The time (in seconds) over which measurements are grouped together

doNotProcess
boolean

Ex: true

clientId
string

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

doNotConvert
boolean

Ex: 1

minMaxFilter
boolean

Ex: 1

Response

200
application/json

Successful operation

The response is of type object[].