Components

Get a single health data component

get/studies/{studyId}/components/health-data/{componentId}

Request

  • Base URL: http://localhost:8080/api/v0
  • URL: http://localhost:8080/api/v0/studies/{studyId}/components/health-data/{componentId}
  • Auth: HTTP bearer

Path parameters

studyIdstring uuid required
componentIdstring uuid required

Response

The health data component

idstring uuid required
namestring required

Display name for the component

Example response

{
  "data": {
    "sampleTypes": [
      "HKQuantityType;HKQuantityTypeIdentifierHeartRate",
      "HKQuantityType;HKQuantityTypeIdentifierStepCount",
      "HKCategoryType;HKCategoryTypeIdentifierSleepAnalysis"
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.