-
Notifications
You must be signed in to change notification settings - Fork 25
FileOrFolder.link documentation issues #9
Comments
Hi @acosand, You mean the capital letter: "Anyone" vs. "anyone"? If so, I can confirm that's a misprint, we'll update this comment. As for expiration, you're probably having some configuration problems. Could you please log in to you Egnyte Connect and proceed to Settings -> Configuration -> General (you should have the admin user in order to do that)? You should see something like Check "Maximum file and folder link expiration" settings. If this options is enabled, expiration values become mandatory (we'll reflect this in documentation as well). Note that both cannot be used, you'll get 400 from the Public API. It's either date or number of clicks. |
Yes, I meant the capitalization. Thanks. |
Actually you should be able to get (but not set) those settings through Public API
will return something like:
Based on that you can easily calculate valid settings. Hope it helps! |
Actually it makes sense. Let me check with engineers from the team responsible for Public API if it's on the roadmap. |
Comment for FileOrFolder.link says:
but I've had to use 'anyone' and 'domain'.
It also says that expiry_date and expiry_clicks are optional, but I was required to use one. (Ideally, both could be used, but that's probably not a python-egnyte issue).
The text was updated successfully, but these errors were encountered: