health question definition
List health question definitions
Changed onGet a list of all health question definitions
get/health_question_definition
Request
- Base URLhttps://api.twinehealth.com/pub
- Authnone declared
Response
OK
Example response
{
"data": [
{
"type": "health_question_definition",
"id": "21",
"attributes": {
"category": "preventative_care",
"format": {
"data": [
{
"label": "I Don't know",
"value": "0"
},
{
"label": "I've never had a colonoscopy",
"value": "1"
}
],
"type": "last_occurrence"
},
"requirements": [
{
"property": "age",
"shouldBeGreaterThan": 49,
"shouldBeLessThan": 76
}
],
"text": "When was your last colonoscopy?"
},
"links": {
"self": "/pub/health_question_definition/21"
}
}
]
}Changes
- info
endpoint added
- info