GET /users/:id/skin_profile/unanswered
Returns an array of unanswered survey questions for user.
Path parameters
-
ID of the resource to fetch
GET /users/{id}/skin_profile/unanswered
curl \
-X GET https://api.cosmily.com/api/v1/users/{id}/skin_profile/unanswered \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": {
"name": "routine_time_commitment",
"display": "How much time do you set aside to take care of your skin before bed?",
"answers": [
{
"val": "short",
"display": "Less than 5 minutes."
},
{
"val": "medium",
"display": "5 to 10 minutes."
},
{
"val": "long",
"display": "More than 10 minutes."
}
]
}
}
Response examples (200)
{
"data": {
"name": "routine_time_commitment",
"display": "How much time do you set aside to take care of your skin before bed?",
"answers": [
{
"val": "short",
"display": "Less than 5 minutes."
},
{
"val": "medium",
"display": "5 to 10 minutes."
},
{
"val": "long",
"display": "More than 10 minutes."
}
]
}
}