Method list
Lists projects for the specified folder.
HTTP request
GET https://datasphere.api.cloud.yandex.net/datasphere/v1/projects
Query parameters
Parameter | Description |
---|---|
folderId | Required. ID of the folder to list projects in. To get the folder ID use a list request. The maximum string length in characters is 50. |
pageSize | The maximum number of results per page to return. If the number of available results is larger than pageSize, the service returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 1000, inclusive. |
pageToken | Page token. To get the next page of results, set pageToken to the nextPageToken returned by a previous list request. The maximum string length in characters is 100. |
Response
HTTP Code: 200 - OK
{
"projects": [
{
"id": "string",
"folderId": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"settings": {
"serviceAccountId": "string",
"subnetId": "string",
"dataProcClusterId": "string",
"commitMode": "string",
"securityGroupIds": [
"string"
]
},
"limits": {
"maxUnitsPerHour": "integer",
"maxUnitsPerExecution": "integer"
}
}
],
"nextPageToken": "string"
}
Field | Description |
---|---|
projects[] | object A Project resource. |
projects[]. id |
string ID of the project. |
projects[]. folderId |
string ID of the folder that the project belongs to. |
projects[]. createdAt |
string (date-time) String in RFC3339 text format. |
projects[]. name |
string Name of the project. 1-63 characters long. |
projects[]. description |
string Description of the project. 0-256 characters long. |
projects[]. settings |
object Settings of the project. |
projects[]. settings. serviceAccountId |
string ID of the service account, on whose behalf all operations with clusters will be performed. |
projects[]. settings. subnetId |
string ID of the subnet where the DataProc cluster resides. Currently only subnets created in the availability zone ru-central1-a are supported. |
projects[]. settings. dataProcClusterId |
string ID of the DataProc cluster. |
projects[]. settings. commitMode |
string Commit mode that is assigned to the project.
|
projects[]. settings. securityGroupIds[] |
string Network interfaces security groups. |
projects[]. limits |
object Limits of the project. |
projects[]. limits. maxUnitsPerHour |
integer (int64) The number of units that can be spent per hour. |
projects[]. limits. maxUnitsPerExecution |
integer (int64) The number of units that can be spent on the one execution. |
nextPageToken | string This token allows you to get the next page of results for list requests. If the number of results is larger than pageSize, use the nextPageToken as the value for the pageToken query parameter in the next list request. Each subsequent list request will have its own nextPageToken to continue paging through the results. |