查看版面
GET
/showf
1.
例如:图片 CDN 地址为 https://image.nmb.best/
img 为 2022-06-18/62acedc59ef24
ext 为 .png
则图片地址为 https://image.nmb.best/image/2022-06-18/62acedc59ef24.png
缩略图地址为 https://image.nmb.best/thumb/2022-06-18/62acedc59ef24.png
2.
3.
请求参数
Query 参数
id
number
版面ID
示例值:
4
page
number
页数 默认为1
示例值:
1
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.nmb.best/api/showf?id=4&page=1'
返回响应
🟢200成功
application/json
Body
array of:
id
integer
串ID
fid
integer
版面ID
ReplyCount
integer
回复数量
img
string
图片的相对地址
ext
string
图片的扩展名
now
string
发串时间
user_hash
string
饼干/红名名称
name
string
名称,一般为无名氏
title
string
标题
content
string
串内容(HTML)
sage
integer
必需
admin
integer
必需
Hide
integer
必需
Replies
array [object {13}]
必需
id
integer
必需
fid
integer
必需
ReplyCount
integer
必需
img
string
必需
ext
string
必需
now
string
必需
user_hash
string
必需
name
string
必需
title
string
必需
content
string
必需
sage
integer
必需
admin
integer
必需
Hide
integer
必需
RemainReplies
integer
必需
示例
[
{
"id": 50000002,
"fid": 4,
"ReplyCount": 258,
"img": "2022-06-18/62acedc59ef24",
"ext": ".png",
"now": "2022-06-18(六)05:10:29",
"user_hash": "Admin",
"name": "无名氏",
"title": "无标题",
"content": "• 好久不见<br />\r\n• 灾后重建有序进行中,部分板块暂停开放;旧串三酱会开发相关功后能陆续恢复<br />\r\n• 使用逻辑与旧岛相同,禁晒妹及恶臭现充话题,建议点击<strong><a href=\"/t/50000001\">→ 全岛总版规 ←</a></strong>及各分版版规<br />\r\n• 如对某版规存在异议,请点击<a href=\"/t/50286677\" target=\"_blank\">→ 既往公告及补充说明 ←</a>>>No.50286677 如仍有异议请转至圈内\r\n<br />\r\n• 回应长文包含了大部分问题的解释,如对本岛及先前事件好奇请耐心阅读<br />\r\n• 特殊事项请携缘由联系邮箱:<a href=mailtohelp@nmbxd.com>help@nmbxd.com</a><br />\r\n• 原有数据会伴随新系统上线进行恢复,稍安勿躁<br />\r\n• 客户端下载地址:<a href=\"https://app.nmbxd.com\" target=\"_blank\">https://app.nmbxd.com</a><br />\r\n• <span style=\" font-weight: bold \"><font color=\"#CC0000\">不论是敌是友,久等了,欢迎回来。</font><span></h1>",
"sage": 1,
"admin": 1,
"Hide": 0,
"Replies": [
{
"id": 50039112,
"fid": 4,
"ReplyCount": 0,
"img": "",
"ext": "",
"now": "2022-06-21(二)08:06:58",
"user_hash": "JzeObtU",
"name": "无名氏",
"title": "无标题",
"content": "( ´∀`)回家啦",
"sage": 0,
"admin": 0,
"Hide": 0
},
{
"id": 50043122,
"fid": 4,
"ReplyCount": 0,
"img": "",
"ext": "",
"now": "2022-06-21(二)12:02:03",
"user_hash": "RcX2OX4",
"name": "无名氏",
"title": "无标题",
"content": "三酱你做的好啊゚ ∀゚)ノ",
"sage": 0,
"admin": 0,
"Hide": 0
}
],
"RemainReplies": 253
},
{
"id": 51941400,
"fid": 4,
"ReplyCount": 26,
"img": "2022-09-12/631e66e0cd944",
"ext": ".jpg",
"now": "2022-09-12(一)06:53:16",
"user_hash": "DZMAa87",
"name": "无名氏",
"title": "无标题",
"content": "肥哥們( ・_ゝ・)",
"sage": 0,
"admin": 0,
"Hide": 0,
"Replies": [
{
"id": 51943421,
"fid": 4,
"ReplyCount": 0,
"img": "",
"ext": "",
"now": "2022-09-12(一)10:18:34",
"user_hash": "QPLtOnU",
"name": "无名氏",
"title": "无标题",
"content": "自测的话有因为操作不规范导致假阳性的可能,建议120",
"sage": 0,
"admin": 0,
"Hide": 0
},
{
"id": 51943780,
"fid": 4,
"ReplyCount": 0,
"img": "",
"ext": "",
"now": "2022-09-12(一)10:39:19",
"user_hash": "URk3nGF",
"name": "无名氏",
"title": "无标题",
"content": "im not in danger<br />\nim the danger.jpg<br />\n<br />\n肥哥们再测测啊!说不定是假阳呢",
"sage": 0,
"admin": 0,
"Hide": 0
}
],
"RemainReplies": 21
}
]