Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## master #104 +/- ##
========================================
- Coverage 98.2% 98.0% -0.2%
========================================
Files 75 79 +4
Lines 3151 3415 +264
========================================
+ Hits 3095 3348 +253
- Misses 56 67 +11
Continue to review full report at Codecov.
|
Contributor
|
评论API先等等吧,社区相关的API都还没决定怎么响应 |
Closed
trim21
requested changes
Jan 31, 2022
trim21
requested changes
Feb 7, 2022
trim21
reviewed
Feb 7, 2022
Co-authored-by: Trim21 <[email protected]>
trim21
reviewed
Feb 7, 2022
trim21
reviewed
Feb 7, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
获取目录信息
GET
/v0/indices/{index_id}响应:
{ "id": 15045, "title": "日本动画最高收视率TOP100", "desc": "[url]http://www.tudou.com/programs/view/W6eIoxnHs6g/[/url]\r\n有美国动画混入,所以准确的说是在日本播放的动画最高收视率(而且是关东地区的\r\n基本大部分是70年代的,那个年代娱乐贫乏优势真大", "total": 101, "stat": { "comments": 8, "collects": 96 }, "created_at": "2012-11-08T09:23:16+00:00", "creator": { "username": "14127", "nickname": "nickname 14127" }, "ban": false }close #
获取目录条目
GET
/v0/indices/{index_id}/subjectsrequest parameters:
type: int
limit: int
offset: int
响应:
{ "total": 101, "limit": 30, "offset": 0, "data": [{ "id": 32585, "type": 2, "name": "", "images": null, "infobox": null, "date": "2022-01-24", "comment": "3位 39.4", "added_at": "2012-11-08T13: 47: 24+00: 00" }] }close #