- Introduction
- Changelog Release
- Local Development
- Artikel Docs
- article-controller
- getArticleDiscoveryGET
- get user's list of viewed / liked articlesGET
- getTaxonomiesGET
- get list of featured articles by modeGET
- getListSubCategoryGET
- get list of curated article by weekGET
- bulk index all published article to elastic searchGET
- delete all indexed article in elastic searchDELETE
- like / unlike an articlePOST
- get article by slug and increase read counterGET
- readDetailArticleV2GET
- readDetailArticleGET
- getWeeklyRecomendedArticleGET
- get list of articles related to specific article by slugGET
- get list of articles related to specific article by idGET
- search (return list of articles related to) in all user's liked articles by termGET
- search (return list of articles related to) in all articles by termGET
- get url for sharing an article by idGET
- get list of all article slugGET
- getArticleOverviewSubCategoryGET
- getWeeklyTipsArticleGET
- get list of user's activity (view, like, and share article)GET
- getArticleByCategoryParentGET
- getWeeklyRandomTextGET
- file-controller
- migration-controller
- milestone-controller
- question-and-ask-controller
get user's question detail by id
GET
/qna/user-question/{questionId}
question-and-ask-controller
Request
Path Params
questionId
integer
required
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/qna/user-question/'
Responses
🟢200OK
application/json
Body
code
integer <int32>
optional
data
object (QuestionResponse)
optional
answer
string
optional
answeredDate
string <date-time>
optional
attachments
array[object (ImageResponse) {2}]
optional
avatarDoctor
string
optional
question
string
optional
questionDate
string <date-time>
optional
questionId
integer <int64>
optional
repliedById
integer <int64>
optional
repliedByName
string
optional
status
string
optional
titleDoctor
string
optional
message
string
optional
Example
{
"code": 0,
"data": {
"answer": "string",
"answeredDate": "2019-08-24T14:15:22Z",
"attachments": [
{
"id": 0,
"url": "string"
}
],
"avatarDoctor": "string",
"question": "string",
"questionDate": "2019-08-24T14:15:22Z",
"questionId": 0,
"repliedById": 0,
"repliedByName": "string",
"status": "string",
"titleDoctor": "string"
},
"message": "string"
}
Modified at 2023-01-23 06:59:19