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. article-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
    • create new user's question
    • update user's question
    • get list of all user's questions
    • get user's question detail by id
  1. article-controller

readDetailArticle

GET
/article/read/{postId}
article-controller

Request

Path Params
postId
integer 
required
postId

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 '/article/read/'

Responses

🟢200OK
application/json
Body
code
integer <int32>
optional
data
object (WeeklyArticleResponse) 
optional
author
object (AuthorDTO) 
optional
content
string 
optional
favorited
boolean 
optional
id
integer <int64>
optional
likeTotal
integer <int32>
optional
publishedDate
string <date-time>
optional
shareTotal
integer <int32>
optional
slug
string 
optional
tag
string 
optional
tagColor
string 
optional
tagId
integer <int64>
optional
thumbnail
string 
optional
title
string 
optional
viewTotal
integer <int32>
optional
message
string 
optional
Example
{
    "code": 0,
    "data": {
        "author": {
            "avatar": "string",
            "name": "string",
            "title": "string"
        },
        "content": "string",
        "favorited": true,
        "id": 0,
        "likeTotal": 0,
        "publishedDate": "2019-08-24T14:15:22Z",
        "shareTotal": 0,
        "slug": "string",
        "tag": "string",
        "tagColor": "string",
        "tagId": 0,
        "thumbnail": "string",
        "title": "string",
        "viewTotal": 0
    },
    "message": "string"
}
Modified at 2023-01-23 06:59:19
Previous
readDetailArticleV2
Next
getWeeklyRecomendedArticle
Built with