showboat API definition (1.0.0)
showboat API definition
/v1/action-example-models/
query Parameters
filter[category] | string <= 255 characters |
filter[organization-id] | string <uuid> Example: filter[organization-id]=11111111-1111-1111-1111-111111111111 |
filter[type] | string <= 255 characters |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "category": "string",
- "created-at": "string",
- "examples": {
- "en_US": "string",
- "es_US": "string"
}, - "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "action-example-models"
}
], - "meta": { }
}
/v1/action-example-models/
Request Body schema: application/json
required | object | ||||||||||||||||||||
| |||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "category": "string",
- "examples": {
- "en_US": "string",
- "es_US": "string"
}, - "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "string"
}, - "type": "action-example-models"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "category": "string",
- "created-at": "string",
- "examples": {
- "en_US": "string",
- "es_US": "string"
}, - "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "action-example-models"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "category": "string",
- "created-at": "string",
- "examples": {
- "en_US": "string",
- "es_US": "string"
}, - "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "action-example-models"
}, - "meta": { }
}
/v1/action-example-models/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||||
| |||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "category": "string",
- "examples": {
- "en_US": "string",
- "es_US": "string"
}, - "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "action-example-models"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "category": "string",
- "created-at": "string",
- "examples": {
- "en_US": "string",
- "es_US": "string"
}, - "last-modified-at": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "action-example-models"
}, - "meta": { }
}
/v1/action-examples/
query Parameters
categories required | Array of strings[ items <= 60 characters ] |
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "text": "string",
- "type": "string"
}, - "id": "string",
- "type": "action-examples"
}
], - "meta": { }
}
Response samples
- 200
{- "data": [
- {
- "attributes": {
- "app-name": "care",
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "flags": { },
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "latest-version": "string",
- "minimum-version": "string",
- "platform": "android"
}, - "id": "string",
- "type": "ui-apps"
}
], - "meta": { }
}
/v1/apps/
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "app-name": "care",
- "latest-version": "string",
- "minimum-version": "string",
- "platform": "android"
}, - "type": "ui-apps"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "app-name": "care",
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "flags": { },
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "latest-version": "string",
- "minimum-version": "string",
- "platform": "android"
}, - "id": "string",
- "type": "ui-apps"
}, - "meta": { }
}
/v1/apps/{id}/
path Parameters
id required | string Resource identifier |
query Parameters
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "app-name": "care",
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "flags": { },
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "latest-version": "string",
- "minimum-version": "string",
- "platform": "android"
}, - "id": "string",
- "type": "ui-apps"
}, - "meta": { }
}
/v1/apps/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "latest-version": "string",
- "minimum-version": "string"
}, - "id": "string",
- "type": "ui-apps"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "app-name": "care",
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "flags": { },
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "latest-version": "string",
- "minimum-version": "string",
- "platform": "android"
}, - "id": "string",
- "type": "ui-apps"
}, - "meta": { }
}
DEPRECATED: Use /v2/charts/ Deprecated
query Parameters
fields | Array of strings Items Enum: "has-readings" "icon-background-color" "icon-name" "max" "max-time" "min" "min-time" "precision" "read-only" "read-schema" "schema" "scopes" "source-options" "sources" "title" "unit" |
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
{- "data": [
- {
- "attributes": {
- "has-readings": true,
- "icon-background-color": "string",
- "icon-name": "activeClock",
- "max": 0,
- "max-time": "string",
- "min": 0,
- "min-time": "string",
- "precision": 0,
- "read-only": true,
- "read-schema": {
- "additionalProperties": true,
- "layout": {
- "data": {
- "columnGap": "string",
- "rowGap": "string",
- "templateColumns": "string",
- "templateRows": "string"
}, - "type": "grid"
}, - "limits": [
- {
- "error": "string",
- "lhs": "string",
- "op": "<",
- "rhs": "string"
}
], - "order": [
- "string"
], - "properties": {
- "property1": {
- "items": {
- "choiceType": "Select",
- "condition": {
- "and": [
- { }
], - "contains": null,
- "is": null,
- "notMatch": true,
- "or": [
- { }
], - "placeholder": true,
- "when": "string"
}, - "default": 0,
- "enum": [
- 0
], - "enumLabels": [
- "string"
], - "enumLocalizedLabels": [
- {
- "en_US": null,
- "es_US": null
}
], - "exclusiveMaximum": 0,
- "exclusiveMinimum": 0,
- "format": "humanize-mins",
- "hideOptionalLabel": true,
- "layout": {
- "data": {
- "alignSelf": null,
- "col": null,
- "colSpan": null,
- "horizontal": null,
- "justifySelf": null,
- "row": null,
- "rowSpan": null
}, - "type": "grid"
}, - "maximum": 0,
- "minimum": 0,
- "readOnly": true,
- "title": "string",
- "titles": {
- "en_US": "string",
- "es_US": "string"
}, - "type": "integer"
}, - "type": "array"
}, - "property2": {
- "items": {
- "choiceType": "Select",
- "condition": {
- "and": [
- { }
], - "contains": null,
- "is": null,
- "notMatch": true,
- "or": [
- { }
], - "placeholder": true,
- "when": "string"
}, - "default": 0,
- "enum": [
- 0
], - "enumLabels": [
- "string"
], - "enumLocalizedLabels": [
- {
- "en_US": null,
- "es_US": null
}
], - "exclusiveMaximum": 0,
- "exclusiveMinimum": 0,
- "format": "humanize-mins",
- "hideOptionalLabel": true,
- "layout": {
- "data": {
- "alignSelf": null,
- "col": null,
- "colSpan": null,
- "horizontal": null,
- "justifySelf": null,
- "row": null,
- "rowSpan": null
}, - "type": "grid"
}, - "maximum": 0,
- "minimum": 0,
- "readOnly": true,
- "title": "string",
- "titles": {
- "en_US": "string",
- "es_US": "string"
}, - "type": "integer"
}, - "type": "array"
}
}, - "required": [
- "string"
], - "sections": [
- {
- "collapsed": true,
- "layout": {
- "data": {
- "columnGap": "string",
- "rowGap": "string",
- "templateColumns": "string",
- "templateRows": "string"
}, - "type": "grid"
}, - "order": [
- "string"
], - "title": "string",
- "titles": {
- "en_US": "string",
- "es_US": "string"
}
}
], - "type": "object"
}, - "schema": {
- "additionalProperties": true,
- "layout": {
- "data": {
- "columnGap": "string",
- "rowGap": "string",
- "templateColumns": "string",
- "templateRows": "string"
}, - "type": "grid"
}, - "limits": [
- {
- "error": "string",
- "lhs": "string",
- "op": "<",
- "rhs": "string"
}
], - "order": [
- "string"
], - "properties": {
- "property1": {
- "items": {
- "choiceType": "Select",
- "condition": {
- "and": [
- { }
], - "contains": null,
- "is": null,
- "notMatch": true,
- "or": [
- { }
], - "placeholder": true,
- "when": "string"
}, - "default": 0,
- "enum": [
- 0
], - "enumLabels": [
- "string"
], - "enumLocalizedLabels": [
- {
- "en_US": null,
- "es_US": null
}
], - "exclusiveMaximum": 0,
- "exclusiveMinimum": 0,
- "format": "humanize-mins",
- "hideOptionalLabel": true,
- "layout": {
- "data": {
- "alignSelf": null,
- "col": null,
- "colSpan": null,
- "horizontal": null,
- "justifySelf": null,
- "row": null,
- "rowSpan": null
}, - "type": "grid"
}, - "maximum": 0,
- "minimum": 0,
- "readOnly": true,
- "title": "string",
- "titles": {
- "en_US": "string",
- "es_US": "string"
}, - "type": "integer"
}, - "type": "array"
}, - "property2": {
- "items": {
- "choiceType": "Select",
- "condition": {
- "and": [
- { }
], - "contains": null,
- "is": null,
- "notMatch": true,
- "or": [
- { }
], - "placeholder": true,
- "when": "string"
}, - "default": 0,
- "enum": [
- 0
], - "enumLabels": [
- "string"
], - "enumLocalizedLabels": [
- {
- "en_US": null,
- "es_US": null
}
], - "exclusiveMaximum": 0,
- "exclusiveMinimum": 0,
- "format": "humanize-mins",
- "hideOptionalLabel": true,
- "layout": {
- "data": {
- "alignSelf": null,
- "col": null,
- "colSpan": null,
- "horizontal": null,
- "justifySelf": null,
- "row": null,
- "rowSpan": null
}, - "type": "grid"
}, - "maximum": 0,
- "minimum": 0,
- "readOnly": true,
- "title": "string",
- "titles": {
- "en_US": "string",
- "es_US": "string"
}, - "type": "integer"
}, - "type": "array"
}
}, - "required": [
- "string"
], - "sections": [
- {
- "collapsed": true,
- "layout": {
- "data": {
- "columnGap": "string",
- "rowGap": "string",
- "templateColumns": "string",
- "templateRows": "string"
}, - "type": "grid"
}, - "order": [
- "string"
], - "title": "string",
- "titles": {
- "en_US": "string",
- "es_US": "string"
}
}
], - "type": "object"
}, - "scopes": [
- {
- "name": "string",
- "value": "string"
}
], - "source-options": [
- {
- "label": "string",
- "owner-preferred-source": true,
- "value": "string"
}
], - "sources": [
- "string"
], - "title": "string",
- "unit": {
- "display-plural": "string",
- "display-singular": "string",
- "value": "string"
}
}, - "id": "string",
- "type": "ui-charts"
}
], - "meta": { }
}
DEPRECATED: Use /v2/charts/{id}/get-details/ Deprecated
path Parameters
id required | string Resource identifier |
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
scope required | string Enum: "30days" "3months" "day" "month" "week" "year" |
tz required | string (Timezone) <= 64 characters The tz database name of the current timezone of the user (e.g. "America/Los_Angeles") |
allow-summary | boolean Default: false Allow using summary graph-type where appropriate |
context | string Enum: "AFTER_MEAL" "BEDTIME" "BEFORE_MEAL" "FASTING" "FORMAL" "INFORMAL" "UNSPECIFIED" |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
start | string <datetime> UTC start time for readings within the scope |
time | string <datetime> Arbitrary UTC timestamp to compute a "start" and "end" from, it defaults to current time |
Responses
Response samples
- 200
{- "data": [
- {
- "chart-legend-items": [
- {
- "color": "string",
- "label": "string",
- "shape": "circle"
}
], - "chart-max": 0,
- "chart-min": 0,
- "chart-min-range": 0,
- "chart-soft-max": 0,
- "chart-soft-min": 0,
- "chart-title": "string",
- "chart-tooltip-timestamp": "date",
- "chart-value-mappings": [
- {
- "label": "string",
- "value": 0
}
], - "graph-type": "column",
- "history-button-label": "string",
- "no-data-text": "string",
- "read-only": true,
- "readings": [
- {
- "color": "string",
- "context": "AFTER_MEAL",
- "context-label": "string",
- "diastolic": 0,
- "diastolic-color": "string",
- "group": "string",
- "local-time": "string",
- "max": 0,
- "mean": 0,
- "min": 0,
- "shape": "string",
- "source": "string",
- "source-display-name": "string",
- "state": "HIGH",
- "systolic": 0,
- "systolic-color": "string",
- "time": "string",
- "time-local": "string",
- "tz-offset-mins": 0,
- "value": 0,
- "value-label": "string"
}
], - "summaries": [
- {
- "data": {
- "change": {
- "delta-label": "string",
- "delta-label-color": "string",
- "label": "string",
- "label-color": "string",
- "pct-changed": "string",
- "pct-changed-color": "string",
- "unit": "string",
- "unit-color": "string",
- "value": "string",
- "value-color": "string"
}, - "current": {
- "date": "string",
- "date-color": "string",
- "icon": "add",
- "icon-color": "string",
- "label": "string",
- "label-color": "string",
- "unit": "string",
- "unit-color": "string",
- "value": "string",
- "value-color": "string"
}, - "start": {
- "date": "string",
- "date-color": "string",
- "label": "string",
- "label-color": "string",
- "unit": "string",
- "unit-color": "string",
- "value": "string",
- "value-color": "string"
}, - "title": "string",
- "title-color": "string"
}, - "type": "summary_change"
}
]
}
], - "meta": {
- "end": "string",
- "next": {
- "range-label": "string",
- "start": "string"
}, - "next-start": "string",
- "page[limit]": 0,
- "page[offset]": 0,
- "page[total]": 0,
- "previous": {
- "range-label": "string",
- "start": "string"
}, - "previous-start": "string",
- "range-label": "string",
- "start": "string",
- "unit": "string",
- "value-keys": [
- "string"
]
}
}
DEPRECATED: Use /v2/charts/{id}/get-goal/ Deprecated
path Parameters
id required | string Resource identifier |
query Parameters
tz required | string (Timezone) <= 64 characters The tz database name of the current timezone of the user (e.g. "America/Los_Angeles") |
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "current": {
- "color": "string",
- "context": "AFTER_MEAL",
- "context-label": "string",
- "diastolic": 0,
- "diastolic-color": "string",
- "group": "string",
- "local-time": "string",
- "max": 0,
- "mean": 0,
- "min": 0,
- "shape": "string",
- "source": "string",
- "source-display-name": "string",
- "state": "HIGH",
- "systolic": 0,
- "systolic-color": "string",
- "time": "string",
- "time-local": "string",
- "tz-offset-mins": 0,
- "value": 0,
- "value-label": "string"
}, - "goal": {
- "color": "string",
- "context": "AFTER_MEAL",
- "context-label": "string",
- "diastolic": 0,
- "diastolic-color": "string",
- "group": "string",
- "local-time": "string",
- "max": 0,
- "mean": 0,
- "min": 0,
- "shape": "string",
- "source": "string",
- "source-display-name": "string",
- "state": "HIGH",
- "systolic": 0,
- "systolic-color": "string",
- "time": "string",
- "time-local": "string",
- "tz-offset-mins": 0,
- "value": 0,
- "value-label": "string"
}, - "start": {
- "color": "string",
- "context": "AFTER_MEAL",
- "context-label": "string",
- "diastolic": 0,
- "diastolic-color": "string",
- "group": "string",
- "local-time": "string",
- "max": 0,
- "mean": 0,
- "min": 0,
- "shape": "string",
- "source": "string",
- "source-display-name": "string",
- "state": "HIGH",
- "systolic": 0,
- "systolic-color": "string",
- "time": "string",
- "time-local": "string",
- "tz-offset-mins": 0,
- "value": 0,
- "value-label": "string"
}
}, - "meta": { }
}
DEPRECATED: Use /v2/charts/{id}/get-readings/ Deprecated
path Parameters
id required | string Resource identifier |
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
scope required | string Enum: "30days" "3months" "day" "month" "week" "year" |
context | string Enum: "AFTER_MEAL" "BEDTIME" "BEFORE_MEAL" "FASTING" "FORMAL" "INFORMAL" "UNSPECIFIED" |
reverse | boolean |
start | string <datetime> UTC start time for readings within the scope |
time | string <datetime> Arbitrary UTC timestamp to compute a "start" and "end" from, it defaults to current time |
tz | string (Timezone) <= 64 characters The tz database name of the current timezone of the user (e.g. "America/Los_Angeles") |
tz-offset-mins | integer (TzOffset) [ -720 .. 840 ] User's local timezone defined in minutes offset from UTC |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "color": "string",
- "context": "AFTER_MEAL",
- "context-label": "string",
- "diastolic": 0,
- "diastolic-color": "string",
- "group": "string",
- "local-time": "string",
- "max": 0,
- "mean": 0,
- "min": 0,
- "shape": "string",
- "source": "string",
- "source-display-name": "string",
- "state": "HIGH",
- "systolic": 0,
- "systolic-color": "string",
- "time": "string",
- "time-local": "string",
- "tz-offset-mins": 0,
- "value": 0,
- "value-label": "string"
}
], - "meta": {
- "end": "string",
- "next": {
- "range-label": "string",
- "start": "string"
}, - "next-start": "string",
- "page[limit]": 0,
- "page[offset]": 0,
- "page[total]": 0,
- "previous": {
- "range-label": "string",
- "start": "string"
}, - "previous-start": "string",
- "range-label": "string",
- "start": "string",
- "unit": "string",
- "value-keys": [
- "string"
]
}
}
/v1/companies/
query Parameters
filter[fqdn] | string <= 127 characters |
filter[name] | string <= 255 characters |
filter[subdomain] | string <= 63 characters Deprecated Deprecated in favor of fqdn. |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "app-display-name": "string",
- "app-url-android": "string",
- "app-url-ios": "string",
- "care-app-display-name": "string",
- "care-app-url-android": "string",
- "care-app-url-ios": "string",
- "default-organization-code": "string",
- "default-organization-id": "11111111-1111-1111-1111-111111111111",
- "display-name": "string",
- "fqdn": "string",
- "name": "string",
- "subdomain": "string",
- "support-email": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "companies"
}
], - "meta": { }
}
/v1/company-models/
query Parameters
filter[fqdn] | string <= 127 characters |
filter[name] | string <= 255 characters |
filter[subdomain] | string <= 63 characters Deprecated Deprecated in favor of filter[fqdn]. |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "app-display-name": "string",
- "app-url-android": "string",
- "app-url-ios": "string",
- "care-app-display-name": "string",
- "care-app-url-android": "string",
- "care-app-url-ios": "string",
- "default-organization-code": "string",
- "default-organization-id": "11111111-1111-1111-1111-111111111111",
- "display-name": "string",
- "fqdn": "string",
- "name": "string",
- "subdomain": "string",
- "support-email": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "company-models"
}
], - "meta": { }
}
/v1/company-models/
Request Body schema: application/json
required | object | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "app-display-name": "string",
- "app-url-android": "string",
- "app-url-ios": "string",
- "care-app-display-name": "string",
- "care-app-url-android": "string",
- "care-app-url-ios": "string",
- "default-organization-code": "string",
- "default-organization-id": "11111111-1111-1111-1111-111111111111",
- "display-name": "string",
- "fqdn": "string",
- "name": "string",
- "subdomain": "string",
- "support-email": "string"
}, - "type": "company-models"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "app-display-name": "string",
- "app-url-android": "string",
- "app-url-ios": "string",
- "care-app-display-name": "string",
- "care-app-url-android": "string",
- "care-app-url-ios": "string",
- "default-organization-code": "string",
- "default-organization-id": "11111111-1111-1111-1111-111111111111",
- "display-name": "string",
- "fqdn": "string",
- "name": "string",
- "subdomain": "string",
- "support-email": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "company-models"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "app-display-name": "string",
- "app-url-android": "string",
- "app-url-ios": "string",
- "care-app-display-name": "string",
- "care-app-url-android": "string",
- "care-app-url-ios": "string",
- "default-organization-code": "string",
- "default-organization-id": "11111111-1111-1111-1111-111111111111",
- "display-name": "string",
- "fqdn": "string",
- "name": "string",
- "subdomain": "string",
- "support-email": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "company-models"
}, - "meta": { }
}
/v1/company-models/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "app-display-name": "string",
- "app-url-android": "string",
- "app-url-ios": "string",
- "care-app-display-name": "string",
- "care-app-url-android": "string",
- "care-app-url-ios": "string",
- "default-organization-code": "string",
- "default-organization-id": "11111111-1111-1111-1111-111111111111",
- "display-name": "string",
- "fqdn": "string",
- "name": "string",
- "subdomain": "string",
- "support-email": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "company-models"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "app-display-name": "string",
- "app-url-android": "string",
- "app-url-ios": "string",
- "care-app-display-name": "string",
- "care-app-url-android": "string",
- "care-app-url-ios": "string",
- "default-organization-code": "string",
- "default-organization-id": "11111111-1111-1111-1111-111111111111",
- "display-name": "string",
- "fqdn": "string",
- "name": "string",
- "subdomain": "string",
- "support-email": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "company-models"
}, - "meta": { }
}
/v1/contexts/{id}/
path Parameters
id required | string Resource identifier |
query Parameters
with-nav | boolean Default: false |
with-photo-link | boolean Default: false |
without-photo | boolean Default: false |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "activity-timeout-mins": 1,
- "flags": {
- "carium-admin": true,
- "org-admin": true
}, - "individual": {
- "attributes": {
- "account-type": "provider",
- "active": true,
- "address": [
- {
- "city": "string",
- "country": "string",
- "district": "string",
- "line": [
- "string"
], - "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "postal": "string",
- "state": "string",
- "text": "string",
- "type": "both",
- "use": "home"
}
], - "address-city": "string",
- "address-state": "string",
- "address-street": [
- "string"
], - "address-zipcode": "string",
- "birth-date": "2019-08-24",
- "communication": [
- {
- "language": "string",
- "preferred": true
}
], - "contact": [
- {
- "address": {
- "city": "string",
- "country": "string",
- "district": "string",
- "line": [
- "string"
], - "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "postal": "string",
- "state": "string",
- "text": "string",
- "type": "both",
- "use": "home"
}, - "gender": "female",
- "name": {
- "family": "string",
- "given": [
- "string"
], - "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "prefix": [
- "string"
], - "suffix": [
- "string"
], - "text": "string",
- "use": "anonymous"
}, - "organization": "string",
- "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "relationship": {
- "coding": [
- {
- "code": null,
- "display": null,
- "system": null,
- "user-selected": null,
- "version": null
}
], - "text": "string"
}, - "telecom": [
- {
- "period": {
- "end": null,
- "start": null
}, - "rank": 1,
- "system": "email",
- "use": "home",
- "value": "string"
}
]
}
], - "contact-email": "string",
- "contact-phone-home": "string",
- "contact-phone-mobile": "string",
- "email-verified": true,
- "extension": "string",
- "first-name": "string",
- "gender": "female",
- "identifier": [
- {
- "assigner": "string",
- "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "system": "string",
- "type": "BRN",
- "use": "official",
- "value": "string"
}
], - "last-name": "string",
- "marital-status": "string",
- "name": [
- {
- "family": "string",
- "given": [
- "string"
], - "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "prefix": [
- "string"
], - "suffix": [
- "string"
], - "text": "string",
- "use": "anonymous"
}
], - "phone-verified": true,
- "photo": "string",
- "photo-link": "string",
- "preferred-name": "string",
- "registered": true,
- "telecom": [
- {
- "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "rank": 1,
- "system": "email",
- "use": "home",
- "value": "string"
}
], - "telecom-preference": ""
}, - "id": "string",
- "type": "string"
}, - "navigation": {
- "items": [
- {
- "hidden": true,
- "icon": "string",
- "name": "string",
- "path": "string"
}
], - "user-menu-groups": [
- {
- "items": [
- {
- "hidden": true,
- "icon": "string",
- "name": "string",
- "path": "string"
}
]
}
]
}, - "preferences": {
- "attributes": {
- "chart-ordering": {
- "property1": [
- "ActiveEnergyBurned"
], - "property2": [
- "ActiveEnergyBurned"
]
}, - "individual-preferences": [
- {
- "collapsed-chart-tiles": [
- "ActiveEnergyBurned"
], - "id": "11111111-1111-1111-1111-111111111111",
- "mobile-nav-items": [
- "string"
], - "other-charts": [
- "ActiveEnergyBurned"
], - "pinned-charts": [
- "ActiveEnergyBurned"
], - "pinned-features": [
- "actions"
], - "preferred-sources": [
- {
- "chart-type": "ActiveEnergyBurned",
- "explicit": true,
- "source": "string"
}
]
}
], - "locale": "en_US",
- "locale-explicit": true,
- "onboarding-email-notifications-shown": true,
- "onboarding-metrics-shown": true,
- "participant-details-tab-order": [
- "actions"
]
}, - "id": "string",
- "type": "string"
}, - "user": {
- "first-name": "string",
- "last-name": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "ui-contexts"
}, - "meta": { }
}
/v1/debugger-entries/
query Parameters
debugger-id required | string <uuid> Example: debugger-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-time": "string",
- "data": { },
- "debugger-id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "scope": "bluetooth"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "debugger-entries"
}
], - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-time": "string",
- "data": { },
- "debugger-id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "scope": "bluetooth"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "debugger-entries"
}, - "meta": { }
}
/v1/debuggers/
query Parameters
filter[individual-id] | string <uuid> Example: filter[individual-id]=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "created-time": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "scopes": [
- "bluetooth"
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "debuggers"
}
], - "meta": { }
}
/v1/debuggers/
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "scopes": [
- "bluetooth"
]
}, - "type": "debuggers"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-time": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "scopes": [
- "bluetooth"
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "debuggers"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-time": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "scopes": [
- "bluetooth"
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "debuggers"
}, - "meta": { }
}
/v1/debuggers/{id}/log/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
message required | string <= 8192 characters |
scope required | string Value: "bluetooth" |
data | object |
Responses
Request samples
- Payload
{- "data": { },
- "message": "string",
- "scope": "bluetooth"
}
Response samples
- 201
- 4XX
null
/v1/disclaimer-models/
query Parameters
filter[page-name] | string <= 255 characters |
filter[platform] | string (Platform) Enum: "android" "ios" "web" |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "page-name": "string",
- "platform": "android",
- "text": {
- "en_US": "string",
- "es_US": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "disclaimer-models"
}
], - "meta": { }
}
/v1/disclaimer-models/
Request Body schema: application/json
required | object | ||||||||||||||||||||
| |||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "page-name": "string",
- "platform": "android",
- "text": {
- "en_US": "string",
- "es_US": "string"
}
}, - "type": "disclaimer-models"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "page-name": "string",
- "platform": "android",
- "text": {
- "en_US": "string",
- "es_US": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "disclaimer-models"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "page-name": "string",
- "platform": "android",
- "text": {
- "en_US": "string",
- "es_US": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "disclaimer-models"
}, - "meta": { }
}
/v1/disclaimer-models/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||||
| |||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "page-name": "string",
- "platform": "android",
- "text": {
- "en_US": "string",
- "es_US": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "disclaimer-models"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "page-name": "string",
- "platform": "android",
- "text": {
- "en_US": "string",
- "es_US": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "disclaimer-models"
}, - "meta": { }
}
/v1/disclaimers/
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
page-name required | string <= 255 characters |
platform required | string (Platform) Enum: "android" "ios" "web" |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "page-name": "string",
- "platform": "android",
- "text": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "disclaimers"
}
], - "meta": { }
}
/v1/goals/
query Parameters
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "background-color": "string",
- "icon": "scale",
- "set-goal-text": "string",
- "set-goal-text-color": "string",
- "text-right": "string",
- "text-right-color": "string",
- "title": "string",
- "type": "BodyMassGoal",
- "unit": "string",
- "unit-color": "string",
- "value": "string",
- "value-color": "string"
}
]
}
/v1/help-docs/
query Parameters
filter[locale] | string Enum: "all" "en_US" "es_US" |
filter[type] | string Default: "participant" Enum: "all" "participant" "provider" |
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "locale": "en_US",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "participant",
- "url": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "help-docs"
}
], - "meta": { }
}
/v1/help-docs/
Request Body schema: application/json
required | object | ||||||||||||||||||
| |||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "locale": "en_US",
- "name": "string",
- "order": 0,
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "participant",
- "url": "string"
}, - "type": "help-docs"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "locale": "en_US",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "participant",
- "url": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "help-docs"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "locale": "en_US",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "participant",
- "url": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "help-docs"
}, - "meta": { }
}
/v1/help-docs/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||||
| |||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "locale": "en_US",
- "name": "string",
- "order": 0,
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "participant",
- "url": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "help-docs"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "locale": "en_US",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "participant",
- "url": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "help-docs"
}, - "meta": { }
}
DEPRECATED: Use /v2/individuals/{id}/delete-homefeed-log/ Deprecated
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
entry-id required | string <uuid> |
entry-type required | string <= 64 characters |
Responses
Request samples
- Payload
{- "entry-id": "11111111-1111-1111-1111-111111111111",
- "entry-type": "string"
}
Response samples
- 201
null
/v1/homefeed-logs/
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
filter[entry-id] | string <uuid> Example: filter[entry-id]=11111111-1111-1111-1111-111111111111 |
filter[entry-time] | Array of strings <= 2 items [ items <= 40 characters ] Compare timestamp against entry_time. Specify [comparator][datetime]. Comparators supported >, <, <=, >=. Use multiple to build a bounded time frame. |
filter[entry-type] | string <= 64 characters |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "entry-data": {
- "args": {
- "external-url": "string"
}, - "description": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "generic"
}, - "entry-id": "11111111-1111-1111-1111-111111111111",
- "entry-time": "string",
- "entry-type": "banner",
- "hide-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-time": "string",
- "priority": 0,
- "visible": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "homefeed-logs"
}
], - "meta": { }
}
/v1/homefeed-logs/
Request Body schema: application/json
required | object | ||||||||||||||||||||
| |||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "entry-data": { },
- "entry-id": "11111111-1111-1111-1111-111111111111",
- "entry-time": "string",
- "entry-type": "string",
- "hide-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "priority": 100
}, - "type": "homefeed-logs"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "entry-data": {
- "args": {
- "external-url": "string"
}, - "description": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "generic"
}, - "entry-id": "11111111-1111-1111-1111-111111111111",
- "entry-time": "string",
- "entry-type": "banner",
- "hide-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-time": "string",
- "priority": 0,
- "visible": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "homefeed-logs"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "entry-data": {
- "args": {
- "external-url": "string"
}, - "description": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "generic"
}, - "entry-id": "11111111-1111-1111-1111-111111111111",
- "entry-time": "string",
- "entry-type": "banner",
- "hide-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-time": "string",
- "priority": 0,
- "visible": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "homefeed-logs"
}, - "meta": { }
}
/v1/homefeed-logs/{id}/hide/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 201
{- "data": {
- "attributes": {
- "entry-data": {
- "args": {
- "external-url": "string"
}, - "description": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "message": "string",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "type": "generic"
}, - "entry-id": "11111111-1111-1111-1111-111111111111",
- "entry-time": "string",
- "entry-type": "banner",
- "hide-at": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-time": "string",
- "priority": 0,
- "visible": true
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "homefeed-logs"
}, - "meta": { }
}
/v1/homefeed-logs/{id}/respond/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
scheduler-id required | string <uuid> |
status required | string Enum: "SKIPPED" "TAKEN" |
taken-at required | string <datetime> |
type | string Value: "medication-scheduler" |
Responses
Request samples
- Payload
{- "type": "notification"
}
Response samples
- 201
- 4XX
null
DEPRECATED: Use /v2/individuals/{id}/add-reading-from-tile/ Deprecated
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
context required | string Enum: "AFTER_MEAL" "BEDTIME" "BEFORE_MEAL" "FASTING" "UNSPECIFIED" |
input-unit required | string The unit that the value for this reading. It should be the one provided in /charts/ response. |
type required | string Value: "BloodGlucose" |
tz required | string (Timezone) <= 64 characters The tz database name of the current timezone of the user (e.g. "America/Los_Angeles") |
value required | number The reading value |
include-others | boolean |
individual-id | string <uuid> |
local-time | string <datetime> Timestamp for reading in user's current timezone (tz) for series types with a single time |
organization-id | string <uuid> |
source | string <= 50 characters |
time | string <datetime> Timestamp for reading in UTC for series types with a single time |
Responses
Request samples
- Payload
{- "include-others": true,
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "input-unit": "string",
- "local-time": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "source": "string",
- "time": "string",
- "type": "ActiveEnergyBurned",
- "tz": "string",
- "value": 0
}
Response samples
- 201
- 4XX
{- "data": {
- "other-tiles": [
- {
- "data": {
- "add-reading-icon": "add",
- "add-reading-icon-color": "string",
- "add-reading-text": "string",
- "add-reading-text-color": "string",
- "background-color": "string",
- "collapsed": true,
- "read-only": true,
- "title": "string",
- "title-color": "string"
}, - "type": "add_value"
}
], - "pinned-tiles": [
- {
- "data": {
- "add-reading-icon": "add",
- "add-reading-icon-color": "string",
- "add-reading-text": "string",
- "add-reading-text-color": "string",
- "background-color": "string",
- "collapsed": true,
- "read-only": true,
- "title": "string",
- "title-color": "string"
}, - "type": "add_value"
}
]
}, - "meta": { }
}
DEPRECATED: Use /v2/individuals/{id}/get-all-tiles/ Deprecated
path Parameters
id required | string Resource identifier |
query Parameters
tz required | string (Timezone) <= 64 characters The tz database name of the current timezone of the user (e.g. "America/Los_Angeles") |
include-others | boolean Default: false |
old-format | boolean Default: false |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "other-tiles": [
- {
- "data": {
- "add-reading-icon": "add",
- "add-reading-icon-color": "string",
- "add-reading-text": "string",
- "add-reading-text-color": "string",
- "background-color": "string",
- "collapsed": true,
- "read-only": true,
- "title": "string",
- "title-color": "string"
}, - "type": "add_value"
}
], - "pinned-tiles": [
- {
- "data": {
- "add-reading-icon": "add",
- "add-reading-icon-color": "string",
- "add-reading-text": "string",
- "add-reading-text-color": "string",
- "background-color": "string",
- "collapsed": true,
- "read-only": true,
- "title": "string",
- "title-color": "string"
}, - "type": "add_value"
}
]
}, - "meta": { }
}
/v1/landing-page-models/
query Parameters
filter[company-name] | string <= 255 characters |
filter[name] | string <= 255 characters |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "company-name": "string",
- "details": {
- "en_US": "string",
- "es_US": "string"
}, - "image-url": "string",
- "min-android-version": "string",
- "min-ios-version": "string",
- "name": "string",
- "order": 0,
- "titles": {
- "en_US": "string",
- "es_US": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "landing-page-models"
}
], - "meta": { }
}
/v1/landing-page-models/
Request Body schema: application/json
required | object | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "company-name": "string",
- "details": {
- "en_US": "string",
- "es_US": "string"
}, - "min-android-version": "string",
- "min-ios-version": "string",
- "name": "string",
- "order": 0,
- "titles": {
- "en_US": "string",
- "es_US": "string"
}
}, - "type": "landing-page-models"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "company-name": "string",
- "details": {
- "en_US": "string",
- "es_US": "string"
}, - "image-url": "string",
- "min-android-version": "string",
- "min-ios-version": "string",
- "name": "string",
- "order": 0,
- "titles": {
- "en_US": "string",
- "es_US": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "landing-page-models"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "company-name": "string",
- "details": {
- "en_US": "string",
- "es_US": "string"
}, - "image-url": "string",
- "min-android-version": "string",
- "min-ios-version": "string",
- "name": "string",
- "order": 0,
- "titles": {
- "en_US": "string",
- "es_US": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "landing-page-models"
}, - "meta": { }
}
/v1/landing-page-models/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "company-name": "string",
- "details": {
- "en_US": "string",
- "es_US": "string"
}, - "min-android-version": "string",
- "min-ios-version": "string",
- "name": "string",
- "order": 0,
- "titles": {
- "en_US": "string",
- "es_US": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "landing-page-models"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "company-name": "string",
- "details": {
- "en_US": "string",
- "es_US": "string"
}, - "image-url": "string",
- "min-android-version": "string",
- "min-ios-version": "string",
- "name": "string",
- "order": 0,
- "titles": {
- "en_US": "string",
- "es_US": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "landing-page-models"
}, - "meta": { }
}
/v1/landing-page-models/{id}/upload-image/
path Parameters
id required | string Resource identifier |
Request Body schema: multipart/form-data
content required | string <binary> |
content-type | string Default: "image/png" Value: "image/png" |
Responses
Response samples
- 200
{- "data": {
- "attributes": {
- "company-name": "string",
- "details": {
- "en_US": "string",
- "es_US": "string"
}, - "image-url": "string",
- "min-android-version": "string",
- "min-ios-version": "string",
- "name": "string",
- "order": 0,
- "titles": {
- "en_US": "string",
- "es_US": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "landing-page-models"
}, - "meta": { }
}
/v1/landing-pages/
query Parameters
platform required | string Enum: "android" "ios" |
version required | string <= 32 characters |
company-name | string <= 255 characters |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "detail": "string",
- "image-url": "string",
- "name": "string",
- "title": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "landing-pages"
}
], - "meta": { }
}
/v1/linguist-labels/
query Parameters
filter[en-us] | string <= 999 characters Only labels whose en_US translation exactly matches query |
filter[es-us] | string <= 999 characters Only labels whose es_US translation exactly matches query |
filter[name-prefix] | string <= 255 characters |
filter[platform] | string Enum: "android" "backend" "ios" "web" |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
{- "data": [
- {
- "attributes": {
- "comment": "string",
- "en-us": "string",
- "es-us": "string",
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "uses": [
- {
- "collection-time": "string",
- "filename": "string",
- "platform": "android",
- "repo": "string"
}
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "linguist-labels"
}
], - "meta": { }
}
/v1/linguist-labels/
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "comment": "",
- "en-us": "string",
- "es-us": "",
- "name": "string"
}, - "type": "linguist-labels"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "comment": "string",
- "en-us": "string",
- "es-us": "string",
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "uses": [
- {
- "collection-time": "string",
- "filename": "string",
- "platform": "android",
- "repo": "string"
}
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "linguist-labels"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "comment": "string",
- "en-us": "string",
- "es-us": "string",
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "uses": [
- {
- "collection-time": "string",
- "filename": "string",
- "platform": "android",
- "repo": "string"
}
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "linguist-labels"
}, - "meta": { }
}
/v1/linguist-labels/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||
| |||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "comment": "string",
- "en-us": "string",
- "es-us": "string",
- "name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "linguist-labels"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "comment": "string",
- "en-us": "string",
- "es-us": "string",
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "name": "string",
- "uses": [
- {
- "collection-time": "string",
- "filename": "string",
- "platform": "android",
- "repo": "string"
}
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "linguist-labels"
}, - "meta": { }
}
/v1/linguist-platforms/{id}/add-collection/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
labels required | object |
timestamp required | string <datetime> |
Responses
Request samples
- Payload
{- "labels": {
- "property1": {
- "comment": "",
- "en-us": "string",
- "es-us": "",
- "uses": [
- {
- "file": "string",
- "repo": "string"
}
]
}, - "property2": {
- "comment": "",
- "en-us": "string",
- "es-us": "",
- "uses": [
- {
- "file": "string",
- "repo": "string"
}
]
}
}, - "timestamp": "string"
}
Response samples
- 201
- 4XX
{- "count-added": 0
}
/v1/logo-models/
query Parameters
filter[fqdn] | string <= 255 characters |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "active": true,
- "fqdn": "string",
- "hash-md5": "string",
- "image-url": "string",
- "tags": { },
- "type": "string",
- "upload": {
- "expiration-time": 0,
- "upload-data": { },
- "upload-url": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "logo-models"
}
], - "meta": { }
}
/v1/logo-models/
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "content-type": "string",
- "fqdn": "string",
- "tags": { },
- "type": "EMAIL_LOGO"
}, - "type": "logo-models"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "active": true,
- "fqdn": "string",
- "hash-md5": "string",
- "image-url": "string",
- "tags": { },
- "type": "string",
- "upload": {
- "expiration-time": 0,
- "upload-data": { },
- "upload-url": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "logo-models"
}, - "meta": { }
}
/v1/logo-models/{id}/process-upload/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "active": true,
- "fqdn": "string",
- "hash-md5": "string",
- "image-url": "string",
- "tags": { },
- "type": "string",
- "upload": {
- "expiration-time": 0,
- "upload-data": { },
- "upload-url": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "logo-models"
}, - "meta": { }
}
/v1/manual-add-metrics/
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
filter[exclude-type] | Array of strings[ items <= 255 characters ] |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
{- "data": [
- {
- "attributes": {
- "count": 0,
- "last-modified-at": "string",
- "subtypes": [
- {
- "count": 0,
- "subtype": "string"
}
]
}, - "id": "string",
- "type": "manual-add-metrics"
}
], - "meta": { }
}
/v1/manual-add-metrics/
Request Body schema: application/json
required | object | ||||||||||||||||||
| |||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "subtypes": [
- {
- "count": 0,
- "subtype": "string"
}
], - "type": "string"
}, - "type": "manual-add-metrics"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "count": 0,
- "last-modified-at": "string",
- "subtypes": [
- {
- "count": 0,
- "subtype": "string"
}
]
}, - "id": "string",
- "type": "manual-add-metrics"
}, - "meta": { }
}
/v1/manual-add-metrics/{id}/
path Parameters
id required | string Resource identifier |
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "count": 0,
- "last-modified-at": "string",
- "subtypes": [
- {
- "count": 0,
- "subtype": "string"
}
]
}, - "id": "string",
- "type": "manual-add-metrics"
}, - "meta": { }
}
/v1/manual-add-metrics/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||
| |||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "subtypes": [
- {
- "count": 0,
- "subtype": "string"
}
]
}, - "id": "string",
- "type": "manual-add-metrics"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "count": 0,
- "last-modified-at": "string",
- "subtypes": [
- {
- "count": 0,
- "subtype": "string"
}
]
}, - "id": "string",
- "type": "manual-add-metrics"
}, - "meta": { }
}
/v1/manual-add-metrics/{id}/increment/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
individual-id required | string <uuid> |
subtype required | string <= 64 characters |
Responses
Request samples
- Payload
{- "individual-id": "11111111-1111-1111-1111-111111111111",
- "subtype": "string"
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "count": 0,
- "last-modified-at": "string",
- "subtypes": [
- {
- "count": 0,
- "subtype": "string"
}
]
}, - "id": "string",
- "type": "manual-add-metrics"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "exclude-charts": [
- "ActiveEnergyBurned"
], - "only-charts": [
- "ActiveEnergyBurned"
], - "only-participant-charts": [
- "ActiveEnergyBurned"
], - "participant-search-fields": [
- "allParticipants"
], - "pinned-charts": [
- "ActiveEnergyBurned"
], - "worklist-search": [
- "blank"
], - "worklist-search-fields": [
- "blank"
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "ui-organization-preferences"
}, - "meta": { }
}
/v1/organization-preferences/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||||||
| |||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "exclude-charts": [
- "ActiveEnergyBurned"
], - "only-charts": [
- "ActiveEnergyBurned"
], - "only-participant-charts": [
- "ActiveEnergyBurned"
], - "participant-search-fields": [
- "allParticipants"
], - "pinned-charts": [
- "ActiveEnergyBurned"
], - "worklist-search": [
- "blank"
], - "worklist-search-fields": [
- "blank"
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "ui-organization-preferences"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "exclude-charts": [
- "ActiveEnergyBurned"
], - "only-charts": [
- "ActiveEnergyBurned"
], - "only-participant-charts": [
- "ActiveEnergyBurned"
], - "participant-search-fields": [
- "allParticipants"
], - "pinned-charts": [
- "ActiveEnergyBurned"
], - "worklist-search": [
- "blank"
], - "worklist-search-fields": [
- "blank"
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "ui-organization-preferences"
}, - "meta": { }
}
/v1/organization-preferences/{id}/patient-preferences/
path Parameters
id required | string Resource identifier |
query Parameters
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "pinned-charts": [
- "ActiveEnergyBurned"
]
}, - "id": "string",
- "type": "string"
}
], - "meta": {
- "page[limit]": 100,
- "page[offset]": 0,
- "page[total]": 0
}
}
/v1/organization-preferences/{id}/pin-chart/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
chart-type required | string (ChartType) Enum: "ActiveEnergyBurned" "ActiveTime" "Auscultation" "BloodGlucose" "BloodPressure" "BodyFatPercentage" "BodyMass" "BodyMassIndex" "BodyMassLean" "BodyTemperature" "Distance" "FeelingRating" "ForcedExpiratoryVolume" "HbA1c" "Height" "Hematocrit" "Hemoglobin" "Mindfulness" "OxygenSaturation" "PeakFlow" "PeriodicPulse" "PotassiumLevel" "Pulse" "SkinTemperature" "SleepAnalysis" "Steps" "Vo2Max" "WaistCircumference" "WaterIntake" |
individual-id required | string <uuid> |
Responses
Request samples
- Payload
{- "chart-type": "ActiveEnergyBurned",
- "individual-id": "11111111-1111-1111-1111-111111111111"
}
Response samples
- 200
- 4XX
{- "data": {
- "pinned-charts": [
- "ActiveEnergyBurned"
]
}
}
/v1/organization-preferences/{id}/unpin-chart/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
chart-type required | string (ChartType) Enum: "ActiveEnergyBurned" "ActiveTime" "Auscultation" "BloodGlucose" "BloodPressure" "BodyFatPercentage" "BodyMass" "BodyMassIndex" "BodyMassLean" "BodyTemperature" "Distance" "FeelingRating" "ForcedExpiratoryVolume" "HbA1c" "Height" "Hematocrit" "Hemoglobin" "Mindfulness" "OxygenSaturation" "PeakFlow" "PeriodicPulse" "PotassiumLevel" "Pulse" "SkinTemperature" "SleepAnalysis" "Steps" "Vo2Max" "WaistCircumference" "WaterIntake" |
individual-id required | string <uuid> |
Responses
Request samples
- Payload
{- "chart-type": "ActiveEnergyBurned",
- "individual-id": "11111111-1111-1111-1111-111111111111"
}
Response samples
- 200
- 4XX
{- "data": {
- "pinned-charts": [
- "ActiveEnergyBurned"
]
}
}
/v1/participant-list-views/
query Parameters
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
{- "data": [
- {
- "attributes": {
- "fields": [
- "action-completion-pct"
], - "last-modified-at": "string",
- "name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "participant-list-views"
}
], - "meta": { }
}
/v1/participant-list-views/
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "fields": [
- "action-completion-pct"
], - "name": "string"
}, - "type": "participant-list-views"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "fields": [
- "action-completion-pct"
], - "last-modified-at": "string",
- "name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "participant-list-views"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "fields": [
- "action-completion-pct"
], - "last-modified-at": "string",
- "name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "participant-list-views"
}, - "meta": { }
}
/v1/participant-list-views/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||
| |||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "fields": [
- "action-completion-pct"
], - "name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "participant-list-views"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "fields": [
- "action-completion-pct"
], - "last-modified-at": "string",
- "name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "participant-list-views"
}, - "meta": { }
}
/v1/patients/
Request Body schema: application/json
required | object | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "auto-confirm": false,
- "auto-sign-up": true,
- "birth-date": "2019-08-24",
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "email": "string",
- "email-user-now": true,
- "first-name": "string",
- "gender": "female",
- "individual-group-id": "11111111-1111-1111-1111-111111111111",
- "individual-group-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "last-name": "string",
- "locale": "en_US",
- "mobile-phone": "string",
- "notifications": [
- "email"
], - "organization-id": "11111111-1111-1111-1111-111111111111",
- "password": "string",
- "postal-code": "string",
- "preferred-contact-method": "email",
- "preferred-name": "string",
- "username": "string"
}, - "type": "ui-patients"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "account-type": "provider",
- "active": true,
- "address": [
- {
- "city": "string",
- "country": "string",
- "district": "string",
- "line": [
- "string"
], - "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "postal": "string",
- "state": "string",
- "text": "string",
- "type": "both",
- "use": "home"
}
], - "address-city": "string",
- "address-state": "string",
- "address-street": [
- "string"
], - "address-zipcode": "string",
- "birth-date": "2019-08-24",
- "communication": [
- {
- "language": "string",
- "preferred": true
}
], - "contact": [
- {
- "address": {
- "city": "string",
- "country": "string",
- "district": "string",
- "line": [
- "string"
], - "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "postal": "string",
- "state": "string",
- "text": "string",
- "type": "both",
- "use": "home"
}, - "gender": "female",
- "name": {
- "family": "string",
- "given": [
- "string"
], - "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "prefix": [
- "string"
], - "suffix": [
- "string"
], - "text": "string",
- "use": "anonymous"
}, - "organization": "string",
- "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "relationship": {
- "coding": [
- {
- "code": "string",
- "display": "string",
- "system": "string",
- "user-selected": true,
- "version": "string"
}
], - "text": "string"
}, - "telecom": [
- {
- "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "rank": 1,
- "system": "email",
- "use": "home",
- "value": "string"
}
]
}
], - "contact-email": "string",
- "contact-phone-home": "string",
- "contact-phone-mobile": "string",
- "email-verified": true,
- "extension": "string",
- "first-name": "string",
- "gender": "female",
- "identifier": [
- {
- "assigner": "string",
- "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "system": "string",
- "type": "BRN",
- "use": "official",
- "value": "string"
}
], - "individual": {
- "attributes": {
- "account-type": "provider",
- "active": true,
- "address": [
- {
- "city": "string",
- "country": "string",
- "district": "string",
- "line": [
- "string"
], - "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "postal": "string",
- "state": "string",
- "text": "string",
- "type": "both",
- "use": "home"
}
], - "address-city": "string",
- "address-state": "string",
- "address-street": [
- "string"
], - "address-zipcode": "string",
- "birth-date": "2019-08-24",
- "communication": [
- {
- "language": "string",
- "preferred": true
}
], - "contact": [
- {
- "address": {
- "city": "string",
- "country": "string",
- "district": "string",
- "line": [
- "string"
], - "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "postal": "string",
- "state": "string",
- "text": "string",
- "type": "both",
- "use": "home"
}, - "gender": "female",
- "name": {
- "family": "string",
- "given": [
- "string"
], - "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "prefix": [
- "string"
], - "suffix": [
- "string"
], - "text": "string",
- "use": "anonymous"
}, - "organization": "string",
- "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "relationship": {
- "coding": [
- {
- "code": null,
- "display": null,
- "system": null,
- "user-selected": null,
- "version": null
}
], - "text": "string"
}, - "telecom": [
- {
- "period": {
- "end": null,
- "start": null
}, - "rank": 1,
- "system": "email",
- "use": "home",
- "value": "string"
}
]
}
], - "contact-email": "string",
- "contact-phone-home": "string",
- "contact-phone-mobile": "string",
- "email-verified": true,
- "extension": "string",
- "first-name": "string",
- "gender": "female",
- "identifier": [
- {
- "assigner": "string",
- "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "system": "string",
- "type": "BRN",
- "use": "official",
- "value": "string"
}
], - "last-name": "string",
- "marital-status": "string",
- "name": [
- {
- "family": "string",
- "given": [
- "string"
], - "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "prefix": [
- "string"
], - "suffix": [
- "string"
], - "text": "string",
- "use": "anonymous"
}
], - "phone-verified": true,
- "photo": "string",
- "photo-link": "string",
- "preferred-name": "string",
- "registered": true,
- "telecom": [
- {
- "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "rank": 1,
- "system": "email",
- "use": "home",
- "value": "string"
}
], - "telecom-preference": ""
}, - "id": "string",
- "type": "string"
}, - "last-name": "string",
- "marital-status": "string",
- "name": [
- {
- "family": "string",
- "given": [
- "string"
], - "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "prefix": [
- "string"
], - "suffix": [
- "string"
], - "text": "string",
- "use": "anonymous"
}
], - "onboarding": {
- "attributes": {
- "claimed-by": "11111111-1111-1111-1111-111111111111",
- "claimed-time": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "created-time": "string",
- "done": true,
- "onboard-type": "patient",
- "organization": "11111111-1111-1111-1111-111111111111",
- "patient": "11111111-1111-1111-1111-111111111111",
- "patient-email": "string",
- "provider-roles": [
- "string"
], - "registering-time": "string",
- "status": "string",
- "verified": true
}, - "id": "string",
- "type": "string"
}, - "onboarding-request": {
- "attributes": {
- "claimed-by": "11111111-1111-1111-1111-111111111111",
- "claimed-time": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "created-time": "string",
- "done": true,
- "onboard-type": "patient",
- "organization": "11111111-1111-1111-1111-111111111111",
- "patient": "11111111-1111-1111-1111-111111111111",
- "patient-email": "string",
- "provider-roles": [
- "string"
], - "registering-time": "string",
- "status": "string",
- "verified": true
}, - "id": "string",
- "type": "string"
}, - "phone-verified": true,
- "photo": "string",
- "photo-link": "string",
- "preferred-name": "string",
- "registered": true,
- "telecom": [
- {
- "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "rank": 1,
- "system": "email",
- "use": "home",
- "value": "string"
}
], - "telecom-preference": ""
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "ui-patients"
}, - "meta": { }
}
/v1/patients/{id}/
path Parameters
id required | string Resource identifier |
query Parameters
include-photo | boolean |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "account-type": "provider",
- "active": true,
- "address": [
- {
- "city": "string",
- "country": "string",
- "district": "string",
- "line": [
- "string"
], - "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "postal": "string",
- "state": "string",
- "text": "string",
- "type": "both",
- "use": "home"
}
], - "address-city": "string",
- "address-state": "string",
- "address-street": [
- "string"
], - "address-zipcode": "string",
- "birth-date": "2019-08-24",
- "communication": [
- {
- "language": "string",
- "preferred": true
}
], - "contact": [
- {
- "address": {
- "city": "string",
- "country": "string",
- "district": "string",
- "line": [
- "string"
], - "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "postal": "string",
- "state": "string",
- "text": "string",
- "type": "both",
- "use": "home"
}, - "gender": "female",
- "name": {
- "family": "string",
- "given": [
- "string"
], - "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "prefix": [
- "string"
], - "suffix": [
- "string"
], - "text": "string",
- "use": "anonymous"
}, - "organization": "string",
- "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "relationship": {
- "coding": [
- {
- "code": "string",
- "display": "string",
- "system": "string",
- "user-selected": true,
- "version": "string"
}
], - "text": "string"
}, - "telecom": [
- {
- "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "rank": 1,
- "system": "email",
- "use": "home",
- "value": "string"
}
]
}
], - "contact-email": "string",
- "contact-phone-home": "string",
- "contact-phone-mobile": "string",
- "display-address-state": "string",
- "display-gender": "string",
- "email-verified": true,
- "extension": "string",
- "first-name": "string",
- "gender": "female",
- "identifier": [
- {
- "assigner": "string",
- "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "system": "string",
- "type": "BRN",
- "use": "official",
- "value": "string"
}
], - "last-name": "string",
- "marital-status": "string",
- "name": [
- {
- "family": "string",
- "given": [
- "string"
], - "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "prefix": [
- "string"
], - "suffix": [
- "string"
], - "text": "string",
- "use": "anonymous"
}
], - "onboarding-request": {
- "attributes": {
- "claimed-by": "11111111-1111-1111-1111-111111111111",
- "claimed-time": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "created-time": "string",
- "done": true,
- "onboard-type": "patient",
- "organization": "11111111-1111-1111-1111-111111111111",
- "patient": "11111111-1111-1111-1111-111111111111",
- "patient-email": "string",
- "provider-roles": [
- "string"
], - "registering-time": "string",
- "status": "string",
- "verified": true
}, - "id": "string",
- "type": "string"
}, - "phone-verified": true,
- "photo": "string",
- "photo-link": "string",
- "pinned-charts": [
- "ActiveEnergyBurned"
], - "preferred-name": "string",
- "registered": true,
- "telecom": [
- {
- "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "rank": 1,
- "system": "email",
- "use": "home",
- "value": "string"
}
], - "telecom-preference": "",
- "user": {
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "email-verified": true,
- "id": "11111111-1111-1111-1111-111111111111",
- "phone-type": "",
- "phone-verified": true,
- "registration-completed-time": "string",
- "state": "archived",
- "tz": "string",
- "tz-explicit": true,
- "username": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "ui-patients"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "chart-ordering": {
- "property1": [
- "ActiveEnergyBurned"
], - "property2": [
- "ActiveEnergyBurned"
]
}, - "individual-preferences": [
- {
- "collapsed-chart-tiles": [
- "ActiveEnergyBurned"
], - "id": "11111111-1111-1111-1111-111111111111",
- "mobile-nav-items": [
- "string"
], - "other-charts": [
- "ActiveEnergyBurned"
], - "pinned-charts": [
- "ActiveEnergyBurned"
], - "pinned-features": [
- "actions"
], - "preferred-sources": [
- {
- "chart-type": "ActiveEnergyBurned",
- "explicit": true,
- "source": "string"
}
]
}
], - "locale": "en_US",
- "locale-explicit": true,
- "onboarding-email-notifications-shown": true,
- "onboarding-metrics-shown": true,
- "participant-details-tab-order": [
- "actions"
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "ui-preferences"
}, - "meta": { }
}
/v1/preferences/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||
| |||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "chart-ordering": {
- "property1": [
- "ActiveEnergyBurned"
], - "property2": [
- "ActiveEnergyBurned"
]
}, - "locale": "en_US",
- "onboarding-email-notifications-shown": true,
- "onboarding-metrics-shown": true,
- "participant-details-tab-order": [
- "actions"
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "ui-preferences"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "chart-ordering": {
- "property1": [
- "ActiveEnergyBurned"
], - "property2": [
- "ActiveEnergyBurned"
]
}, - "individual-preferences": [
- {
- "collapsed-chart-tiles": [
- "ActiveEnergyBurned"
], - "id": "11111111-1111-1111-1111-111111111111",
- "mobile-nav-items": [
- "string"
], - "other-charts": [
- "ActiveEnergyBurned"
], - "pinned-charts": [
- "ActiveEnergyBurned"
], - "pinned-features": [
- "actions"
], - "preferred-sources": [
- {
- "chart-type": "ActiveEnergyBurned",
- "explicit": true,
- "source": "string"
}
]
}
], - "locale": "en_US",
- "locale-explicit": true,
- "onboarding-email-notifications-shown": true,
- "onboarding-metrics-shown": true,
- "participant-details-tab-order": [
- "actions"
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "ui-preferences"
}, - "meta": { }
}
/v1/preferences/{id}/collapse-chart-tile/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
chart-type required | string (ChartType) Enum: "ActiveEnergyBurned" "ActiveTime" "Auscultation" "BloodGlucose" "BloodPressure" "BodyFatPercentage" "BodyMass" "BodyMassIndex" "BodyMassLean" "BodyTemperature" "Distance" "FeelingRating" "ForcedExpiratoryVolume" "HbA1c" "Height" "Hematocrit" "Hemoglobin" "Mindfulness" "OxygenSaturation" "PeakFlow" "PeriodicPulse" "PotassiumLevel" "Pulse" "SkinTemperature" "SleepAnalysis" "Steps" "Vo2Max" "WaistCircumference" "WaterIntake" |
individual-id required | string <uuid> |
Responses
Request samples
- Payload
{- "chart-type": "ActiveEnergyBurned",
- "individual-id": "11111111-1111-1111-1111-111111111111"
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "chart-ordering": {
- "property1": [
- "ActiveEnergyBurned"
], - "property2": [
- "ActiveEnergyBurned"
]
}, - "individual-preferences": [
- {
- "collapsed-chart-tiles": [
- "ActiveEnergyBurned"
], - "id": "11111111-1111-1111-1111-111111111111",
- "mobile-nav-items": [
- "string"
], - "other-charts": [
- "ActiveEnergyBurned"
], - "pinned-charts": [
- "ActiveEnergyBurned"
], - "pinned-features": [
- "actions"
], - "preferred-sources": [
- {
- "chart-type": "ActiveEnergyBurned",
- "explicit": true,
- "source": "string"
}
]
}
], - "locale": "en_US",
- "locale-explicit": true,
- "onboarding-email-notifications-shown": true,
- "onboarding-metrics-shown": true,
- "participant-details-tab-order": [
- "actions"
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "ui-preferences"
}, - "meta": { }
}
/v1/preferences/{id}/configure-tracking/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
individual-id required | string <uuid> |
values required | Array of strings[ items <= 255 characters ] The "value" portion of the selected options |
Responses
Request samples
- Payload
{- "individual-id": "11111111-1111-1111-1111-111111111111",
- "values": [
- "string"
]
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "chart-ordering": {
- "property1": [
- "ActiveEnergyBurned"
], - "property2": [
- "ActiveEnergyBurned"
]
}, - "individual-preferences": [
- {
- "collapsed-chart-tiles": [
- "ActiveEnergyBurned"
], - "id": "11111111-1111-1111-1111-111111111111",
- "mobile-nav-items": [
- "string"
], - "other-charts": [
- "ActiveEnergyBurned"
], - "pinned-charts": [
- "ActiveEnergyBurned"
], - "pinned-features": [
- "actions"
], - "preferred-sources": [
- {
- "chart-type": "ActiveEnergyBurned",
- "explicit": true,
- "source": "string"
}
]
}
], - "locale": "en_US",
- "locale-explicit": true,
- "onboarding-email-notifications-shown": true,
- "onboarding-metrics-shown": true,
- "participant-details-tab-order": [
- "actions"
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "ui-preferences"
}, - "meta": { }
}
/v1/preferences/{id}/expand-chart-tile/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
chart-type required | string (ChartType) Enum: "ActiveEnergyBurned" "ActiveTime" "Auscultation" "BloodGlucose" "BloodPressure" "BodyFatPercentage" "BodyMass" "BodyMassIndex" "BodyMassLean" "BodyTemperature" "Distance" "FeelingRating" "ForcedExpiratoryVolume" "HbA1c" "Height" "Hematocrit" "Hemoglobin" "Mindfulness" "OxygenSaturation" "PeakFlow" "PeriodicPulse" "PotassiumLevel" "Pulse" "SkinTemperature" "SleepAnalysis" "Steps" "Vo2Max" "WaistCircumference" "WaterIntake" |
individual-id required | string <uuid> |
Responses
Request samples
- Payload
{- "chart-type": "ActiveEnergyBurned",
- "individual-id": "11111111-1111-1111-1111-111111111111"
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "chart-ordering": {
- "property1": [
- "ActiveEnergyBurned"
], - "property2": [
- "ActiveEnergyBurned"
]
}, - "individual-preferences": [
- {
- "collapsed-chart-tiles": [
- "ActiveEnergyBurned"
], - "id": "11111111-1111-1111-1111-111111111111",
- "mobile-nav-items": [
- "string"
], - "other-charts": [
- "ActiveEnergyBurned"
], - "pinned-charts": [
- "ActiveEnergyBurned"
], - "pinned-features": [
- "actions"
], - "preferred-sources": [
- {
- "chart-type": "ActiveEnergyBurned",
- "explicit": true,
- "source": "string"
}
]
}
], - "locale": "en_US",
- "locale-explicit": true,
- "onboarding-email-notifications-shown": true,
- "onboarding-metrics-shown": true,
- "participant-details-tab-order": [
- "actions"
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "ui-preferences"
}, - "meta": { }
}
/v1/preferences/{id}/get-tracking-options/
path Parameters
id required | string Resource identifier |
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "cancel-text": "string",
- "options": [
- {
- "name": "string",
- "value": "string"
}
], - "submit-text": "string",
- "title-text": "string"
}
}
/v1/preferences/{id}/pin-chart/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
chart-type required | string <= 255 characters |
individual-id required | string <uuid> |
Responses
Request samples
- Payload
{- "chart-type": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111"
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "chart-ordering": {
- "property1": [
- "ActiveEnergyBurned"
], - "property2": [
- "ActiveEnergyBurned"
]
}, - "individual-preferences": [
- {
- "collapsed-chart-tiles": [
- "ActiveEnergyBurned"
], - "id": "11111111-1111-1111-1111-111111111111",
- "mobile-nav-items": [
- "string"
], - "other-charts": [
- "ActiveEnergyBurned"
], - "pinned-charts": [
- "ActiveEnergyBurned"
], - "pinned-features": [
- "actions"
], - "preferred-sources": [
- {
- "chart-type": "ActiveEnergyBurned",
- "explicit": true,
- "source": "string"
}
]
}
], - "locale": "en_US",
- "locale-explicit": true,
- "onboarding-email-notifications-shown": true,
- "onboarding-metrics-shown": true,
- "participant-details-tab-order": [
- "actions"
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "ui-preferences"
}, - "meta": { }
}
DEPRECATED
Use set-preferred-source instead
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
chart-type required | string (ChartType) Enum: "ActiveEnergyBurned" "ActiveTime" "Auscultation" "BloodGlucose" "BloodPressure" "BodyFatPercentage" "BodyMass" "BodyMassIndex" "BodyMassLean" "BodyTemperature" "Distance" "FeelingRating" "ForcedExpiratoryVolume" "HbA1c" "Height" "Hematocrit" "Hemoglobin" "Mindfulness" "OxygenSaturation" "PeakFlow" "PeriodicPulse" "PotassiumLevel" "Pulse" "SkinTemperature" "SleepAnalysis" "Steps" "Vo2Max" "WaistCircumference" "WaterIntake" |
individual-id required | string <uuid> |
source required | string <= 255 characters |
Responses
Request samples
- Payload
{- "chart-type": "ActiveEnergyBurned",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "source": "string"
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "chart-ordering": {
- "property1": [
- "ActiveEnergyBurned"
], - "property2": [
- "ActiveEnergyBurned"
]
}, - "individual-preferences": [
- {
- "collapsed-chart-tiles": [
- "ActiveEnergyBurned"
], - "id": "11111111-1111-1111-1111-111111111111",
- "mobile-nav-items": [
- "string"
], - "other-charts": [
- "ActiveEnergyBurned"
], - "pinned-charts": [
- "ActiveEnergyBurned"
], - "pinned-features": [
- "actions"
], - "preferred-sources": [
- {
- "chart-type": "ActiveEnergyBurned",
- "explicit": true,
- "source": "string"
}
]
}
], - "locale": "en_US",
- "locale-explicit": true,
- "onboarding-email-notifications-shown": true,
- "onboarding-metrics-shown": true,
- "participant-details-tab-order": [
- "actions"
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "ui-preferences"
}, - "meta": { }
}
/v1/preferences/{id}/set-chart-orders/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
individual-id required | string <uuid> |
other-charts required | Array of strings[ items <= 255 characters ] |
pinned-charts required | Array of strings[ items <= 255 characters ] |
Responses
Request samples
- Payload
{- "individual-id": "11111111-1111-1111-1111-111111111111",
- "other-charts": [
- "string"
], - "pinned-charts": [
- "string"
]
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "chart-ordering": {
- "property1": [
- "ActiveEnergyBurned"
], - "property2": [
- "ActiveEnergyBurned"
]
}, - "individual-preferences": [
- {
- "collapsed-chart-tiles": [
- "ActiveEnergyBurned"
], - "id": "11111111-1111-1111-1111-111111111111",
- "mobile-nav-items": [
- "string"
], - "other-charts": [
- "ActiveEnergyBurned"
], - "pinned-charts": [
- "ActiveEnergyBurned"
], - "pinned-features": [
- "actions"
], - "preferred-sources": [
- {
- "chart-type": "ActiveEnergyBurned",
- "explicit": true,
- "source": "string"
}
]
}
], - "locale": "en_US",
- "locale-explicit": true,
- "onboarding-email-notifications-shown": true,
- "onboarding-metrics-shown": true,
- "participant-details-tab-order": [
- "actions"
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "ui-preferences"
}, - "meta": { }
}
/v1/preferences/{id}/set-preferred-source/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
chart-type required | string (ChartType) Enum: "ActiveEnergyBurned" "ActiveTime" "Auscultation" "BloodGlucose" "BloodPressure" "BodyFatPercentage" "BodyMass" "BodyMassIndex" "BodyMassLean" "BodyTemperature" "Distance" "FeelingRating" "ForcedExpiratoryVolume" "HbA1c" "Height" "Hematocrit" "Hemoglobin" "Mindfulness" "OxygenSaturation" "PeakFlow" "PeriodicPulse" "PotassiumLevel" "Pulse" "SkinTemperature" "SleepAnalysis" "Steps" "Vo2Max" "WaistCircumference" "WaterIntake" |
individual-id required | string <uuid> |
source required | string <= 255 characters |
Responses
Request samples
- Payload
{- "chart-type": "ActiveEnergyBurned",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "source": "string"
}
Response samples
- 200
{- "data": {
- "attributes": {
- "chart-ordering": {
- "property1": [
- "ActiveEnergyBurned"
], - "property2": [
- "ActiveEnergyBurned"
]
}, - "individual-preferences": [
- {
- "collapsed-chart-tiles": [
- "ActiveEnergyBurned"
], - "id": "11111111-1111-1111-1111-111111111111",
- "mobile-nav-items": [
- "string"
], - "other-charts": [
- "ActiveEnergyBurned"
], - "pinned-charts": [
- "ActiveEnergyBurned"
], - "pinned-features": [
- "actions"
], - "preferred-sources": [
- {
- "chart-type": "ActiveEnergyBurned",
- "explicit": true,
- "source": "string"
}
]
}
], - "locale": "en_US",
- "locale-explicit": true,
- "onboarding-email-notifications-shown": true,
- "onboarding-metrics-shown": true,
- "participant-details-tab-order": [
- "actions"
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "ui-preferences"
}, - "meta": { }
}
/v1/preferences/{id}/unpin-chart/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
chart-type required | string <= 255 characters |
individual-id required | string <uuid> |
Responses
Request samples
- Payload
{- "chart-type": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111"
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "chart-ordering": {
- "property1": [
- "ActiveEnergyBurned"
], - "property2": [
- "ActiveEnergyBurned"
]
}, - "individual-preferences": [
- {
- "collapsed-chart-tiles": [
- "ActiveEnergyBurned"
], - "id": "11111111-1111-1111-1111-111111111111",
- "mobile-nav-items": [
- "string"
], - "other-charts": [
- "ActiveEnergyBurned"
], - "pinned-charts": [
- "ActiveEnergyBurned"
], - "pinned-features": [
- "actions"
], - "preferred-sources": [
- {
- "chart-type": "ActiveEnergyBurned",
- "explicit": true,
- "source": "string"
}
]
}
], - "locale": "en_US",
- "locale-explicit": true,
- "onboarding-email-notifications-shown": true,
- "onboarding-metrics-shown": true,
- "participant-details-tab-order": [
- "actions"
]
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "ui-preferences"
}, - "meta": { }
}
/v1/programs/
query Parameters
filter[exclude-ids] | Array of strings <uuid> [ items <uuid > ] Example: filter[exclude-ids]=11111111-1111-1111-1111-111111111111 |
include-all | boolean Default: false |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "category": "string",
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "enrollment-schema": {
- "order": [
- "string"
], - "properties": {
- "property1": {
- "choice-type": "IndividualGroup",
- "exclusiveMaximum": 0,
- "exclusiveMinimum": 0,
- "format": "datetime",
- "maximum": 0,
- "minimum": 0,
- "title": "string",
- "type": "boolean"
}, - "property2": {
- "choice-type": "IndividualGroup",
- "exclusiveMaximum": 0,
- "exclusiveMinimum": 0,
- "format": "datetime",
- "maximum": 0,
- "minimum": 0,
- "title": "string",
- "type": "boolean"
}
}, - "required": [
- "string"
], - "type": "object"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "is-active": true,
- "last-modified-at": "string",
- "last-modified-by": "11111111-1111-1111-1111-111111111111",
- "latest-version": "string",
- "latest-version-hash-id": "string",
- "name": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "selected-version": "string",
- "selected-version-hash-id": "string",
- "type": "challenge"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "ui-programs"
}
], - "meta": { }
}
/v1/providers/
Request Body schema: application/json
required | object | ||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "birth-date": "2019-08-24",
- "email": "string",
- "first-name": "string",
- "gender": "female",
- "individual-group-ids": [
- "11111111-1111-1111-1111-111111111111"
], - "last-name": "string",
- "locale": "en_US",
- "mobile-phone": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "postal-code": "string",
- "preferred-contact-method": "email",
- "preferred-name": "string",
- "roles": [
- "string"
]
}, - "type": "ui-providers"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "account-type": "provider",
- "active": true,
- "address": [
- {
- "city": "string",
- "country": "string",
- "district": "string",
- "line": [
- "string"
], - "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "postal": "string",
- "state": "string",
- "text": "string",
- "type": "both",
- "use": "home"
}
], - "address-city": "string",
- "address-state": "string",
- "address-street": [
- "string"
], - "address-zipcode": "string",
- "birth-date": "2019-08-24",
- "communication": [
- {
- "language": "string",
- "preferred": true
}
], - "contact": [
- {
- "address": {
- "city": "string",
- "country": "string",
- "district": "string",
- "line": [
- "string"
], - "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "postal": "string",
- "state": "string",
- "text": "string",
- "type": "both",
- "use": "home"
}, - "gender": "female",
- "name": {
- "family": "string",
- "given": [
- "string"
], - "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "prefix": [
- "string"
], - "suffix": [
- "string"
], - "text": "string",
- "use": "anonymous"
}, - "organization": "string",
- "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "relationship": {
- "coding": [
- {
- "code": "string",
- "display": "string",
- "system": "string",
- "user-selected": true,
- "version": "string"
}
], - "text": "string"
}, - "telecom": [
- {
- "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "rank": 1,
- "system": "email",
- "use": "home",
- "value": "string"
}
]
}
], - "contact-email": "string",
- "contact-phone-home": "string",
- "contact-phone-mobile": "string",
- "email-verified": true,
- "extension": "string",
- "first-name": "string",
- "gender": "female",
- "identifier": [
- {
- "assigner": "string",
- "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "system": "string",
- "type": "BRN",
- "use": "official",
- "value": "string"
}
], - "last-name": "string",
- "marital-status": "string",
- "name": [
- {
- "family": "string",
- "given": [
- "string"
], - "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "prefix": [
- "string"
], - "suffix": [
- "string"
], - "text": "string",
- "use": "anonymous"
}
], - "onboarding-request": {
- "attributes": {
- "claimed-by": "11111111-1111-1111-1111-111111111111",
- "claimed-time": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "created-time": "string",
- "done": true,
- "onboard-type": "patient",
- "organization": "11111111-1111-1111-1111-111111111111",
- "patient": "11111111-1111-1111-1111-111111111111",
- "patient-email": "string",
- "provider-roles": [
- "string"
], - "registering-time": "string",
- "status": "string",
- "verified": true
}, - "id": "string",
- "type": "string"
}, - "phone-verified": true,
- "photo": "string",
- "photo-link": "string",
- "preferred-name": "string",
- "registered": true,
- "telecom": [
- {
- "period": {
- "end": "1975-11-25 00:00:00",
- "start": "1975-11-25 00:00:00"
}, - "rank": 1,
- "system": "email",
- "use": "home",
- "value": "string"
}
], - "telecom-preference": ""
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "ui-providers"
}, - "meta": { }
}
/v1/providers/{id}/add-org-role/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
role-name required | string <= 255 characters |
Responses
Request samples
- Payload
{- "role-name": "string"
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "display-name": "string",
- "name": "string",
- "organization": {
- "display-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "name": "string"
}, - "organization-id": "11111111-1111-1111-1111-111111111111"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "roles"
}
}
/v1/purge-data/
Request Body schema: application/json
required | object | ||||||||||||||||||
| |||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "archive": false,
- "entity-id": "string",
- "entity-type": "individual",
- "reference-id": "string",
- "request-id": "string"
}, - "type": "system-purges"
}, - "meta": { }
}
Response samples
- 201
null
/v1/quick-add-interviews/
query Parameters
organization-id required | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "attributes": {
- "icon-background-color": "string",
- "icon-name": "string",
- "names": {
- "en_US": "string",
- "es_US": "string"
}, - "organization-id": "11111111-1111-1111-1111-111111111111",
- "profile-name": "string",
- "questions": {
- "en_US": "string",
- "es_US": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "quick-add-interviews"
}
], - "meta": { }
}
/v1/quick-add-interviews/
Request Body schema: application/json
required | object | ||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "icon-background-color": "string",
- "icon-name": "string",
- "names": {
- "en_US": "string",
- "es_US": "string"
}, - "organization-id": "11111111-1111-1111-1111-111111111111",
- "profile-name": "string",
- "questions": {
- "en_US": "string",
- "es_US": "string"
}
}, - "type": "quick-add-interviews"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "icon-background-color": "string",
- "icon-name": "string",
- "names": {
- "en_US": "string",
- "es_US": "string"
}, - "organization-id": "11111111-1111-1111-1111-111111111111",
- "profile-name": "string",
- "questions": {
- "en_US": "string",
- "es_US": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "quick-add-interviews"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "icon-background-color": "string",
- "icon-name": "string",
- "names": {
- "en_US": "string",
- "es_US": "string"
}, - "organization-id": "11111111-1111-1111-1111-111111111111",
- "profile-name": "string",
- "questions": {
- "en_US": "string",
- "es_US": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "quick-add-interviews"
}, - "meta": { }
}
/v1/quick-add-interviews/{id}/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object | ||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "icon-background-color": "string",
- "icon-name": "string",
- "names": {
- "en_US": "string",
- "es_US": "string"
}, - "profile-name": "string",
- "questions": {
- "en_US": "string",
- "es_US": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "quick-add-interviews"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "icon-background-color": "string",
- "icon-name": "string",
- "names": {
- "en_US": "string",
- "es_US": "string"
}, - "organization-id": "11111111-1111-1111-1111-111111111111",
- "profile-name": "string",
- "questions": {
- "en_US": "string",
- "es_US": "string"
}
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "quick-add-interviews"
}, - "meta": { }
}
Response samples
- 200
{- "data": [
- {
- "attributes": {
- "classpath": "string",
- "created-time": "string",
- "last-poll-time": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "replicators"
}
], - "meta": { }
}
Response samples
- 200
{- "data": {
- "attributes": {
- "classpath": "string",
- "created-time": "string",
- "last-poll-time": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "replicators"
}, - "meta": { }
}
/v1/reporter-csv-reports/
Request Body schema: application/json
required | object | ||||||||||||||||||||
| |||||||||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "chart-spec": {
- "end": "string",
- "metrics": [
- {
- "scope": "30days",
- "source": "string",
- "type": "ActiveEnergyBurned"
}
], - "start": "string",
- "time": "string"
}, - "individual-id": "11111111-1111-1111-1111-111111111111"
}, - "type": "reporter-csv-reports"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "status": "CREATED"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "reporter-csv-reports"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "status": "CREATED"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "reporter-csv-reports"
}, - "meta": { }
}
/v1/reporter-reports/
Request Body schema: application/json
required | object | ||||||||||||||
| |||||||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "full-path": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "local-storage": { },
- "use-lambda": true
}, - "type": "reporter-reports"
}, - "meta": { }
}
Response samples
- 201
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "full-path": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "local-storage": { },
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "run-as-user-id": "11111111-1111-1111-1111-111111111111",
- "status": "FAILED"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "reporter-reports"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "full-path": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-modified-at": "string",
- "local-storage": { },
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "run-as-user-id": "11111111-1111-1111-1111-111111111111",
- "status": "FAILED"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "reporter-reports"
}, - "meta": { }
}
/v1/reporter-reports/{id}/update-result/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
returncode required | integer |
status required | string Enum: "failed" "success" |
stderr required | string <= 99999 characters |
stdout required | string <= 99999 characters |
Responses
Request samples
- Payload
{- "returncode": 0,
- "status": "failed",
- "stderr": "string",
- "stdout": "string"
}
Response samples
- 201
- 4XX
{ }
/v1/sniffers/
Request Body schema: application/json
required | object | ||||||||||
| |||||||||||
meta | object |
Responses
Request samples
- Payload
{- "data": {
- "attributes": {
- "user-id": "11111111-1111-1111-1111-111111111111",
- "valid-until": "string"
}, - "type": "sniffers"
}, - "meta": { }
}
Response samples
- 201
{- "data": {
- "attributes": {
- "created-time": "string",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "valid-until": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "sniffers"
}, - "meta": { }
}
Response samples
- 200
{- "data": {
- "attributes": {
- "created-time": "string",
- "user-id": "11111111-1111-1111-1111-111111111111",
- "valid-until": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "sniffers"
}, - "meta": { }
}
/v1/sniffers/{id}/get-logs/
path Parameters
id required | string Resource identifier |
query Parameters
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
Responses
Response samples
- 200
{- "data": [
- {
- "attributes": {
- "body": "string",
- "content_type": "string",
- "created-time": "string",
- "message": "string",
- "method": "string",
- "path": "string",
- "query-string": "string",
- "request-id": "string",
- "response": "string",
- "status-code": 0,
- "trace-id": "string",
- "user-agent": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "sniffer-logs"
}
], - "meta": { }
}
/v1/teapots/{id}/make-coffee/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
Responses
Request samples
- Payload
{ }
Response samples
- 200
- 4XX
{- "data": {
- "attributes": { },
- "id": "11111111-1111-1111-1111-111111111111",
- "type": "teapots"
}, - "meta": { }
}
/v1/translations/{id}/
path Parameters
id required | string Resource identifier |
query Parameters
app-version required | string <= 32 characters |
linguist-version required | string <= 32 characters |
platform required | string Enum: "android" "ios" "web" |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "last-modified-at": "string",
- "options": {
- "chart-scopes": [
- {
- "name": "string",
- "value": "string"
}
], - "feeling-ratings": [
- {
- "name": "string",
- "value": "string"
}
], - "genders": [
- {
- "name": "string",
- "value": "string"
}
], - "glucose-contexts": [
- {
- "name": "string",
- "value": "string"
}
], - "marital-statuses": [
- {
- "name": "string",
- "value": "string"
}
], - "mindfulness-contexts": [
- {
- "name": "string",
- "value": "string"
}
], - "sleep-states": [
- {
- "name": "string",
- "value": "string"
}
], - "timezones": [
- {
- "name": "string",
- "value": "string"
}
], - "us-states": [
- {
- "name": "string",
- "value": "string"
}
]
}, - "strings": { }
}, - "id": "string",
- "type": "ui-translations"
}, - "meta": { }
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "birth-date": "2019-08-24",
- "communication-preferences": {
- "email": { },
- "mobile": { },
- "sms": { },
- "voice": { },
- "web": { }
}, - "email": "string",
- "email-verified": true,
- "first-name": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "phone": "string",
- "phone-verified": true,
- "tz": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "users"
}, - "meta": { }
}
/v2/charts/
query Parameters
fields | Array of strings Items Enum: "has-readings" "icon-background-color" "icon-name" "max" "max-time" "min" "min-time" "precision" "read-only" "read-schema" "schema" "scopes" "source-options" "sources" "title" "unit" |
include-optional-scopes | Array of strings Items Enum: "30days" "3months" "day" "month" "week" "year" |
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
{- "data": [
- {
- "attributes": {
- "has-readings": true,
- "icon-background-color": "string",
- "icon-name": "activeClock",
- "max": 0,
- "max-time": "string",
- "min": 0,
- "min-time": "string",
- "precision": 0,
- "read-only": true,
- "read-schema": {
- "additionalProperties": true,
- "layout": {
- "data": {
- "columnGap": "string",
- "rowGap": "string",
- "templateColumns": "string",
- "templateRows": "string"
}, - "type": "grid"
}, - "limits": [
- {
- "error": "string",
- "lhs": "string",
- "op": "<",
- "rhs": "string"
}
], - "order": [
- "string"
], - "properties": {
- "property1": {
- "items": {
- "choiceType": "Select",
- "condition": {
- "and": [
- { }
], - "contains": null,
- "is": null,
- "notMatch": true,
- "or": [
- { }
], - "placeholder": true,
- "when": "string"
}, - "default": 0,
- "enum": [
- 0
], - "enumLabels": [
- "string"
], - "enumLocalizedLabels": [
- {
- "en_US": null,
- "es_US": null
}
], - "exclusiveMaximum": 0,
- "exclusiveMinimum": 0,
- "format": "humanize-mins",
- "hideOptionalLabel": true,
- "layout": {
- "data": {
- "alignSelf": null,
- "col": null,
- "colSpan": null,
- "horizontal": null,
- "justifySelf": null,
- "row": null,
- "rowSpan": null
}, - "type": "grid"
}, - "maximum": 0,
- "minimum": 0,
- "readOnly": true,
- "title": "string",
- "titles": {
- "en_US": "string",
- "es_US": "string"
}, - "type": "integer"
}, - "type": "array"
}, - "property2": {
- "items": {
- "choiceType": "Select",
- "condition": {
- "and": [
- { }
], - "contains": null,
- "is": null,
- "notMatch": true,
- "or": [
- { }
], - "placeholder": true,
- "when": "string"
}, - "default": 0,
- "enum": [
- 0
], - "enumLabels": [
- "string"
], - "enumLocalizedLabels": [
- {
- "en_US": null,
- "es_US": null
}
], - "exclusiveMaximum": 0,
- "exclusiveMinimum": 0,
- "format": "humanize-mins",
- "hideOptionalLabel": true,
- "layout": {
- "data": {
- "alignSelf": null,
- "col": null,
- "colSpan": null,
- "horizontal": null,
- "justifySelf": null,
- "row": null,
- "rowSpan": null
}, - "type": "grid"
}, - "maximum": 0,
- "minimum": 0,
- "readOnly": true,
- "title": "string",
- "titles": {
- "en_US": "string",
- "es_US": "string"
}, - "type": "integer"
}, - "type": "array"
}
}, - "required": [
- "string"
], - "sections": [
- {
- "collapsed": true,
- "layout": {
- "data": {
- "columnGap": "string",
- "rowGap": "string",
- "templateColumns": "string",
- "templateRows": "string"
}, - "type": "grid"
}, - "order": [
- "string"
], - "title": "string",
- "titles": {
- "en_US": "string",
- "es_US": "string"
}
}
], - "type": "object"
}, - "schema": {
- "additionalProperties": true,
- "layout": {
- "data": {
- "columnGap": "string",
- "rowGap": "string",
- "templateColumns": "string",
- "templateRows": "string"
}, - "type": "grid"
}, - "limits": [
- {
- "error": "string",
- "lhs": "string",
- "op": "<",
- "rhs": "string"
}
], - "order": [
- "string"
], - "properties": {
- "property1": {
- "items": {
- "choiceType": "Select",
- "condition": {
- "and": [
- { }
], - "contains": null,
- "is": null,
- "notMatch": true,
- "or": [
- { }
], - "placeholder": true,
- "when": "string"
}, - "default": 0,
- "enum": [
- 0
], - "enumLabels": [
- "string"
], - "enumLocalizedLabels": [
- {
- "en_US": null,
- "es_US": null
}
], - "exclusiveMaximum": 0,
- "exclusiveMinimum": 0,
- "format": "humanize-mins",
- "hideOptionalLabel": true,
- "layout": {
- "data": {
- "alignSelf": null,
- "col": null,
- "colSpan": null,
- "horizontal": null,
- "justifySelf": null,
- "row": null,
- "rowSpan": null
}, - "type": "grid"
}, - "maximum": 0,
- "minimum": 0,
- "readOnly": true,
- "title": "string",
- "titles": {
- "en_US": "string",
- "es_US": "string"
}, - "type": "integer"
}, - "type": "array"
}, - "property2": {
- "items": {
- "choiceType": "Select",
- "condition": {
- "and": [
- { }
], - "contains": null,
- "is": null,
- "notMatch": true,
- "or": [
- { }
], - "placeholder": true,
- "when": "string"
}, - "default": 0,
- "enum": [
- 0
], - "enumLabels": [
- "string"
], - "enumLocalizedLabels": [
- {
- "en_US": null,
- "es_US": null
}
], - "exclusiveMaximum": 0,
- "exclusiveMinimum": 0,
- "format": "humanize-mins",
- "hideOptionalLabel": true,
- "layout": {
- "data": {
- "alignSelf": null,
- "col": null,
- "colSpan": null,
- "horizontal": null,
- "justifySelf": null,
- "row": null,
- "rowSpan": null
}, - "type": "grid"
}, - "maximum": 0,
- "minimum": 0,
- "readOnly": true,
- "title": "string",
- "titles": {
- "en_US": "string",
- "es_US": "string"
}, - "type": "integer"
}, - "type": "array"
}
}, - "required": [
- "string"
], - "sections": [
- {
- "collapsed": true,
- "layout": {
- "data": {
- "columnGap": "string",
- "rowGap": "string",
- "templateColumns": "string",
- "templateRows": "string"
}, - "type": "grid"
}, - "order": [
- "string"
], - "title": "string",
- "titles": {
- "en_US": "string",
- "es_US": "string"
}
}
], - "type": "object"
}, - "scopes": [
- {
- "name": "string",
- "value": "string"
}
], - "source-options": [
- {
- "label": "string",
- "owner-preferred-source": true,
- "value": "string"
}
], - "sources": [
- "string"
], - "title": "string",
- "unit": {
- "display-plural": "string",
- "display-singular": "string",
- "value": "string"
}
}, - "id": "string",
- "type": "ui-charts"
}
], - "meta": { }
}
/v2/charts/{id}/add-reading/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
context required | string Enum: "AFTER_MEAL" "BEDTIME" "BEFORE_MEAL" "FASTING" "UNSPECIFIED" |
input-unit required | string The unit that the value for this reading. It should be the one provided in /charts/ response. |
type required | string Value: "BloodGlucose" |
tz required | string (Timezone) <= 64 characters The tz database name of the current timezone of the user (e.g. "America/Los_Angeles") |
value required | number The reading value |
include-others | boolean |
increment-metric | boolean |
individual-id | string <uuid> |
local-time | string <datetime> Timestamp for reading in user's current timezone (tz) for series types with a single time |
organization-id | string <uuid> |
source | string <= 50 characters |
time | string <datetime> Timestamp for reading in UTC for series types with a single time |
Responses
Request samples
- Payload
{- "include-others": true,
- "increment-metric": true,
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "input-unit": "string",
- "local-time": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "source": "string",
- "time": "string",
- "type": "ActiveEnergyBurned",
- "tz": "string",
- "value": 0
}
Response samples
- 201
- 4XX
{ }
/v2/charts/{id}/delete-reading/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
individual-id required | string <uuid> |
time required | string <datetime> Timestamp for reading in UTC for series types with a single time |
organization-id | string <uuid> |
Responses
Request samples
- Payload
{- "begin-time": "string",
- "end-time": "string",
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "organization-id": "11111111-1111-1111-1111-111111111111"
}
Response samples
- 200
- 4XX
{ }
DEPRECATED: Use get-details instead Deprecated
path Parameters
id required | string Resource identifier |
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
tz required | string (Timezone) <= 64 characters The tz database name of the current timezone of the user (e.g. "America/Los_Angeles") |
all-sources | boolean Default: false When set and "source" is omitted, will show all sources instead of preferred source |
allow-summary | boolean Default: false Allow using summary graph-type where appropriate |
context | string Enum: "AFTER_MEAL" "BEDTIME" "BEFORE_MEAL" "FASTING" "FORMAL" "INFORMAL" "UNSPECIFIED" |
end | string <datetime> UTC end time for readings within range |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer [ 1 .. 1000 ] Default: 500 |
scope | string Enum: "30days" "3months" "day" "month" "week" "year" When omitted, both 'start' and 'end' must be provided. |
source | string <= 255 characters |
start | string <datetime> UTC start time for readings within the scope (or range) |
time | string <datetime> Arbitrary UTC timestamp to compute a "start" and "end" from, it defaults to current time |
Responses
Response samples
- 200
{- "data": [
- {
- "chart-legend-items": [
- {
- "color": "string",
- "label": "string",
- "shape": "circle"
}
], - "chart-max": 0,
- "chart-min": 0,
- "chart-min-range": 0,
- "chart-soft-max": 0,
- "chart-soft-min": 0,
- "chart-title": "string",
- "chart-tooltip-timestamp": "date",
- "chart-value-mappings": [
- {
- "label": "string",
- "value": 0
}
], - "graph-type": "column",
- "history-button-label": "string",
- "no-data-text": "string",
- "read-only": true,
- "readings": [
- {
- "color": "string",
- "context": "AFTER_MEAL",
- "context-label": "string",
- "diastolic": 0,
- "diastolic-color": "string",
- "group": "string",
- "local-time": "string",
- "max": 0,
- "mean": 0,
- "min": 0,
- "shape": "string",
- "source": "string",
- "source-display-name": "string",
- "state": "HIGH",
- "systolic": 0,
- "systolic-color": "string",
- "time": "string",
- "time-local": "string",
- "tz-offset-mins": 0,
- "value": 0,
- "value-label": "string"
}
], - "summaries": [
- {
- "data": {
- "change": {
- "delta-label": "string",
- "delta-label-color": "string",
- "label": "string",
- "label-color": "string",
- "pct-changed": "string",
- "pct-changed-color": "string",
- "unit": "string",
- "unit-color": "string",
- "value": "string",
- "value-color": "string"
}, - "current": {
- "date": "string",
- "date-color": "string",
- "icon": "add",
- "icon-color": "string",
- "label": "string",
- "label-color": "string",
- "unit": "string",
- "unit-color": "string",
- "value": "string",
- "value-color": "string"
}, - "start": {
- "date": "string",
- "date-color": "string",
- "label": "string",
- "label-color": "string",
- "unit": "string",
- "unit-color": "string",
- "value": "string",
- "value-color": "string"
}, - "title": "string",
- "title-color": "string"
}, - "type": "summary_change"
}
]
}
], - "meta": {
- "end": "string",
- "next": {
- "range-label": "string",
- "start": "string"
}, - "next-start": "string",
- "page[limit]": 0,
- "page[offset]": 0,
- "page[total]": 0,
- "previous": {
- "range-label": "string",
- "start": "string"
}, - "previous-start": "string",
- "range-label": "string",
- "start": "string",
- "unit": "string",
- "value-keys": [
- "string"
]
}
}
/v2/charts/{id}/edit-reading/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
context required | string Enum: "AFTER_MEAL" "BEDTIME" "BEFORE_MEAL" "FASTING" "UNSPECIFIED" |
input-unit required | string The unit that the value for this reading. It should be the one provided in /charts/ response. |
type required | string Value: "BloodGlucose" |
tz required | string (Timezone) <= 64 characters The tz database name of the current timezone of the user (e.g. "America/Los_Angeles") |
value required | number The reading value |
include-others | boolean |
individual-id | string <uuid> |
local-time | string <datetime> Timestamp for reading in user's current timezone (tz) for series types with a single time |
organization-id | string <uuid> |
previous-local-time | string <datetime> Previous timestamp for reading in user's timezone (tz) when editing |
previous-time | string <datetime> Previous timestamp for reading in UTC when editing |
source | string <= 50 characters |
time | string <datetime> Timestamp for reading in UTC for series types with a single time |
Responses
Request samples
- Payload
{- "include-others": true,
- "individual-id": "11111111-1111-1111-1111-111111111111",
- "input-unit": "string",
- "local-time": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "previous-local-time": "string",
- "previous-time": "string",
- "source": "string",
- "time": "string",
- "type": "ActiveEnergyBurned",
- "tz": "string",
- "value": 0
}
Response samples
- 200
- 4XX
{ }
/v2/charts/{id}/get-details/
path Parameters
id required | string Resource identifier |
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
tz required | string (Timezone) <= 64 characters The tz database name of the current timezone of the user (e.g. "America/Los_Angeles") |
all-sources | boolean Default: false When set and "source" is omitted, will show all sources instead of preferred source |
allow-summary | boolean Default: false Allow using summary graph-type where appropriate |
context | string Enum: "AFTER_MEAL" "BEDTIME" "BEFORE_MEAL" "FASTING" "FORMAL" "INFORMAL" "UNSPECIFIED" |
end | string <datetime> UTC end time for readings within range |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer [ 1 .. 1000 ] Default: 500 |
scope | string Enum: "30days" "3months" "day" "month" "week" "year" When omitted, both 'start' and 'end' must be provided. |
source | string <= 255 characters |
start | string <datetime> UTC start time for readings within the scope (or range) |
time | string <datetime> Arbitrary UTC timestamp to compute a "start" and "end" from, it defaults to current time |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "chart-legend-items": [
- {
- "color": "string",
- "label": "string",
- "shape": "circle"
}
], - "chart-max": 0,
- "chart-min": 0,
- "chart-min-range": 0,
- "chart-soft-max": 0,
- "chart-soft-min": 0,
- "chart-title": "string",
- "chart-tooltip-timestamp": "date",
- "chart-value-mappings": [
- {
- "label": "string",
- "value": 0
}
], - "graph-type": "column",
- "history-button-label": "string",
- "no-data-text": "string",
- "read-only": true,
- "readings": [
- {
- "color": "string",
- "context": "AFTER_MEAL",
- "context-label": "string",
- "diastolic": 0,
- "diastolic-color": "string",
- "group": "string",
- "local-time": "string",
- "max": 0,
- "mean": 0,
- "min": 0,
- "shape": "string",
- "source": "string",
- "source-display-name": "string",
- "state": "HIGH",
- "systolic": 0,
- "systolic-color": "string",
- "time": "string",
- "time-local": "string",
- "tz-offset-mins": 0,
- "value": 0,
- "value-label": "string"
}
], - "summaries": [
- {
- "data": {
- "change": {
- "delta-label": "string",
- "delta-label-color": "string",
- "label": "string",
- "label-color": "string",
- "pct-changed": "string",
- "pct-changed-color": "string",
- "unit": "string",
- "unit-color": "string",
- "value": "string",
- "value-color": "string"
}, - "current": {
- "date": "string",
- "date-color": "string",
- "icon": "add",
- "icon-color": "string",
- "label": "string",
- "label-color": "string",
- "unit": "string",
- "unit-color": "string",
- "value": "string",
- "value-color": "string"
}, - "start": {
- "date": "string",
- "date-color": "string",
- "label": "string",
- "label-color": "string",
- "unit": "string",
- "unit-color": "string",
- "value": "string",
- "value-color": "string"
}, - "title": "string",
- "title-color": "string"
}, - "type": "summary_change"
}
]
}
], - "meta": {
- "end": "string",
- "next": {
- "range-label": "string",
- "start": "string"
}, - "next-start": "string",
- "page[limit]": 0,
- "page[offset]": 0,
- "page[total]": 0,
- "previous": {
- "range-label": "string",
- "start": "string"
}, - "previous-start": "string",
- "range-label": "string",
- "start": "string",
- "unit": "string",
- "value-keys": [
- "string"
]
}
}
/v2/charts/{id}/get-goal/
path Parameters
id required | string Resource identifier |
query Parameters
tz required | string (Timezone) <= 64 characters The tz database name of the current timezone of the user (e.g. "America/Los_Angeles") |
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
{- "data": {
- "current": {
- "color": "string",
- "context": "AFTER_MEAL",
- "context-label": "string",
- "diastolic": 0,
- "diastolic-color": "string",
- "group": "string",
- "local-time": "string",
- "max": 0,
- "mean": 0,
- "min": 0,
- "shape": "string",
- "source": "string",
- "source-display-name": "string",
- "state": "HIGH",
- "systolic": 0,
- "systolic-color": "string",
- "time": "string",
- "time-local": "string",
- "tz-offset-mins": 0,
- "value": 0,
- "value-label": "string"
}, - "goal": {
- "color": "string",
- "context": "AFTER_MEAL",
- "context-label": "string",
- "diastolic": 0,
- "diastolic-color": "string",
- "group": "string",
- "local-time": "string",
- "max": 0,
- "mean": 0,
- "min": 0,
- "shape": "string",
- "source": "string",
- "source-display-name": "string",
- "state": "HIGH",
- "systolic": 0,
- "systolic-color": "string",
- "time": "string",
- "time-local": "string",
- "tz-offset-mins": 0,
- "value": 0,
- "value-label": "string"
}, - "start": {
- "color": "string",
- "context": "AFTER_MEAL",
- "context-label": "string",
- "diastolic": 0,
- "diastolic-color": "string",
- "group": "string",
- "local-time": "string",
- "max": 0,
- "mean": 0,
- "min": 0,
- "shape": "string",
- "source": "string",
- "source-display-name": "string",
- "state": "HIGH",
- "systolic": 0,
- "systolic-color": "string",
- "time": "string",
- "time-local": "string",
- "tz-offset-mins": 0,
- "value": 0,
- "value-label": "string"
}
}, - "meta": { }
}
/v2/charts/{id}/get-readings/
path Parameters
id required | string Resource identifier |
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
tz required | string (Timezone) <= 64 characters The tz database name of the current timezone of the user (e.g. "America/Los_Angeles") |
all-sources | boolean Default: false When set and "source" is omitted, will show all sources instead of preferred source |
context | string Enum: "AFTER_MEAL" "BEDTIME" "BEFORE_MEAL" "FASTING" "FORMAL" "INFORMAL" "UNSPECIFIED" |
end | string <datetime> UTC end time for readings within range |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
reverse | boolean |
scope | string Enum: "30days" "3months" "day" "month" "week" "year" When omitted, both 'start' and 'end' must be provided. |
source | string <= 255 characters |
start | string <datetime> UTC start time for readings within the scope (or range) |
time | string <datetime> Arbitrary UTC timestamp to compute a "start" and "end" from, it defaults to current time |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "color": "string",
- "context": "AFTER_MEAL",
- "context-label": "string",
- "diastolic": 0,
- "diastolic-color": "string",
- "group": "string",
- "local-time": "string",
- "max": 0,
- "mean": 0,
- "min": 0,
- "shape": "string",
- "source": "string",
- "source-display-name": "string",
- "state": "HIGH",
- "systolic": 0,
- "systolic-color": "string",
- "time": "string",
- "time-local": "string",
- "tz-offset-mins": 0,
- "value": 0,
- "value-label": "string"
}
], - "meta": {
- "end": "string",
- "next": {
- "range-label": "string",
- "start": "string"
}, - "next-start": "string",
- "page[limit]": 0,
- "page[offset]": 0,
- "page[total]": 0,
- "previous": {
- "range-label": "string",
- "start": "string"
}, - "previous-start": "string",
- "range-label": "string",
- "start": "string",
- "unit": "string",
- "value-keys": [
- "string"
]
}
}
DEPRECATED: Use get-goal instead Deprecated
path Parameters
id required | string Resource identifier |
query Parameters
tz required | string (Timezone) <= 64 characters The tz database name of the current timezone of the user (e.g. "America/Los_Angeles") |
individual-id | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
Responses
Response samples
- 200
{- "data": {
- "current": {
- "color": "string",
- "context": "AFTER_MEAL",
- "context-label": "string",
- "diastolic": 0,
- "diastolic-color": "string",
- "group": "string",
- "local-time": "string",
- "max": 0,
- "mean": 0,
- "min": 0,
- "shape": "string",
- "source": "string",
- "source-display-name": "string",
- "state": "HIGH",
- "systolic": 0,
- "systolic-color": "string",
- "time": "string",
- "time-local": "string",
- "tz-offset-mins": 0,
- "value": 0,
- "value-label": "string"
}, - "goal": {
- "color": "string",
- "context": "AFTER_MEAL",
- "context-label": "string",
- "diastolic": 0,
- "diastolic-color": "string",
- "group": "string",
- "local-time": "string",
- "max": 0,
- "mean": 0,
- "min": 0,
- "shape": "string",
- "source": "string",
- "source-display-name": "string",
- "state": "HIGH",
- "systolic": 0,
- "systolic-color": "string",
- "time": "string",
- "time-local": "string",
- "tz-offset-mins": 0,
- "value": 0,
- "value-label": "string"
}, - "start": {
- "color": "string",
- "context": "AFTER_MEAL",
- "context-label": "string",
- "diastolic": 0,
- "diastolic-color": "string",
- "group": "string",
- "local-time": "string",
- "max": 0,
- "mean": 0,
- "min": 0,
- "shape": "string",
- "source": "string",
- "source-display-name": "string",
- "state": "HIGH",
- "systolic": 0,
- "systolic-color": "string",
- "time": "string",
- "time-local": "string",
- "tz-offset-mins": 0,
- "value": 0,
- "value-label": "string"
}
}, - "meta": { }
}
DEPRECATED Deprecated
Use get-readings instead
path Parameters
id required | string Resource identifier |
query Parameters
individual-id required | string <uuid> Example: individual-id=11111111-1111-1111-1111-111111111111 |
tz required | string (Timezone) <= 64 characters The tz database name of the current timezone of the user (e.g. "America/Los_Angeles") |
all-sources | boolean Default: false When set and "source" is omitted, will show all sources instead of preferred source |
context | string Enum: "AFTER_MEAL" "BEDTIME" "BEFORE_MEAL" "FASTING" "FORMAL" "INFORMAL" "UNSPECIFIED" |
end | string <datetime> UTC end time for readings within range |
organization-id | string <uuid> Example: organization-id=11111111-1111-1111-1111-111111111111 |
page[limit] | integer (PageLimit) [ 1 .. 1000 ] Default: 100 |
page[offset] | integer (PageOffset) >= 0 Default: 0 |
reverse | boolean |
scope | string Enum: "30days" "3months" "day" "month" "week" "year" When omitted, both 'start' and 'end' must be provided. |
source | string <= 255 characters |
start | string <datetime> UTC start time for readings within the scope (or range) |
time | string <datetime> Arbitrary UTC timestamp to compute a "start" and "end" from, it defaults to current time |
Responses
Response samples
- 200
{- "data": [
- {
- "color": "string",
- "context": "AFTER_MEAL",
- "context-label": "string",
- "diastolic": 0,
- "diastolic-color": "string",
- "group": "string",
- "local-time": "string",
- "max": 0,
- "mean": 0,
- "min": 0,
- "shape": "string",
- "source": "string",
- "source-display-name": "string",
- "state": "HIGH",
- "systolic": 0,
- "systolic-color": "string",
- "time": "string",
- "time-local": "string",
- "tz-offset-mins": 0,
- "value": 0,
- "value-label": "string"
}
], - "meta": {
- "end": "string",
- "next": {
- "range-label": "string",
- "start": "string"
}, - "next-start": "string",
- "page[limit]": 0,
- "page[offset]": 0,
- "page[total]": 0,
- "previous": {
- "range-label": "string",
- "start": "string"
}, - "previous-start": "string",
- "range-label": "string",
- "start": "string",
- "unit": "string",
- "value-keys": [
- "string"
]
}
}
/v2/individuals/{id}/add-reading-from-tile/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
required | object or object or object or object or object or object (ChartReadingSchema) | ||||||||||||||
One of
| |||||||||||||||
tz required | string (Timezone) <= 64 characters The tz database name of the current timezone of the user (e.g. "America/Los_Angeles") | ||||||||||||||
increment-metric | boolean Default: false | ||||||||||||||
organization-id | string <uuid> |
Responses
Request samples
- Payload
{- "increment-metric": false,
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "reading": {
- "context": "AFTER_MEAL",
- "input-unit": "string",
- "organization-id": "11111111-1111-1111-1111-111111111111",
- "source": "string",
- "time": "string",
- "type": "BloodGlucose",
- "value": 0
}, - "tz": "string"
}
Response samples
- 201
- 4XX
{- "data": [
- {
- "data": {
- "background-color": "string",
- "chart-type": "FeelingRating",
- "collapsed": true,
- "disclosure-color": "string",
- "options": [
- {
- "icon": "feeling_awful",
- "icon-color": "string",
- "text": "string",
- "value": 0
}
], - "placeholder": true,
- "title": "string",
- "title-color": "string"
}, - "type": "feeling_entry"
}
], - "meta": { }
}
/v2/individuals/{id}/delete-homefeed-log/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
entry-id required | string <uuid> |
entry-type required | string <= 64 characters |
Responses
Request samples
- Payload
{- "entry-id": "11111111-1111-1111-1111-111111111111",
- "entry-type": "string"
}
Response samples
- 201
- 4XX
{ }
/v2/individuals/{id}/get-all-tiles/
path Parameters
id required | string Resource identifier |
query Parameters
tz required | string (Timezone) <= 64 characters The tz database name of the current timezone of the user (e.g. "America/Los_Angeles") |
count | integer [ 0 .. 10 ] Default: 5 Number of tiles with actual data, the rest will be placeholders |
include-new | boolean Default: false Include ActiveTime and all chart types added after Jan 28, 2020 |
include-others | boolean Default: false |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "other-tiles": [
- {
- "data": {
- "background-color": "string",
- "chart-type": "FeelingRating",
- "collapsed": true,
- "disclosure-color": "string",
- "options": [
- {
- "icon": "feeling_awful",
- "icon-color": "string",
- "text": "string",
- "value": 0
}
], - "placeholder": true,
- "title": "string",
- "title-color": "string"
}, - "type": "feeling_entry"
}
], - "pinned-tiles": [
- {
- "data": {
- "background-color": "string",
- "chart-type": "FeelingRating",
- "collapsed": true,
- "disclosure-color": "string",
- "options": [
- {
- "icon": "feeling_awful",
- "icon-color": "string",
- "text": "string",
- "value": 0
}
], - "placeholder": true,
- "title": "string",
- "title-color": "string"
}, - "type": "feeling_entry"
}
]
}, - "meta": { }
}
/v2/individuals/{id}/get-chart-data/
path Parameters
id required | string Resource identifier |
query Parameters
chart-types required | Array of strings (ChartType) Items Enum: "ActiveEnergyBurned" "ActiveTime" "Auscultation" "BloodGlucose" "BloodPressure" "BodyFatPercentage" "BodyMass" "BodyMassIndex" "BodyMassLean" "BodyTemperature" "Distance" "FeelingRating" "ForcedExpiratoryVolume" "HbA1c" "Height" "Hematocrit" "Hemoglobin" "Mindfulness" "OxygenSaturation" "PeakFlow" "PeriodicPulse" "PotassiumLevel" "Pulse" "SkinTemperature" "SleepAnalysis" "Steps" "Vo2Max" "WaistCircumference" "WaterIntake" Explicit types being requested |
date required | string <date> the day for which you want data |
tz required | string (Timezone) <= 64 characters The tz database name of the current timezone of the user (e.g. "America/Los_Angeles") |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "chart-type": "ActiveEnergyBurned",
- "title": "string",
- "unit": "string",
- "unit2": "string",
- "value": "string",
- "value2": "string"
}
]
}
/v2/individuals/{id}/get-devices/
path Parameters
id required | string Resource identifier |
query Parameters
filter[connected] required | boolean |
includes | Array of strings Items Enum: "alio" "ble" "bodytrace" "carium" "dexcom" "fitbit" "garmin" "googlefit" "healthkit" "marsonik" "omron" "smartmeter" "tenovi" "transtek" |
Responses
Response samples
- 200
{- "data": [
- {
- "ble-info": {
- "connected-time": "string",
- "id": "string",
- "last-data-time": "string",
- "last-event-time": "string",
- "model": "string"
}, - "carium-info": {
- "app-version": "string",
- "model": "string",
- "os-version": "string",
- "source": "android",
- "time": "string"
}, - "logo-url-png": "string",
- "lte-info": {
- "created-at": "string",
- "device-id": "string",
- "device-model": "string",
- "id": "string",
- "imei": "string",
- "last-data-time": "string",
- "last-event-time": "string"
}, - "manufacturer": "string",
- "oauth-info": {
- "allow-disconnect": true,
- "connection-time": "string",
- "error-state": {
- "code": "string",
- "display": "string",
- "timestamp": "string"
}, - "has-oauth": true,
- "last-collection-time": "string",
- "last-data-time": "string",
- "logo-url-png": "string",
- "name": "alio",
- "scopes": [
- {
- "authorized": true,
- "display": "string",
- "last-timestamp": "string",
- "name": "string"
}
]
}, - "type": "blood-pressure-cuff"
}
]
}
/v2/individuals/{id}/get-quick-add-types/
path Parameters
id required | string Resource identifier |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "title": "string",
- "types": [
- {
- "data": {
- "cancel-label": "string",
- "icon-background-color": "string",
- "icon-name": "activeClock",
- "initial-value": { },
- "save-label": "string",
- "schema": {
- "additionalProperties": true,
- "layout": {
- "data": {
- "columnGap": "string",
- "rowGap": "string",
- "templateColumns": "string",
- "templateRows": "string"
}, - "type": "grid"
}, - "limits": [
- {
- "error": "string",
- "lhs": "string",
- "op": "<",
- "rhs": "string"
}
], - "order": [
- "string"
], - "properties": {
- "property1": {
- "items": {
- "choiceType": null,
- "condition": null,
- "default": null,
- "enum": [ ],
- "enumLabels": [ ],
- "enumLocalizedLabels": [ ],
- "exclusiveMaximum": null,
- "exclusiveMinimum": null,
- "format": null,
- "hideOptionalLabel": null,
- "layout": null,
- "maximum": null,
- "minimum": null,
- "readOnly": null,
- "title": null,
- "titles": null,
- "type": null
}, - "type": "array"
}, - "property2": {
- "items": {
- "choiceType": null,
- "condition": null,
- "default": null,
- "enum": [ ],
- "enumLabels": [ ],
- "enumLocalizedLabels": [ ],
- "exclusiveMaximum": null,
- "exclusiveMinimum": null,
- "format": null,
- "hideOptionalLabel": null,
- "layout": null,
- "maximum": null,
- "minimum": null,
- "readOnly": null,
- "title": null,
- "titles": null,
- "type": null
}, - "type": "array"
}
}, - "required": [
- "string"
], - "sections": [
- {
- "collapsed": true,
- "layout": {
- "data": { },
- "type": null
}, - "order": [
- null
], - "title": "string",
- "titles": {
- "en_US": null,
- "es_US": null
}
}
], - "type": "object"
}, - "title": "string",
- "type": "ActiveEnergyBurned",
- "unit": {
- "display-plural": "string",
- "display-singular": "string",
- "value": "string"
}
}, - "type": "chart"
}
]
}
]
}
/v2/individuals/{id}/get-tiles/
path Parameters
id required | string Resource identifier |
query Parameters
chart-types required | Array of strings[ items <= 255 characters ] Explicit tiles being requested |
tz required | string (Timezone) <= 64 characters The tz database name of the current timezone of the user (e.g. "America/Los_Angeles") |
Responses
Response samples
- 200
- 4XX
{- "data": [
- {
- "data": {
- "background-color": "string",
- "chart-type": "FeelingRating",
- "collapsed": true,
- "disclosure-color": "string",
- "options": [
- {
- "icon": "feeling_awful",
- "icon-color": "string",
- "text": "string",
- "value": 0
}
], - "placeholder": true,
- "title": "string",
- "title-color": "string"
}, - "type": "feeling_entry"
}
], - "meta": { }
}
/v2/individuals/{id}/pin-feature/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
name required | string (PinnableFeature) Enum: "actions" "appointments" "care-plans" "challenges" "journal" "learning" "medications" "nutrition" "test-results" "todos" |
Responses
Request samples
- Payload
{- "name": "actions"
}
Response samples
- 201
- 4XX
{ }
/v2/individuals/{id}/start-quick-add-interview/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
id | string <uuid> |
Responses
Request samples
- Payload
{- "id": "11111111-1111-1111-1111-111111111111"
}
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "active-question-id": "11111111-1111-1111-1111-111111111111",
- "blocking": true,
- "created-at": "string",
- "created-by": "11111111-1111-1111-1111-111111111111",
- "expired-at": "string",
- "individual": {
- "birth-date": "2019-08-24",
- "first-name": "string",
- "id": "11111111-1111-1111-1111-111111111111",
- "last-name": "string",
- "verified": true
}, - "individual-id": "11111111-1111-1111-1111-111111111111",
- "profile-can-retake": true,
- "profile-description": "string",
- "profile-display-name": "string",
- "profile-id": "11111111-1111-1111-1111-111111111111",
- "profile-name": "string",
- "profile-type": "general",
- "questions": [
- {
- "attributes": {
- "answer": {
- "at": "string",
- "by": "11111111-1111-1111-1111-111111111111",
- "interpreted-value": "string",
- "value": "string"
}, - "answer-options": { },
- "answer-type": "calendar",
- "created-at": "string",
- "has-next": true,
- "has-previous": true,
- "name": "string",
- "question": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "interview-questions"
}
], - "simulation-owner-id": "11111111-1111-1111-1111-111111111111",
- "state": "created",
- "title": "string",
- "version": "string",
- "workflow-id": "11111111-1111-1111-1111-111111111111",
- "workflow-version": "string",
- "workflowtype-id": "11111111-1111-1111-1111-111111111111",
- "workflowtype-name": "string"
}, - "id": "11111111-1111-1111-1111-111111111111",
- "type": "interviews"
}
}
/v2/individuals/{id}/unpin-feature/
path Parameters
id required | string Resource identifier |
Request Body schema: application/json
name required | string (PinnableFeature) Enum: "actions" "appointments" "care-plans" "challenges" "journal" "learning" "medications" "nutrition" "test-results" "todos" |
Responses
Request samples
- Payload
{- "name": "actions"
}
Response samples
- 201
- 4XX
{ }
/v2/translations/{id}/
path Parameters
id required | string Resource identifier |
query Parameters
app-version required | string <= 32 characters |
last-modified required | string <datetime> |
platform required | string Enum: "android" "ios" "web" |
Responses
Response samples
- 200
- 4XX
{- "data": {
- "attributes": {
- "last-modified-at": "string",
- "options": {
- "chart-scopes": [
- {
- "name": "string",
- "value": "string"
}
], - "feeling-ratings": [
- {
- "name": "string",
- "value": "string"
}
], - "genders": [
- {
- "name": "string",
- "value": "string"
}
], - "glucose-contexts": [
- {
- "name": "string",
- "value": "string"
}
], - "marital-statuses": [
- {
- "name": "string",
- "value": "string"
}
], - "mindfulness-contexts": [
- {
- "name": "string",
- "value": "string"
}
], - "sleep-states": [
- {
- "name": "string",
- "value": "string"
}
], - "timezones": [
- {
- "name": "string",
- "value": "string"
}
], - "us-states": [
- {
- "name": "string",
- "value": "string"
}
]
}, - "strings": { }
}, - "id": "string",
- "type": "ui-translations"
}, - "meta": { }
}