DataSphere API v2, REST: Project.List
Lists projects for the specified community.
HTTP request
GET https://datasphere.api.cloud.yandex.net/datasphere/v2/projects
Query parameters
Field |
Description |
communityId |
string Required field. ID of the community to list projects in. |
pageSize |
string (int64) The maximum number of results per page to return. If the number of available |
pageToken |
string Page token. To get the next page of results, set |
projectNamePattern |
string Name pattern to filter projects that are returned. |
ownedById |
string User ID to filter projects that are returned. |
Response
HTTP Code: 200 - OK
{
"projects": [
{
"id": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"labels": "object",
"createdById": "string",
"settings": {
"serviceAccountId": "string",
"subnetId": "string",
"dataProcClusterId": "string",
"securityGroupIds": [
"string"
],
"earlyAccess": "boolean",
"ide": "string",
"defaultFolderId": "string",
"staleExecTimeoutMode": "string",
"vmInactivityTimeout": "string",
"defaultDedicatedSpec": "string"
},
"limits": {
"maxUnitsPerHour": "string",
"maxUnitsPerExecution": "string"
},
"communityId": "string"
}
],
"nextPageToken": "string"
}
Field |
Description |
projects[] |
List of Project resources. |
nextPageToken |
string This token allows you to get the next page of results for list requests. If the number of results |
Project
A Project resource.
Field |
Description |
id |
string ID of the project. |
createdAt |
string (date-time) String in RFC3339 To work with values in this field, use the APIs described in the |
name |
string Name of the project. 1-63 characters long. |
description |
string Description of the project. 0-256 characters long. |
labels |
object (map<string, string>) |
createdById |
string |
settings |
Settings of the project. |
limits |
Limits of the project. |
communityId |
string ID of the community that the project belongs to. |
Settings
Field |
Description |
serviceAccountId |
string ID of the service account, on whose behalf all operations with clusters will be performed. |
subnetId |
string ID of the subnet where the DataProc cluster resides. |
dataProcClusterId |
string ID of the DataProc cluster. |
securityGroupIds[] |
string Network interfaces security groups. |
earlyAccess |
boolean Is early access preview enabled for the project. |
ide |
enum (Ide) Project IDE.
|
defaultFolderId |
string Default project folder ID. |
staleExecTimeoutMode |
enum (StaleExecutionTimeoutMode) Timeout to automatically stop stale executions.
|
vmInactivityTimeout |
string (duration) Timeout for VM deallocation. |
defaultDedicatedSpec |
string Default VM configuration for DEDICATED mode. |
Limits
Field |
Description |
maxUnitsPerHour |
string (int64) The number of units that can be spent per hour. |
maxUnitsPerExecution |
string (int64) The number of units that can be spent on the one execution. |