DataSphere API v2, REST: Project.getRestrictions
Статья создана
Обновлена 15 мая 2024 г.
Get current project restrictions.
HTTP request
GET https://datasphere.api.cloud.yandex.net/datasphere/v2/projects/{projectId}:restrictions
Path parameters
Parameter | Description |
---|---|
projectId | Required. ID of the project. |
Response
HTTP Code: 200 - OK
{
"restrictions": [
{
"name": "string",
"boolValue": [
true
],
"longValue": [
"string"
],
"stringValue": [
"string"
]
}
]
}
Field | Description |
---|---|
restrictions[] | object List of restrictions. |
restrictions[]. name |
string Name of restriction. |
restrictions[]. boolValue[] |
boolean (boolean) List of boolean restriction values. Empty if value type is not boolean. |
restrictions[]. longValue[] |
string (int64) List of long restriction values. Empty if value type is not long. |
restrictions[]. stringValue[] |
string List of string restriction values. Empty if value type is not string. |