new_search (#238)

Co-authored-by: Buf Generate <buf-generate@bondee.com>
This commit is contained in:
Carlo
2025-10-16 21:15:13 +08:00
committed by GitHub
parent c485f1cd49
commit d5138d32bc
8 changed files with 292 additions and 18 deletions

View File

@@ -1,5 +1,7 @@
package main
import "github.com/xpzouying/xiaohongshu-mcp/xiaohongshu"
// HTTP API 响应类型
// ErrorResponse 错误响应
@@ -38,6 +40,11 @@ type FeedDetailRequest struct {
XsecToken string `json:"xsec_token" binding:"required"`
}
type SearchFeedsRequest struct {
Keyword string `json:"keyword" binding:"required"`
Filters []xiaohongshu.FilterOption `json:"filters" binding:"required"`
}
// FeedDetailResponse Feed详情响应
type FeedDetailResponse struct {
FeedID string `json:"feed_id"`