Skip to content
New issue

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

有没有获取分享链接状态的接口? #167

Closed
acoooder opened this issue Feb 19, 2024 · 7 comments
Closed

有没有获取分享链接状态的接口? #167

acoooder opened this issue Feb 19, 2024 · 7 comments

Comments

@acoooder
Copy link

需要检测分享链接是否正常,谢谢

@lemisky
Copy link
Member

lemisky commented Feb 19, 2024

get_share_info, 这个可以,有效和无效,返回的东西不一样

@acoooder
Copy link
Author

get_share_info, 这个可以,有效和无效,返回的东西不一样

好的,再问一个,有没有能获取转存次数的接口?谢谢~~

@lemisky
Copy link
Member

lemisky commented Feb 19, 2024

可以的

image

image

get_share_list

@acoooder
Copy link
Author

谢谢~~

可以的

image

image

get_share_list

谢谢~~

@lemisky
Copy link
Member

lemisky commented Feb 19, 2024

官方可以获取的数据,aligo 也可以,只是有些接口没有实现

关于保存次数的问题,官方只允许看自己的,所以 aligo 也是这样,

通过方法 get_share_list, 可以获取到

另外如果你想根据 share_id 直接获取,这也是合理的,但不知道官方提供这样的接口没有,如何在官方平台可以的话,那肯定可以,但目前我没有发现

@lemisky
Copy link
Member

lemisky commented Feb 19, 2024

ali.post('/adrive/v2/share_link/get', body={'share_id':'4dWFB8SJ2SB'})

刚刚看了下,可以通过上面这个请求获取指定 share_id 分享的信息

@acoooder
Copy link
Author

ali.post('/adrive/v2/share_link/get', body={'share_id':'4dWFB8SJ2SB'})

刚刚看了下,可以通过上面这个请求获取指定 share_id 分享的信息

刚看了下,get_share_list就可以,能满足我的需求~~非常感谢!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants