你好我是新人(
补充文章来自https://www.mfuns.net/article/85822
获取评论
Get
https://api.mfuns.net/v1/comment/get?id=评论id&html=1
俺还不知道干啥的((
Post
/v1/comment/pin
参数
id: e, cancel: n ? 1 : void 0
删除评论
Post
/v1/comment/delete
参数
comment_id: e
# comment_id是评论id
上传图片
Post
/v1/media/upload_image
传参数是FormData(表格数据)
获取动态信息
Get
/v1/feeds/get?id=动态id&html=1
获取合集信息
Get
https://api.mfuns.net/v1/series/get?id=合集id
获取合集内容
Get
https://api.mfuns.net/v1/series/items?series_id=合集id
旧资源id映射新资源id
Get
/v1/mapping/old_id?id=资源id
获取banner
Get
v1/web_content/banner // 不填默认首页
v1/web_content/banner?name=名称 // 例如Index对应的是首页
退出登入
Get
v1/auth/logout
获取推送信息数量
Get
/v1/notify/count
点赞点踩相关
点赞
Post
/v1/like/like
参数
id:文章/视频/评论id
type: 类型
type目前已知
type=0 动态/文章/视频
type=4 评论
点踩
Post
/v1/like/dislike
参数
id:文章/视频/评论id
type: 类型
type目前已知
type=0 动态/文章/视频
type=4 评论
取消点赞点踩
Post
/v1/like/cancel
参数
id:文章/视频/评论id
type: 类型
type目前已知
type=0 动态/文章/视频
type=4 评论
关注相关
关注状态
Get
v1/follow/status?user_id=用户id
关注
Post
/v1/follow/follow
参数
user_id:用户id
取关
Post
/v1/follow/follow
参数
user_id:用户id
unfollow: 1
视奸关注列表
Get
/v1/follow/list?user_id=用户id&type=follow&last_id=0
视奸粉丝列表
Get
/v1/follow/list?user_id=用户id&type=fans&last_id=0
搜索用户
Get
/v1/search/user?user=昵称&page=当前页数&size=每页多少个
例
/v1/search/user?user=花糕&page=1&size=20
媒体库
Get
/v1/media/library?last_id=id
搜索资源
Get
/v1/search/resource?text=搜索文本&fields=all&type=-1&sort=all&page=当前页数&size=每页多少个内容
关于fields参数和type参数还有sort参数
搜索字段方式 fields:
all: 标题或内容
title: 仅标题
content: 仅内容
内容类型 type:
-1: 综合
1: 视频
0: 文章
排序方式 sort
all: 综合排序
create_time: 时间排序
view: 浏览量排序
like: 点赞排序
favorite: 收藏排序
reward: 喵币排序
Tag搜索
Get
https://api.mfuns.net/v1/tag/search?name=tag名称
转发动态
Post
/v1/feeds/forward
参数
content: content,// 没测试的参数(
resource_type: resourceType,// 没测试的参数(
resource_id: resourceId // 没测试的参数(
收藏相关
获取收藏列表
Get
/v1/favorite/get_favorite_list?user_id=用户id&resource_id=资源id&resource_type=资源类型
添加到收藏
Post
/v1/favorite/add_favorite
参数
resource_id: 资源id
type: 类型 // 1: "公开",2: "私密",3: "隐藏"
list_id: 收藏列表id
移除收藏
Post
/v1/favorite/remove_favorite_by_resource
参数
resource_id: 资源id
type: 类型 // 1: "公开",2: "私密",3: "隐藏"
list_id: 收藏列表id
回复列表
/v1/comment/reply_list?comment_id=评论id&page=页数&html=1
发送验证码
Post
/v1/auth/send_sms_code
参数
phone: 手机号
我不知道干啥的((
/v1/comment/get_resource?id=id
/v1/tag/hot?skip=skip参数




