Question

Module endpoints

DELETE /questions/:id

DELETE http://api.slyk.io/questions/:id

Deletes the question with given id.

204 No Content

GET /questions

GET https://api.slyk.io/questions

Returns a paginated list of questions.

GET /questions/:id

GET https://api.slyk.io/questions/:id

Gets the question details of the given id.

{
  "data": {
      "configurations": { "values": ["39-40", "40-41"] },
      "createdAt": "2020-08-10T10:00:00.000Z",
      "customData": {},
      "description": "Boot size by number",
      "id": "fc78d28f-a8dd-49de-a22f-722fe3bd26c2",
      "metadata": {},
      "productTypeCode": "physical",
      "required": true,
      "title": "Boot size",
      "typeCode": "single",
      "updatedAt": "2020-08-10T10:00:00.000Z"
    }
}

GET /question-types

GET https://api.slyk.io/question-types

Returns a paginated list of question types.

PATCH /questions/:id

PATCH https://api.slyk.io/questions/:id

Patches the questions details of the given id.

POST /questions

POST https://api.slyk.io/questions

Creates a new question.

Last updated