vimeo api-无法从元数据连接uli请求
我目前正在使用Vimeo API使用Axios。
我为何可以要求 https://api.vime.com/tags/customtomtag 并得到一个回应,显示确实有35个视频。
"metadata": {
"connections": {
"videos": {
"uri": "/tags/customtag/videos",
"options": [
"GET"
],
"total": 35
}
}
},
但是,如果我在上一个请求中使用uri提出另一个请求,例如 https://api.vimeo.vimeo 。
{
"total": 0,
"page": 1,
"per_page": 25,
"paging": {
"next": null,
"previous": null,
"first": "/tags/customtag/videos?page=1",
"last": "/tags/customtag/videos?page=1"
},
"data": []
有没有办法访问此数据并保持私密性?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
编辑:
这是响应的错误,标签不会返回私人视频。
您可以使用视频端点获取私人视频,
您可以使用
filter_tag
查询参数,因此get/me/videos?filter_tag = fastertag应该执行您的需求。
EDITED:
This is a bug on the Response, the tags do not return private videos.
You can fetch your private videos using your videos endpoint,
https://developer.vimeo.com/api/reference/videos#get_videos
You can use the
filter_tag
query parameter, so for exampleGET /me/videos?filter_tag=customtag should do what you're looking for.