DataSphere API v2, REST: Project.GetRestrictions
Written by
Updated at October 17, 2024
Get current project restrictions.
HTTP request
GET https://datasphere.api.cloud.yandex.net/datasphere/v2/projects/{projectId}:restrictions
Path parameters
Field |
Description |
projectId |
string Required field. ID of the project. |
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. |