We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
以前上传之后的路径类如 https://api.onedrive.com/v1.0/shares/s!AozdVHUbjt99its8BgEjT6Udl44oeA/root/content
现在变成了类似这样的 https://thlflq.ph.files.1drv.com/y4mEdQDhvTETg6RrnTfrrctUMHT4OedYJAZhpcLzdqBCHhtmdDIxxee-OGctYLq-9bvTtLHLb9wgilhozGQLYUYpxubZAVS8AyqqlJtVgUYlhEiR2MYPzM6-Z9aslsK-B-vCH85ke68Ct8O8t3X3u6R9czdFnPt4-rievnc64P3M_47XPpAkrHlVxsOq7VeXZogDcdyfoeqCffor9UUBoBpmTUdaS_GNwrVgd4cAzkZPBs 形式,并非分享的api。它会在大约一周左右过期失效,是否是程序反馈出现了问题?
访问https://api.onedrive.com/v1.0/shares/s!AozdVHUbjt99its8BgEjT6Udl44oeA/root/content 获取下载直链后获得的是类似的链接,如 https://fwwa8g.ph.files.1drv.com/y4m9lai9LGwg15ZWQK-7YWLC4spvt38KwEJ4XgZoJLndQ4gAWj1dVs7P6PV8ezC5chqf71gFgHaItJq9KJNQ-JMmXxG_kefThuKDfx9Isl2Sre4RC-6Ag_qWgwwzwXc5FOlTD5nRE7CVs5L7z75MOHRuCC9-aHhHGvkV6bZ-2nsPU-p7otYirctEOP9eEZ3JdPxXwXzNMPTTOHJ5L4ExT0HTw/%E7%A7%91%E6%8A%80%E8%81%94%E7%9B%9F%E5%9F%BA%E5%9C%B0%E5%9C%B0%E5%9B%BE.Rw4terbWd.jpg
The text was updated successfully, but these errors were encountered:
以前是用这种方式,从这里看到的。但是前两周这种方式拿到的链接突然用不了了,可能是微软给禁掉了。查了下文档改成了用这个 api,文档上好像没提会过期 🤔
Sorry, something went wrong.
基本上这几天传的图都炸了
这是几个参考的图链
Remarks For OneDrive for Business and SharePoint, the Shares API always requires authentication and cannot be used to access anonymously shared content without a user context. https://learn.microsoft.com/en-us/onedrive/developer/rest-api/api/shares_get?view=odsp-graph-online#remarks
似乎微软把新的api也给限制了,也许是authentication有过期时间。
难搞。。
No branches or pull requests
以前上传之后的路径类如 https://api.onedrive.com/v1.0/shares/s!AozdVHUbjt99its8BgEjT6Udl44oeA/root/content
现在变成了类似这样的 https://thlflq.ph.files.1drv.com/y4mEdQDhvTETg6RrnTfrrctUMHT4OedYJAZhpcLzdqBCHhtmdDIxxee-OGctYLq-9bvTtLHLb9wgilhozGQLYUYpxubZAVS8AyqqlJtVgUYlhEiR2MYPzM6-Z9aslsK-B-vCH85ke68Ct8O8t3X3u6R9czdFnPt4-rievnc64P3M_47XPpAkrHlVxsOq7VeXZogDcdyfoeqCffor9UUBoBpmTUdaS_GNwrVgd4cAzkZPBs 形式,并非分享的api。它会在大约一周左右过期失效,是否是程序反馈出现了问题?
访问https://api.onedrive.com/v1.0/shares/s!AozdVHUbjt99its8BgEjT6Udl44oeA/root/content 获取下载直链后获得的是类似的链接,如 https://fwwa8g.ph.files.1drv.com/y4m9lai9LGwg15ZWQK-7YWLC4spvt38KwEJ4XgZoJLndQ4gAWj1dVs7P6PV8ezC5chqf71gFgHaItJq9KJNQ-JMmXxG_kefThuKDfx9Isl2Sre4RC-6Ag_qWgwwzwXc5FOlTD5nRE7CVs5L7z75MOHRuCC9-aHhHGvkV6bZ-2nsPU-p7otYirctEOP9eEZ3JdPxXwXzNMPTTOHJ5L4ExT0HTw/%E7%A7%91%E6%8A%80%E8%81%94%E7%9B%9F%E5%9F%BA%E5%9C%B0%E5%9C%B0%E5%9B%BE.Rw4terbWd.jpg
The text was updated successfully, but these errors were encountered: