ydcmd
ydcmd copied to clipboard
Invite / Uninvite Specific User to Folder with Specific Permissions (Read or Read/Write)
Your project looks awesome! Any chance we can use the API to add/remove (invite/uninvite) users to a shared folder (no public link to a folder, but shares that require the user to log in with the invited yandex user account)?
So far, I could only find ways to do it using the web interface, which is very sluggish, it would be awesome to be able to give and revoke access to specific users on each folder (read only, full access or no access) using a CLI, allowing us to also run scripts or just type/paste commands quickly for those operations without the annoyances of the web interface ;)
I have been researching for months but I can't find a method to use the API for that purpose anywhere. :'(
Thanks anyway!
Any chance it's something possible?
Unfortunately, I have no free time to add new features. Maybe someone else will be able to implement this and send a PR.
Thanks @abbat! There's no method in the API documentation, that's the problem. I don't know if their API even supports that functionality, which seems to be locked up to their web interface so far, making it very hard to invite / uninvite users to a folder.
I contacted Yandex support but they don't deal with those types of requests and offer their product "as is".
I wish someone eventually finds a "way in" so we can control user access using CLI or Curl.