Artikel Service
HomeArtikel Service
Api Reference
  • Artikel Controller
  • File Controller
  • Migration Controller
  • Milestone Controller
  • Q&A Controller
Changelog Release
HomeArtikel Service
Api Reference
  • Artikel Controller
  • File Controller
  • Migration Controller
  • Milestone Controller
  • Q&A Controller
Changelog Release
  1. question-and-ask-controller
  • Introduction
  • Changelog Release
  • Local Development
  • Artikel Docs
    • Artikel Controller Docs
    • File Controller Docs
  • article-controller
    • getArticleDiscovery
      GET
    • get user's list of viewed / liked articles
      GET
    • getTaxonomies
      GET
    • get list of featured articles by mode
      GET
    • getListSubCategory
      GET
    • get list of curated article by week
      GET
    • bulk index all published article to elastic search
      GET
    • delete all indexed article in elastic search
      DELETE
    • like / unlike an article
      POST
    • get article by slug and increase read counter
      GET
    • readDetailArticleV2
      GET
    • readDetailArticle
      GET
    • getWeeklyRecomendedArticle
      GET
    • get list of articles related to specific article by slug
      GET
    • get list of articles related to specific article by id
      GET
    • search (return list of articles related to) in all user's liked articles by term
      GET
    • search (return list of articles related to) in all articles by term
      GET
    • get url for sharing an article by id
      GET
    • get list of all article slug
      GET
    • getArticleOverviewSubCategory
      GET
    • getWeeklyTipsArticle
      GET
    • get list of user's activity (view, like, and share article)
      GET
    • getArticleByCategoryParent
      GET
    • getWeeklyRandomText
      GET
  • file-controller
    • streamPrivateData
  • migration-controller
    • testMigrateDev
  • milestone-controller
    • get list of baby milestones by month
    • get list of pregnancy milestones by week
  • question-and-ask-controller
    • get list of all specialists
      GET
    • create new user's question
      POST
    • update user's question
      POST
    • get list of all user's questions
      GET
    • get user's question detail by id
      GET
  1. question-and-ask-controller

create new user's question

POST
/qna/submit-question
question-and-ask-controller

Request

Body Params multipart/form-data
doctorId
integer 
required
targeted doctor
files
file 
optional
list of image files for the question
question
string 
required
content of question

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 POST '/qna/submit-question' \
--form 'doctorId=""' \
--form 'question=""'

Responses

🟢200OK
application/json
Body
code
integer <int32>
optional
data
object 
optional
message
string 
optional
Example
{
    "code": 0,
    "data": {},
    "message": "string"
}
Modified at 2023-01-23 06:59:19
Previous
get list of all specialists
Next
update user's question
Built with