changedInput schema / properties / page / description
Previous value: -"搜索结果页码,从 1 开始"New value: +"搜索结果页码,从 1 开始;继续获取更多结果时使用相同 keyword 和 sort_type,并将 page 设为上一次返回的 next_page;items 为空且 next_page 为 null 表示没有下一页"
changedOutput schema / properties / items / description
Previous value: -"搜索结果中的笔记列表,已过滤非笔记卡片"New value: +"搜索结果中的笔记列表,已过滤非笔记卡片与不可公开笔记;当前页过滤后可能为空数组"
removedOutput schema / properties / items / items / properties / author / properties / avatar
Removed value: -{
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "作者头像;当前不可用时为 null"
-}
addedOutput schema / properties / items / items / properties / author / properties / avatar_url
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "作者头像链接;当前不可用时为 null"
+}
removedOutput schema / properties / items / items / properties / author / properties / id
Removed value: -{
- "description": "作者 ID",
- "type": "string"
-}
addedOutput schema / properties / items / items / properties / author / properties / profile_url
Added value: +{
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "作者主页链接;当前不可用时为 null"
+}
addedOutput schema / properties / items / items / properties / author / properties / red_id
Added value: +{
+ "description": "作者公开小红书号;当前不可用时为空字符串",
+ "type": "string"
+}
addedOutput schema / properties / items / items / properties / author / properties / user_id
Added value: +{
+ "description": "作者 user_id",
+ "type": "string"
+}
changedOutput schema / properties / items / items / properties / author / required
Previous value: -[
- "id",
- "name"
-]New value: +[
+ "user_id",
+ "name",
+ "avatar_url",
+ "profile_url",
+ "red_id"
+]
removedOutput schema / properties / items / items / properties / content
Removed value: -{
- "description": "笔记摘要",
- "type": "string"
-}
addedOutput schema / properties / items / items / properties / cover_image_url
Added value: +{
+ "description": "统一封面图",
+ "type": "string"
+}
removedOutput schema / properties / items / items / properties / create_time
Removed value: -{
- "description": "发布时间,秒级 Unix 时间戳",
- "type": "integer"
-}
removedOutput schema / properties / items / items / properties / image
Removed value: -{
- "description": "封面图",
- "type": "string"
-}
removedOutput schema / properties / items / items / properties / images
Removed value: -{
- "description": "图片列表",
- "items": {
- "type": "string"
- },
- "type": "array"
-}
addedOutput schema / properties / items / items / properties / note_type
Added value: +{
+ "description": "笔记类型;当前公开值固定为 image 或 video",
+ "enum": [
+ "image",
+ "video"
+ ],
+ "type": "string"
+}
addedOutput schema / properties / items / items / properties / publish_time
Added value: +{
+ "description": "发布时间,秒级 Unix 时间戳",
+ "type": "integer"
+}
addedOutput schema / properties / items / items / properties / summary
Added value: +{
+ "description": "笔记摘要;来源于上游 desc,不是全文",
+ "type": "string"
+}
addedOutput schema / properties / items / items / properties / update_time
Added value: +{
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "更新时间,秒级 Unix 时间戳;上游未提供时为 null"
+}
addedOutput schema / properties / items / items / properties / video
Added value: +{
+ "anyOf": [
+ {
+ "properties": {
+ "duration_ms": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "视频原始时长,单位毫秒;当前不可用时为 null"
+ },
+ "video_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "视频链接;当前不可用时为 null"
+ }
+ },
+ "required": [
+ "video_url",
+ "duration_ms"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "视频摘要信息;仅视频笔记返回对象,图文为 null"
+}
removedOutput schema / properties / items / items / properties / xsec_token
Removed value: -{
- "description": "该笔记对应的 xsec_token",
- "type": "string"
-}
changedOutput schema / properties / items / items / required
Previous value: -[
- "note_url",
- "note_id",
- "title",
- "content",
- "image",
- "images",
- "like_count",
- "collect_count",
- "comment_count",
- "share_count",
- "create_time",
- "xsec_token",
- "author"
-]New value: +[
+ "note_url",
+ "note_id",
+ "note_type",
+ "title",
+ "summary",
+ "cover_image_url",
+ "like_count",
+ "collect_count",
+ "comment_count",
+ "share_count",
+ "publish_time",
+ "update_time",
+ "video",
+ "author"
+]
addedOutput schema / properties / next_page
Added value: +{
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "下一次可尝试请求的搜索页码;仅当 next_page 为 null 时表示没有下一页;非空时表示继续搜索应传入的 page,items 为空时不要单独据此判断结束"
+}
changedOutput schema / required
Previous value: -[
- "items"
-]New value: +[
+ "items",
+ "next_page"
+]