Get Permissions for a Favorite Folder

get

/rest/v16/favoriteFolders/{id}/sharePermissions

This endpoint retrieves the favorite folder share permissions.

Request

Supported Media Types
Path Parameters
Query Parameters
  • Restrict which fields shall be returned. The value is a comma delimited string and each token is a field name.
  • The requested page size, which limits the number of elements the collection should max return.
  • The offset of the page. By default, offset is 0, which means first page will be returned.
  • Specifies a comma-separated list of pairs to order the response by.
  • Allows to specify one or more filtering criteria. By default, no filtering is applied.
  • Specifies that the total count of records should be included in the response when doing pagination.
Back to Top

Response

Supported Media Types

Default Response

Body ()
Root Schema : favoriteFolderSharePermissions-collection
Type: object
Show Source
Nested Schema : items
Type: array
Show Source
Nested Schema : Favorite Folder Share Permissions
Type: object
Title: Favorite Folder Share Permissions
Show Source
Nested Schema : Sharing Access Level
Type: object
Title: Sharing Access Level
Access Level of the Shared user or Group
Show Source
  • Title: Display Value
    Translated display name of the type for which fixed list of values can be defined.
  • Title: Id
    Primary Key of the fixed list of value resource.
  • Title: Lookup Code
    Language independent code of the fixed list of value.
Nested Schema : Favorite Folder ID
Type: object
Title: Favorite Folder ID
ID of the favorite folder
Show Source
Nested Schema : Group ID
Type: object
Title: Group ID
ID of the Group of users the favorite is shared with
Show Source
Back to Top

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 - i - H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" - H "Content-type: application/json"
https://sitename.oracle.com/rest/v16/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"
      }
    }
  ]
}
Back to Top