GET /users/:id/skin_profile/unanswered

GET /users/{id}/skin_profile/unanswered

Returns an array of unanswered survey questions for user.

Path parameters

  • id integer(int64) Required

    ID of the resource to fetch

Responses

  • 200

    successful operation

    Hide response attribute Show response attribute object
  • 400

    Bad Request

  • 401

    Authorization information is missing or invalid.

  • 422

    Unprocessable Entity

  • 500

    Server Error

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."
      }
    ]
  }
}