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

get list of all user's questions

GET
/qna/user-question
question-and-ask-controller

Request

Query Params
filter
string 
optional
ANSWERED/WAITING_RESPONSE
orderBy
string 
optional
ASC/DESC
page
integer 
optional
page

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 (PageResponse«List«QuestionResponse»») 
optional
content
array[object (QuestionResponse) {11}] 
optional
page
object (PageDTO) 
optional
message
string 
optional
Example
{
    "code": 0,
    "data": {
        "content": [
            {
                "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"
            }
        ],
        "page": {
            "currentPage": 0,
            "nextPage": 0,
            "prevPage": 0,
            "totalElement": 0,
            "totalPage": 0
        }
    },
    "message": "string"
}
Modified at 2023-01-23 06:59:19
Previous
update user's question
Next
get user's question detail by id
Built with