Get Data Table Access Rights
get
/rest/v16/companies/{companyLoginName}/groups/{groupVarName}/segments/_dataTables/folders/{folderVarName}/accessRights
This endpoint retrieves the access rights of data tables within a data table folder.
Request
Path Parameters
-
companyLoginName(required): string
Company login name.
-
folderVarName(required): string
Folder name.
-
groupVarName(required): string
Group variable name.
Response
Supported Media Types
- application/json
Default Response
Access rights.
Nested Schema : items
Type:
Show Source
array
-
Array of:
object Data Table Access Rights
Title:
Data Table Access Rights
Nested Schema : Data Table Access Rights
Type:
object
Title:
Show Source
Data Table Access Rights
-
folderVarName(required):
string
Title:
FolderVarName
Folder variable name. -
items:
array items
Nested Schema : items
Type:
Show Source
array
-
Array of:
object Table Access Rights
Title:
Table Access Rights
Table access right details.
Nested Schema : Table Access Rights
Type:
object
Title:
Table Access Rights
Table access right details.
Show Source
-
accessType(required):
string
Title:
Access Type
Allowed Values:[ "FULL", "READ", "EDIT", "NONE" ]
Access type. -
name(required):
string
Title:
Table Name
Name of the table.
Examples
The following example retrieves the access rights of data tables within a data table folder by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl -X POST -i -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQg" -H "Content-type: application/json" -H "Accept: application/json" https://sitename.oracle.com/rest/v16/companies/visionServices/groups/midwestTestGroup/segments/ _dataTables/folders/_default/accessRights
Response Body Sample
{ "folderVarName": "_default", "items": [{ "accessType": "READ", "name": "DataTable1" }, { "accessType": "FULL", "name": "dn_sample_wtpSegmnts" }, { "accessType": "EDIT", "name": "LiveTable" }, { "accessType": "NONE", "name": "Status" }, { "accessType": "READ", "name": "table_100columns" } ] }