get https://api.humanapi.co/v1/human/sources
The Sources endpoint returns the synchronization status of the different sources that a specific user has connected.
Response Properties
Property | Type | Description |
---|---|---|
source | String | id of the connected source (all lowercase, no spaces) |
supportedDataTypes | Array[String] | (Deprecated) List of data types supported by the source |
devices | Array[String] | (Deprecated) List of devices or medical source id (when available) |
id | String | Non-unique id for an external data account |
connectedSince | Date | Date that the source was connected to Human API |
sourceName | String | Name of medical or wellness source |
historySync | Object | (optional) See historySync object. Only available for medical sources |
syncStatus | Object | (optional) See syncStatus object. Only available for medical sources |
resync | Object | (optional) See resync object. Only available for medical sources |
organization | Object | See organization object |
expectedSyncDuration | Decimal | (optional) In minutes, the time-to-data for the connected medical account. Can be "null" value too. |
historySync Object
Property | Type | Description |
---|---|---|
status | String | Status of the historical sync |
oldestDate | Date | Oldest date of the data retrieved from the service |
For some services, "oldestDate" is just an indication of how far back the synchronization tasks attempted to retrieve data.
syncStatus Object
Property | Type | Description |
---|---|---|
status | String | Status of the most recent sync |
synchedAt | Date | The last time the synchronization task ran for this user |
newestDate | Date | (Deprecated) The timestamp of the most recently retrieved data |
details | String | Identifies details about the status property when appropriate |
What are the possible syncStatus values?
For more information, please see this reference doc.
resync Object
Property | Type | Description |
---|---|---|
active | Boolean | Identifies if the medical provider source in general has continuous capability (note: does not identify if this connected account will re-sync) |