Update article/info.md (#579)

* fix note info format

* Update info.md

* Update info.md
This commit is contained in:
z0z0r4 2023-01-14 11:46:07 +08:00 committed by GitHub
parent c19ff57591
commit 3f7d877afc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,9 @@
| in_list | bool | 是否收于文集 | false<br />true是 | | in_list | bool | 是否收于文集 | false<br />true是 |
| pre | num | 上一篇文章cvid | 无为0 | | pre | num | 上一篇文章cvid | 无为0 |
| next | num | 下一篇文章cvid | 无为0 | | next | num | 下一篇文章cvid | 无为0 |
| share_channels | array | 分享方式列表 | | | share_channels | array | 分享方式列表 | |
| type | num | 文章类别 | 0文章<br />2笔记 |
`stats`对象: `stats`对象:
@ -111,59 +113,73 @@ curl -G 'http://api.bilibili.com/x/article/viewinfo' \
```json ```json
{ {
"code": 0, "code": 0,
"message": "0", "message": "0",
"ttl": 1, "ttl": 1,
"data": { "data": {
"like": 1, "like": 0,
"attention": true, "attention": false,
"favorite": false, "favorite": false,
"coin": 0, "coin": 0,
"stats": { "stats": {
"view": 317712, "view": 1072619,
"favorite": 3249, "favorite": 5481,
"like": 10176, "like": 16465,
"dislike": 0, "dislike": 0,
"reply": 1333, "reply": 1865,
"share": 302, "share": 351,
"coin": 2002, "coin": 3436,
"dynamic": 28 "dynamic": 37
}, },
"title": "专栏行为准则 ", "title": "专栏行为准则 ",
"banner_url": "https://i0.hdslb.com/bfs/article/131b1d41b857d5308f5bff36591d117bddc48d96.jpg@90p.webp", "banner_url": "https://i0.hdslb.com/bfs/article/131b1d41b857d5308f5bff36591d117bddc48d96.jpg@90p.webp",
"mid": 144900660, "mid": 144900660,
"author_name": "专栏小天使", "author_name": "专栏小天使",
"is_author": true, "is_author": true,
"image_urls": ["https://i0.hdslb.com/bfs/article/0a72422ce8e77d8512f010d93b1b7f9bc4e64e52.jpg"], "image_urls": [
"origin_image_urls": ["https://i0.hdslb.com/bfs/article/131b1d41b857d5308f5bff36591d117bddc48d96.jpg"], "https://i0.hdslb.com/bfs/article/0a72422ce8e77d8512f010d93b1b7f9bc4e64e52.jpg"
"shareable": true, ],
"show_later_watch": true, "origin_image_urls": [
"show_small_window": true, "https://i0.hdslb.com/bfs/article/131b1d41b857d5308f5bff36591d117bddc48d96.jpg"
"in_list": false, ],
"pre": 115914, "shareable": true,
"next": 38575, "show_later_watch": true,
"share_channels": [{ "show_small_window": true,
"name": "QQ", "in_list": false,
"picture": "https://i0.hdslb.com/bfs/album/114ccfb3a999df9c4d11f274c8c61a804c8f8803.png", "pre": 115914,
"share_channel": "QQ" "next": 38575,
}, { "share_channels": [
"name": "QQ空间", {
"picture": "https://i0.hdslb.com/bfs/album/30e9608bbce725bca45b5910866f60ab4d5e18b3.png", "name": "QQ",
"share_channel": "QZONE" "picture": "https://i0.hdslb.com/bfs/album/114ccfb3a999df9c4d11f274c8c61a804c8f8803.png",
}, { "share_channel": "QQ"
"name": "微信", },
"picture": "https://i0.hdslb.com/bfs/album/658af3c22431cd78bb7c50be3394f7c032eba12c.png", {
"share_channel": "WEIXIN" "name": "QQ空间",
}, { "picture": "https://i0.hdslb.com/bfs/album/30e9608bbce725bca45b5910866f60ab4d5e18b3.png",
"name": "朋友圈", "share_channel": "QZONE"
"picture": "https://i0.hdslb.com/bfs/album/c1ebcec8c5302f29f792d15f04e0d6dcef53ec27.png", },
"share_channel": "WEIXIN_MONMENT" {
}, { "name": "微信",
"name": "微博", "picture": "https://i0.hdslb.com/bfs/album/658af3c22431cd78bb7c50be3394f7c032eba12c.png",
"picture": "https://i0.hdslb.com/bfs/album/3707fc23f7d3e24022712320284b0de9aa78c87d.png", "share_channel": "WEIXIN"
"share_channel": "SINA" },
}] {
} "name": "朋友圈",
"picture": "https://i0.hdslb.com/bfs/album/c1ebcec8c5302f29f792d15f04e0d6dcef53ec27.png",
"share_channel": "WEIXIN_MONMENT"
},
{
"name": "微博",
"picture": "https://i0.hdslb.com/bfs/album/3707fc23f7d3e24022712320284b0de9aa78c87d.png",
"share_channel": "SINA"
}
],
"type": 0,
"video_url": "",
"location": "",
"disable_share": false
}
} }
``` ```