BabelBirdBabelBird Docs

Get the sharing roles that the user has permission to set for a single file

Properties Values
HTTP methods GET
Interface path /nd/api/share/share_role_forfile
Category Share API

Interface description

Interface path: /nd/api/share/share_role_forfile

HTTP method: GET

HTTP method: GET

URL parameters

Parameter name Comment (description) file_id file id string

Return field description

{"code":0,"roles":[],"success":true}

Call instructions

  • Before calling, you need to complete Get token or the corresponding login-free authentication, and carry Authorization: Bearer <access_token> in the request header.
  • If there are differences in parameters and return fields due to deployment versions, the actual private cloud API documents and joint debugging results should prevail.
  • Category: Sharing API.
BabelBird capabilities may change by product version, licensed modules and deployment configuration; actual availability depends on the deployed environment and administrator settings.