- 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 list of featured articles by mode
GET
/article/article-overview/featured
article-controller
Request
Query Params
mode
string
optional
page
integer
optional
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/article-overview/featured'
Responses
🟢200OK
application/json
Body
code
integer <int32>
optional
data
object (SubCategoryDTO)
optional
articles
array[object (WeeklyArticleResponse) {14}]
optional
id
integer <int64>
optional
name
string
optional
page
object (PageDTO)
optional
userArticleActivity
object (ArticleActivityResponse)
optional
message
string
optional
Example
{
"code": 0,
"data": {
"articles": [
{
"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
}
],
"id": 0,
"name": "string",
"page": {
"currentPage": 0,
"nextPage": 0,
"prevPage": 0,
"totalElement": 0,
"totalPage": 0
},
"userArticleActivity": {
"likeTotal": 0,
"shareTotal": 0,
"viewTotal": 0
}
},
"message": "string"
}
Modified at 2023-01-23 06:59:19