Get Data Table Access Rights
get
/rest/v19/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:
objectTitle:
Show Source
Data Table Access Rights-
folderVarName(required):
string
Title:
FolderVarNameFolder variable name. -
items:
array items
Nested Schema : items
Type:
Show Source
array-
Array of:
object Table Access Rights
Title:
Table Access RightsTable access right details.
Nested Schema : Table Access Rights
Type:
objectTitle:
Table Access RightsTable access right details.
Show Source
-
accessType(required):
string
Title:
Access TypeAllowed Values:[ "FULL", "READ", "EDIT", "NONE" ]Access type. -
name(required):
string
Title:
Table NameName 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 -H "Authorization: Bearer <token>" -H "Content-type: application/json" -H "Accept: application/json" https://sitename.oracle.com/rest/v19/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"
}
]
}