health profile question
Get a health profile question
Changed onGet a health profile by id
get/health_profile_question/{id}
Request
- Base URLhttps://api.twinehealth.com/pub
- Authnone declared
Path parameters
idstring required
Health profile question identifier
Query parameters
include'question_definition' | 'answer'
List of related resources to include in the response
Response
OK
Example response
{
"data": {
"type": "health_profile_question",
"id": "52b36e3c04ad8c2224f2aa67",
"attribute": {},
"relationships": {
"answer": {
"data": {
"id": "595fddea28c5041b84466bbe",
"type": "health_profile_answer"
},
"links": {
"related": "/pub/health_profile_question/59d435931d078505ba744e88/answer"
}
},
"profile": {
"links": {
"related": "/pub/health_profile_question/59d435931d078505ba744e88/profile"
}
},
"question_definition": {
"data": {
"id": "4",
"type": "health_question_definition"
},
"links": {
"related": "/pub/health_profile_question/59d435931d078505ba744e88/question_definition"
}
}
},
"links": {
"self": "/pub/health_profile_question/59d435931d078505ba744e88"
}
}
}Changes
- info
added the new optional
queryrequest parameterinclude
- info
- info
endpoint added
- info