DLS suggest
Returns suggested DLS subjects.
Request
POST
https://api.datalens.tech/rpc/dlsSuggest
Headers
|
Name |
Description |
|
x-dl-api-version |
Type: string API version header. Const: Example: |
Body
application/json
{
"searchText": "example"
}
|
Name |
Description |
|
searchText |
Type: string Text to search for permission subjects. Example: |
Responses
200 OK
Response
Body
application/json
[
{
"cloud_icon": "example",
"cloud_icon_data": "example",
"cloud_user_id": "example",
"icon": "example",
"link": "example",
"name": "example",
"title": "example",
"type": "user",
"parent": {
"link": "example",
"title": "example"
},
"__rlsid": "example",
"__source": "example"
}
]
Type: DlsPermissionUnit[]
DlsPermissionUnit
|
Name |
Description |
||||
|
rlsid |
Type: string Row-level security identifier. Example: |
||||
|
source |
Type: string Source system identifier. Example: |
||||
|
cloud_icon |
Type: string Cloud icon URL for the subject. Example: |
||||
|
cloud_icon_data |
Type: string Cloud icon raw data for the subject. Example: |
||||
|
cloud_user_id |
Type: string Cloud platform user ID. Example: |
||||
|
icon |
Type: string Icon URL for the subject. Example: |
||||
|
link |
Type: string Profile link for the subject. Example: |
||||
|
name |
Type: string Subject id. Example: |
||||
|
parent |
Type: object
Parent group information. Example
|
||||
|
title |
Type: string Display title for the subject. Example: |
||||
|
type |
Type: string Subject type. Enum: |
Example
{
"cloud_icon": "example",
"cloud_icon_data": "example",
"cloud_user_id": "example",
"icon": "example",
"link": "example",
"name": "example",
"title": "example",
"type": "user",
"parent": {
"link": "example",
"title": "example"
},
"__rlsid": "example",
"__source": "example"
}