Skip to content

Latest commit

 

History

History
71 lines (53 loc) · 1.29 KB

getRestrictions.md

File metadata and controls

71 lines (53 loc) · 1.29 KB
editable sourcePath
false
en/_api-ref/datasphere/v2/api-ref/Community/getRestrictions.md

DataSphere API v2, REST: Community.GetRestrictions

Get current community restrictions.

HTTP request

GET https://datasphere.{{ api-host }}/datasphere/v2/communities/{communityId}:restrictions

Path parameters

#| ||Field | Description || || communityId | string

Required field. ID of the community. || |#

Response {#yandex.cloud.datasphere.v2.RestrictionsResponse}

HTTP Code: 200 - OK

{
  "restrictions": [
    {
      "name": "string",
      "boolValue": [
        "boolean"
      ],
      "longValue": [
        "string"
      ],
      "stringValue": [
        "string"
      ]
    }
  ]
}

#| ||Field | Description || || restrictions[] | Restriction

List of restrictions. || |#

Restriction {#yandex.cloud.datasphere.v2.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. || |#