DataSphere API v2, gRPC: CommunityService.GetRestrictions
Статья создана
Обновлена 17 октября 2024 г.
Get current community restrictions.
gRPC request
rpc GetRestrictions (GetCommunityRestrictionsRequest) returns (RestrictionsResponse)
GetCommunityRestrictionsRequest
{
"communityId": "string"
}
Field |
Description |
communityId |
string Required field. ID of the community. |
RestrictionsResponse
{
"restrictions": [
{
"name": "string",
"boolValue": [
"bool"
],
"longValue": [
"int64"
],
"stringValue": [
"string"
]
}
]
}
Field |
Description |
restrictions[] |
List of restrictions. |
Restriction
Field |
Description |
name |
string Name of restriction. |
boolValue[] |
bool List of boolean restriction values. Empty if value type is not boolean. |
longValue[] |
int64 List of long restriction values. Empty if value type is not long. |
stringValue[] |
string List of string restriction values. Empty if value type is not string. |