- 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
readDetailArticle
GET
/article/read/{postId}
article-controller
Request
Path Params
postId
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 '/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