feat(qzone): add complete feed lookup by tid

Refs #633
This commit is contained in:
DrSmoothl committed 2026-11-01 21:31:52 +08:00
1 parent f79187f36a
commit c15ecd0402
18 files changed
+547 -13

No files matched your search

+74 -4
View File
@@ -11241,6 +11241,76 @@
},
"category": "群相册"
},
{
"name": "get_qzone_feed_detail",
"aliases": [],
"summary": "按说说 tid 读取完整空间动态,可用于生成分享卡片",
"returns": "完整动态及上游详情字段。feed 保留图片、视频、分享信息和未知字段,可直接用于 get_qzone_share_ark;attach_info 保留上游评论游标,不自动翻页。",
"returnsSchema": {
"type": "object",
"additionalProperties": true,
"properties": {
"feed": {
"type": "object",
"additionalProperties": true,
"description": "去除上游包装后的完整动态,可原样传给 get_qzone_share_ark"
},
"attach_info": {
"type": [
"string",
"null"
],
"description": "上游评论续页游标,未提供时为 null;不保证评论及回复完整"
}
},
"required": [
"feed",
"attach_info"
]
},
"examples": [
{
"summary": "按说说编号获取完整动态",
"params": {
"tid": "1127000000f1536501000000"
},
"notes": "将示例 tid 替换为 get_qzone_msg_list 或 send_qzone_msg 返回的 24 位十六进制说说编号。把结果的 feed 原样传给 get_qzone_share_ark;读取和分享均受空间权限限制。"
}
],
"readOnly": true,
"params": [
{
"name": "tid",
"type": "string",
"required": true,
"schema": {
"type": "string",
"minLength": 1,
"maxLength": 24
},
"desc": "24 位十六进制说说编号"
}
],
"invariants": [
"tid must be a 24-character hexadecimal post ID"
],
"inputSchema": {
"type": "object",
"properties": {
"tid": {
"type": "string",
"minLength": 1,
"maxLength": 24,
"description": "24 位十六进制说说编号"
}
},
"required": [
"tid"
],
"additionalProperties": true
},
"category": "空间"
},
{
"name": "get_qzone_feeds",
"aliases": [],
@@ -12385,7 +12455,7 @@
}
}
},
"notes": "feed 原样取自 get_qzone_home_feeds 或 get_qzone_public_feeds。分享链接可能允许未登录者访问并包含作者 QQ 号;如 requires_confirmation=true,发送前展示 notice 并取得确认。将 ark 原文作为 JSON 消息发送,不要修改卡片内容。"
"notes": "feed 原样取自 get_qzone_feed_detail 的 feed,或 get_qzone_home_feeds / get_qzone_public_feeds 的 feeds 条目。分享链接可能允许未登录者访问并包含作者 QQ 号;如 requires_confirmation=true,发送前展示 notice 并取得确认。将 ark 原文作为 JSON 消息发送,不要修改卡片内容。"
}
],
"readOnly": false,
@@ -12398,7 +12468,7 @@
"type": "object",
"additionalProperties": true
},
"desc": "主页或推荐列表返回的完整动态,保留所有原始字段"
"desc": "主页、详情或推荐列表返回的完整动态,保留所有原始字段"
}
],
"invariants": [],
@@ -12408,7 +12478,7 @@
"feed": {
"type": "object",
"additionalProperties": true,
"description": "主页或推荐列表返回的完整动态,保留所有原始字段"
"description": "主页、详情或推荐列表返回的完整动态,保留所有原始字段"
}
},
"required": [
@@ -20953,7 +21023,7 @@
},
{
"category": "空间",
"count": 28
"count": 29
},
{
"category": "系统表情",
+74 -4
View File
@@ -11244,6 +11244,76 @@ export const ACTIONS: CatalogAction[] = [
},
"category": "群相册"
},
{
"name": "get_qzone_feed_detail",
"aliases": [],
"summary": "按说说 tid 读取完整空间动态,可用于生成分享卡片",
"returns": "完整动态及上游详情字段。feed 保留图片、视频、分享信息和未知字段,可直接用于 get_qzone_share_ark;attach_info 保留上游评论游标,不自动翻页。",
"returnsSchema": {
"type": "object",
"additionalProperties": true,
"properties": {
"feed": {
"type": "object",
"additionalProperties": true,
"description": "去除上游包装后的完整动态,可原样传给 get_qzone_share_ark"
},
"attach_info": {
"type": [
"string",
"null"
],
"description": "上游评论续页游标,未提供时为 null;不保证评论及回复完整"
}
},
"required": [
"feed",
"attach_info"
]
},
"examples": [
{
"summary": "按说说编号获取完整动态",
"params": {
"tid": "1127000000f1536501000000"
},
"notes": "将示例 tid 替换为 get_qzone_msg_list 或 send_qzone_msg 返回的 24 位十六进制说说编号。把结果的 feed 原样传给 get_qzone_share_ark;读取和分享均受空间权限限制。"
}
],
"readOnly": true,
"params": [
{
"name": "tid",
"type": "string",
"required": true,
"schema": {
"type": "string",
"minLength": 1,
"maxLength": 24
},
"desc": "24 位十六进制说说编号"
}
],
"invariants": [
"tid must be a 24-character hexadecimal post ID"
],
"inputSchema": {
"type": "object",
"properties": {
"tid": {
"type": "string",
"minLength": 1,
"maxLength": 24,
"description": "24 位十六进制说说编号"
}
},
"required": [
"tid"
],
"additionalProperties": true
},
"category": "空间"
},
{
"name": "get_qzone_feeds",
"aliases": [],
@@ -12388,7 +12458,7 @@ export const ACTIONS: CatalogAction[] = [
}
}
},
"notes": "feed 原样取自 get_qzone_home_feeds 或 get_qzone_public_feeds。分享链接可能允许未登录者访问并包含作者 QQ 号;如 requires_confirmation=true,发送前展示 notice 并取得确认。将 ark 原文作为 JSON 消息发送,不要修改卡片内容。"
"notes": "feed 原样取自 get_qzone_feed_detail 的 feed,或 get_qzone_home_feeds / get_qzone_public_feeds 的 feeds 条目。分享链接可能允许未登录者访问并包含作者 QQ 号;如 requires_confirmation=true,发送前展示 notice 并取得确认。将 ark 原文作为 JSON 消息发送,不要修改卡片内容。"
}
],
"readOnly": false,
@@ -12401,7 +12471,7 @@ export const ACTIONS: CatalogAction[] = [
"type": "object",
"additionalProperties": true
},
"desc": "主页或推荐列表返回的完整动态,保留所有原始字段"
"desc": "主页、详情或推荐列表返回的完整动态,保留所有原始字段"
}
],
"invariants": [],
@@ -12411,7 +12481,7 @@ export const ACTIONS: CatalogAction[] = [
"feed": {
"type": "object",
"additionalProperties": true,
"description": "主页或推荐列表返回的完整动态,保留所有原始字段"
"description": "主页、详情或推荐列表返回的完整动态,保留所有原始字段"
}
},
"required": [
@@ -20957,7 +21027,7 @@ export const CATEGORIES: CatalogCategory[] = [
},
{
"category": "空间",
"count": 28
"count": 29
},
{
"category": "系统表情",