Answers

Get All

Get all the answers.

get/public/api/answers?filter={filter}

Query parameters

filterstring

A valid JSON filter object

Headers

Acceptstring

e.g. application/json

Request body

Example request

{
  "Authorization": {
    "Authorization": "Bearer JWT"
  }
}

Response

OK

Example response

{
  "paging": {
    "skip": 0,
    "limit": 3,
    "total": 2000
  },
  "data": [
    {
      "answer_id": "63459c260a1b6d001dc60f8e",
      "question_id": "6343ee166c8a0e001de9bd7f",
      "user_id": "5e272f12e1d5f2003ad7afe6",
      "text": "Comment",
      "likes": 1,
      "created_date": "2022-10-11T16:39:02.900Z",
      "updated_date": "2022-10-11T16:41:28.566Z"
    },
    {
      "answer_id": "63459c679693060027345b91",
      "question_id": "6343ee166c8a0e001de9bd7f",
      "user_id": "5e1356f0c5f0e0003d305072",
      "text": "Comm",
      "likes": 10,
      "created_date": "2022-10-11T16:40:07.994Z",
      "updated_date": "2022-10-11T16:40:16.175Z"
    },
    {
      "answer_id": "63459b240a1b6d001dc60c48",
      "question_id": "63453bd184b108002a5166ae",
      "user_id": "5e1356f0c5f0e0003d305072",
      "text": "@Hq2 mention from web",
      "created_date": "2022-10-11T16:34:44.892Z",
      "updated_date": "2022-10-11T16:34:44.892Z"
    }
  ]
}

Changes

No recorded changes to this endpoint across all 6 revisions of this API.