Skip to main content
POST
cURL

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
type
enum<string>
默认值:prepare
可用选项:
prepare,
switch,
full
mode
enum<string>
默认值:dry_run
可用选项:
dry_run,
repair,
switch_space,
switch_global
spaceIds
string[]
baseIds
string[]
excludeSpaceIds
string[]
excludeBaseIds
string[]
sourceJobId
string
concurrency
integer
默认值:1
必填范围: 1 <= x <= 8
autoStart
boolean
默认值:true
allowBlockedSwitch
boolean
默认值:false
forceNew
boolean
默认值:false

响应

200 - application/json

Created v2 rollout job

id
string
必填
type
enum<string>
必填
可用选项:
prepare,
switch,
full
status
enum<string>
必填
可用选项:
pending,
running,
paused,
completed,
completed_with_blocks,
failed,
canceled
mode
enum<string>
必填
可用选项:
dry_run,
repair,
switch_space,
switch_global
totalSpaces
number
必填
totalBases
number
必填
readySpaces
number
必填
readyBases
number
必填
blockedSpaces
number
必填
blockedBases
number
必填
failedSpaces
number
必填
failedBases
number
必填
skippedSpaces
number
必填
skippedBases
number
必填
switchedSpaces
number
必填
createdTime
string
必填
lastEventSeq
number
必填
phase
enum<string> | null
可用选项:
inventory,
checking,
repairing,
verifying,
switching
options
unknown
error
string | null
createdBy
string | null
startedTime
string | null
finishedTime
string | null
最后修改于 2026年9月15日