Get Permissions for a Favorite Folder
get
/rest/v19/favoriteFolders/{id}/sharePermissions
This endpoint retrieves the favorite folder share permissions.
Request
Supported Media Types
- application/json
Path Parameters
-
id(required): integer
Primary key of Favorite Folders
Query Parameters
-
fields: string
Restrict which fields shall be returned. The value is a comma delimited string and each token is a field name.
-
limit: integer
The requested page size, which limits the number of elements the collection should max return.
-
offset: integer
The offset of the page. By default, offset is 0, which means first page will be returned.
-
orderby: string
Specifies a comma-separated list of pairs to order the response by.
-
q: string
Allows to specify one or more filtering criteria. By default, no filtering is applied.
-
totalResults: boolean
Specifies that the total count of records should be included in the response when doing pagination.
Response
Supported Media Types
- application/json
Default Response
Examples
The following example shows how to retrieve the favorite folder share permissions by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X GET -H "Authorization: Bearer <token>" - H "Content-type: application/json" https://sitename.oracle.com/rest/v19/favoriteFolders/1234/sharePermissions
Response Body Sample
{
"hasMore": false,
"items": [{
"accessLevel": {
"lookupCode": "1",
"displayValue": "Edit",
"id": 3022550530
},
"groupId": {
"id": 21081269,
"variableName": "salesAdministrator"
},
"groupLabel": "Sales Administrator",
"dateModified": "2021-10-29T04:36:24.000Z",
"dateAdded": "2021-10-29T04:36:24.000Z",
"favoriteFolderId": {
"id": 3022551859,
"name": "an"
}
}
]
}