Retrieve the Managed Folders Metadata
get
/ic/api/process/v1/process-definitions/{processDefId}/documents/managed-folders
Retrieves the folders metadata information for a given process definition ID.
NOTE:
Whether a process application uses documents or attachments depends on the application configuration.
- If Oracle Content and Experience(documents) is enabled, the application can only use documents, and API operations on attachments do not apply.
- If Oracle Content and Experience(documents) is not enabled, the application can only use attachments, and API operations on documents do not apply.
To identify whether Oracle Content and Experience(documents) is enabled in a process application, use the API /ic/api/process/v1/processes/{processId} to retrieve process instance details. Oracle Content and Experience(documents) is enabled when the parameter isDoCSEnabled=true.
Request
Path Parameters
-
processDefId(required): string
Value of process definition ID.
Query Parameters
-
name: string
Retrieves only the folder for the specified folder name
-
startupFlag: boolean
Retrieves the default startup folder if true, else (default) returns all foldersDefault Value:
false
Response
Supported Media Types
- application/json
200 Response
Success. Returns the folders.
401 Response
Unauthorized
500 Response
Error in retrieving the folder information