Open cmy2008 opened 2 years ago
( web端投稿)
https://api.vc.bilibili.com/dynamic_svr/v1/dynamic_svr/create_draw
请求方式:GET
正文参数:
pictures json:
pictures
[{ "img_src": "b站图片链接", "img_width": 1920, "img_height": 1200, "img_size": 1185.021484375 }]
示例:
curl https://api.vc.bilibili.com/dynamic_svr/v1/dynamic_svr/create_draw \ --data-urlencode 'biz=3' \ --data-urlencode 'category=3' \ --data-urlencode 'type=0' \ --data-urlencode 'pictures=[{"img_src":"http://i0.hdslb.com/bfs/album/cb8e32714c732864c7598a277665a3579aadecac.jpg","img_width":1920,"img_height":1200,"img_size":1185.021484375}]' \ --data-urlencode 'description=test3' \ --data-urlencode 'content=test3' \ -b 'SESSDATA=xxx'
查看响应示例:
{ "code": 0, "msg": "", "message": "", "data": { "doc_id": "184528134", "dynamic_id": 620695664163096143, "dynamic_id_str": "620695664163096143", "_gt_": 0 } }
感谢提供
相簿投稿API有误,应该是这个 https://api.vc.bilibili.com/link_draw/v1/doc/create
确实弄错了,这个应该是发表图片动态
( web端投稿)
请求方式:GET
正文参数:
pictures
json:示例:
查看响应示例: