DataSphere API v2, REST: Community.GetRestrictions
Статья создана
Обновлена 26 ноября 2024 г.
Get current community restrictions.
HTTP request
GET https://datasphere.api.cloud.yandex.net/datasphere/v2/communities/{communityId}:restrictions
Path parameters
Field |
Description |
communityId |
string Required field. ID of the community. |
Response
HTTP Code: 200 - OK
{
"restrictions": [
{
"name": "string",
"boolValue": [
"boolean"
],
"longValue": [
"string"
],
"stringValue": [
"string"
]
}
]
}
Field |
Description |
restrictions[] |
List of restrictions. |
Restriction
Field |
Description |
name |
string Name of restriction. |
boolValue[] |
boolean List of boolean restriction values. Empty if value type is not boolean. |
longValue[] |
string (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. |