v1

latestOpenAPI 3.0.02026-08-04265791.1 MB
Questions

Get

Get a question for the given id.

get/public/api/questions/{id}

Path parameters

idstring required

The id of the question

Headers

Acceptstring

e.g. application/json

Response

OK

question_idstring
titlestring
user_idstring
is_wikiboolean
likesnumber
created_datestring
updated_datestring

Example response

{
  "question_id": "634925735aa7ab001df22cda",
  "title": "new article test",
  "user_id": "63482186d676de001d29288b",
  "is_wiki": true,
  "likes": 1,
  "created_date": "2022-10-14T09:01:39.744Z",
  "updated_date": "2022-10-18T09:33:29.552Z"
}