Share folder and file from API

Hi,

I’m writing a script to migrate from Ajaxplorer 4.2.3 to the latest Pydio version.

I’m need to recreate shares (mainly folder shared with other user and file shared publicly).

I found endpoint “/workspace_alias/share/simple_share_type/file+” in APIv1 but I’m wondering if:

  • I can create share for any user when I logged in as admin?
  • Is there equivalent action in APIv2?

Thanks

any solution for this