curl --request GET \
--url https://api.example.com/v1/projects/{project}/plans{
"plans": [
{
"name": "<string>",
"state": "STATE_UNSPECIFIED",
"issue": "<string>",
"rollout": "<string>",
"title": "<string>",
"description": "<string>",
"specs": [
{
"id": "<string>",
"createDatabaseConfig": {
"target": "<string>",
"database": "<string>",
"table": "<string>",
"characterSet": "<string>",
"collation": "<string>",
"cluster": "<string>",
"owner": "<string>",
"environment": "<string>"
},
"changeDatabaseConfig": {
"targets": [
"<string>"
],
"sheet": "<string>",
"release": "<string>",
"type": "DATABASE_CHANGE_TYPE_UNSPECIFIED",
"ghostFlags": {},
"enablePriorBackup": true,
"enableGhost": true
},
"exportDataConfig": {
"targets": [
"<string>"
],
"sheet": "<string>",
"format": "FORMAT_UNSPECIFIED",
"password": "<string>"
}
}
],
"creator": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"updateTime": "2023-11-07T05:31:56Z",
"planCheckRunStatusCount": {},
"deployment": {
"environments": [
"<string>"
],
"databaseGroupMappings": [
{
"databaseGroup": "<string>",
"databases": [
"<string>"
]
}
]
}
}
],
"nextPageToken": "<string>"
}Lists deployment plans in a project. Permissions required: bb.plans.list
curl --request GET \
--url https://api.example.com/v1/projects/{project}/plans{
"plans": [
{
"name": "<string>",
"state": "STATE_UNSPECIFIED",
"issue": "<string>",
"rollout": "<string>",
"title": "<string>",
"description": "<string>",
"specs": [
{
"id": "<string>",
"createDatabaseConfig": {
"target": "<string>",
"database": "<string>",
"table": "<string>",
"characterSet": "<string>",
"collation": "<string>",
"cluster": "<string>",
"owner": "<string>",
"environment": "<string>"
},
"changeDatabaseConfig": {
"targets": [
"<string>"
],
"sheet": "<string>",
"release": "<string>",
"type": "DATABASE_CHANGE_TYPE_UNSPECIFIED",
"ghostFlags": {},
"enablePriorBackup": true,
"enableGhost": true
},
"exportDataConfig": {
"targets": [
"<string>"
],
"sheet": "<string>",
"format": "FORMAT_UNSPECIFIED",
"password": "<string>"
}
}
],
"creator": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"updateTime": "2023-11-07T05:31:56Z",
"planCheckRunStatusCount": {},
"deployment": {
"environments": [
"<string>"
],
"databaseGroupMappings": [
{
"databaseGroup": "<string>",
"databases": [
"<string>"
]
}
]
}
}
],
"nextPageToken": "<string>"
}The project id.
The maximum number of plans to return. The service may return fewer than this value. If unspecified, at most 10 plans will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
A page token, received from a previous ListPlans call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListPlans must match
the call that provided the page token.
Was this page helpful?