View User Permission Sets for File
get
/api/restapi/document/permissionSets
Send a request to this endpoint to view the user's permission sets for the provided file.
Request
Query Parameters
-
id: integer(int64)
The system-generated identifier of a document.
-
path: string
The path of the file or folder from it's root folder.
The field is non-persistable and thus maximum length is not applicable. -
scope: string
Scope type where document is created.
Allowed Values: [ "project", "workspace", "genericPortfolio", "strategy", "idea", "program", "template"] -
scopeId: integer(int64)
The system-generated identifier of the scope where document is created.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : ApiEntityPermissionSets
Type:
object
Title:
Show Source
ApiEntityPermissionSets
-
customLog: array
customLog
Custom log permission sets.
Applicable for workspace, project, program, customLogTypeObject retrieve APIs. -
file: array
file
File permission sets.
Applicable for workspace, project, program, portfolio, idea, document retrieve APIs. -
idea: array
idea
Idea permission sets.
Applicable for workspace, idea retrieve APIs. -
portfolio: array
portfolio
Portfolio permission sets.
Applicable for workspace, portfolio retrieve APIs. -
program: array
program
Program permission sets.
Applicable for workspace, program retrieve APIs. -
project: array
project
Project permission sets.
Applicable for workspace, project retrieve APIs. -
report: array
report
Report permission sets.
Applicable for workspace, project, program, portfolio, report retrieve APIs. -
workspace: array
workspace
Workspace permission sets.
Applicable for workspace retrieve API.
Nested Schema : customLog
Type:
array
Custom log permission sets.
Applicable for workspace, project, program, customLogTypeObject retrieve APIs.
Show Source
Applicable for workspace, project, program, customLogTypeObject retrieve APIs.
-
Array of:
object ApiEntityProfile
Title:
ApiEntityProfile
Nested Schema : file
Type:
array
File permission sets.
Applicable for workspace, project, program, portfolio, idea, document retrieve APIs.
Show Source
Applicable for workspace, project, program, portfolio, idea, document retrieve APIs.
-
Array of:
object ApiEntityProfile
Title:
ApiEntityProfile
Nested Schema : idea
Type:
array
Idea permission sets.
Applicable for workspace, idea retrieve APIs.
Show Source
Applicable for workspace, idea retrieve APIs.
-
Array of:
object ApiEntityProfile
Title:
ApiEntityProfile
Nested Schema : portfolio
Type:
array
Portfolio permission sets.
Applicable for workspace, portfolio retrieve APIs.
Show Source
Applicable for workspace, portfolio retrieve APIs.
-
Array of:
object ApiEntityProfile
Title:
ApiEntityProfile
Nested Schema : program
Type:
array
Program permission sets.
Applicable for workspace, program retrieve APIs.
Show Source
Applicable for workspace, program retrieve APIs.
-
Array of:
object ApiEntityProfile
Title:
ApiEntityProfile
Nested Schema : project
Type:
array
Project permission sets.
Applicable for workspace, project retrieve APIs.
Show Source
Applicable for workspace, project retrieve APIs.
-
Array of:
object ApiEntityProfile
Title:
ApiEntityProfile
Nested Schema : report
Type:
array
Report permission sets.
Applicable for workspace, project, program, portfolio, report retrieve APIs.
Show Source
Applicable for workspace, project, program, portfolio, report retrieve APIs.
-
Array of:
object ApiEntityProfile
Title:
ApiEntityProfile
Nested Schema : workspace
Type:
array
Workspace permission sets.
Applicable for workspace retrieve API.
Show Source
Applicable for workspace retrieve API.
-
Array of:
object ApiEntityProfile
Title:
ApiEntityProfile
Nested Schema : ApiEntityProfile
Type:
object
Title:
Show Source
ApiEntityProfile
-
description: string
Maximum Length:
4000
Description. -
profileId: string
Maximum Length:
255
Profile ID. -
profileName: string
Maximum Length:
255
Profile Name.
204 Response
Successful operation with no content.
404 Response
The requested folder or file does not exist, or you do not have access to it.