获取虚拟容器
GET
/vcontainers请求参数
Header 参数
Authorization
string
必需
/open/auth/token接口获取的Bearer类型的token
示例值:
Bearer 0cb972b0-516c-8c7a-8c95-955263eed4c1
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
data
array [object {6}]
必需
id
integer
必需
name
string
必需
numCrons
integer
必需
numSubs
integer
必需
numEnvs
integer
必需
remarks
string
必需
示例
{
"code": 200,
"data": [
{
"id": 1,
"name": "vc1",
"numCrons": 29,
"numSubs": 1,
"numEnvs": 6,
"remarks": "M库"
},
{
"id": 2,
"name": "vc2",
"numCrons": 20,
"numSubs": 1,
"numEnvs": 10,
"remarks": "饿了么"
},
{
"id": 3,
"name": "vc3",
"numCrons": 22,
"numSubs": 1,
"numEnvs": 6,
"remarks": "船长"
},
{
"id": 4,
"name": "vc4",
"numCrons": 180,
"numSubs": 1,
"numEnvs": 6,
"remarks": "KR"
},
{
"id": 5,
"name": "vc5",
"numCrons": 0,
"numSubs": 0,
"numEnvs": 0,
"remarks": ""
}
]
}
最后修改时间: 1 年前