![]() |
API Documentation
|
GET - used to retrieve a list of permission sets along with their individual permissions, where a permission set defines access that a collaborator has to a file/Secure Object or folder/collection.Note: This method takes no parameters.
This API endpoint retrieves a list of permission sets along with their individual permissions.
A permission set:
The following table lists each permission set and their individual permissions:
| Permission set | Permission set ID | Individual permissions |
|---|---|---|
| View | 1 | View |
| Download | 2 | View, Print, Download |
| Upload (folders only) | 5 | View, View Other, Print, Download, Upload File, Create Folder |
| Modify | 3 | View, View Other, Print, Download, Upload File * , Create Folder * , Rename, Remove (File), Remove (Folder) * , Move |
| Manage | 6 | View, View Other, Print, Download, Upload File * , Create Folder * , Rename, Remove (File), Remove (Folder) * , Move, Share |
* These individual permissions are not applicable when either the Modify or Manage permission set is applied to a file.
Note: Individual permissions cannot be applied to collaborators - only permission sets.
This API endpoint supports the following Covata user roles (as described in the Safe Share Administrator's and Organization Administrator's Guides):
The Covata Platform's resources available to one of these Covata users (above) is determined by the access token passed in the header of requests to this endpoint.
The appropriate access token as the Bearer token:
Authorization: Bearer eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjE0NjcwMTY2NjYsInVzZXJfbmFtZSI6ImFsZXgub...A JSON-formatted response containing the following members:
object (if the individual permission applies to files/Secure Objects only) or collection (if the permission applies to folders/collections only) or both of these values (if the permission applies to both files and folders). server.permission.name.view server.permission.name.view.other server.permission.name.print server.permission.name.download server.permission.name.file.upload server.permission.name.folder.create server.permission.name.rename server.permission.name.file.delete server.permission.name.folder.delete server.permission.name.move server.permission.name.share object (if the permission set applies to files only) or collection (if the permission set applies to folders only) or both of these values (if the permission set applies to both files and folders). server.permissionset.name.view server.permissionset.name.download server.permissionset.name.upload server.permissionset.name.modify server.permissionset.name.manage