创建沙箱
创建新的沙箱。
创建新的沙箱。
Path Parameters
orgId*string
组织 ID
Request Body
application/json
name?string
沙箱的名称。
Default
"sandbox"maxLifeSeconds?number
沙箱的最大生命周期(以秒为单位)。默认为 1 小时,最大为 1 天。
Default
3600Range
1 <= value <= 86400projectId?string
用于沙箱的项目 ID。如果未提供,则使用默认值。
shape*string
沙箱的规格和数据中心。
Response Body
application/json
curl -X POST "https://loading/api/orgs/string/sandboxes" \ -H "Content-Type: application/json" \ -d '{ "shape": "string" }'{
"id": "string",
"name": "string",
"expiredAt": "2019-08-24T14:15:22Z",
"expiresAt": "2019-08-24T14:15:22Z",
"createdAt": "2019-08-24T14:15:22Z",
"projectId": "string",
"shapeName": "string",
"status": "PENDING"
}