editable | sourcePath |
---|---|
false |
en/_api-ref/datasphere/v2/api-ref/Community/getRestrictions.md |
Get current community restrictions.
GET https://datasphere.{{ api-host }}/datasphere/v2/communities/{communityId}:restrictions
#| ||Field | Description || || communityId | string
Required field. ID of the community. || |#
HTTP Code: 200 - OK
{
"restrictions": [
{
"name": "string",
"boolValue": [
"boolean"
],
"longValue": [
"string"
],
"stringValue": [
"string"
]
}
]
}
#| ||Field | Description || || restrictions[] | Restriction
List of restrictions. || |#
#| ||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. || |#