feat:添加按照点赞数的feed流
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"info": {
|
||||
"name": "FeedSystem Feed API",
|
||||
"_postman_id": "4c2fd555-b880-4b14-8023-55a944936352",
|
||||
"description": "Feed endpoints without embedded scripts.",
|
||||
"description": "Feed endpoints.\n\nPagination:\n- /feed/listLatest: copy response.next_time into feedLatestTime\n- /feed/listLikesCount: copy response.next_likes_count_before into feedLikesCountBefore",
|
||||
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
|
||||
},
|
||||
"item": [
|
||||
@@ -21,11 +21,28 @@
|
||||
"path": ["feed", "listLatest"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "List Feed By Likes Count",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"header": [{ "key": "Content-Type", "value": "application/json" }],
|
||||
"body": {
|
||||
"mode": "raw",
|
||||
"raw": "{\n \"limit\": {{feedLimit}},\n \"likes_count\": {{feedLikesCountBefore}}\n}"
|
||||
},
|
||||
"url": {
|
||||
"raw": "{{host}}/feed/listLikesCount",
|
||||
"host": ["{{host}}"],
|
||||
"path": ["feed", "listLikesCount"]
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"variable": [
|
||||
{ "key": "host", "value": "http://localhost:8080" },
|
||||
{ "key": "feedLimit", "value": "10" },
|
||||
{ "key": "feedLatestTime", "value": "0" }
|
||||
{ "key": "feedLatestTime", "value": "0" },
|
||||
{ "key": "feedLikesCountBefore", "value": "0" }
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user