List Vms
GET /v1/vms
Authentication
Requires authentication via: OAuth2PasswordBearer.
Parameters
| Name | In | Type | Required | Description | Constraints |
|---|---|---|---|---|---|
X-API-Key | header | string | null | No | nullable |
Responses
200
Successful Response
application/json
Resolved schema:
{
"type": "array",
"items": {
"properties": {
"vm_id": {
"type": "string",
"title": "Vm Id"
},
"session_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Session Id"
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Status"
},
"created_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Created At"
},
"start_time": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Start Time"
},
"end_time": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "End Time"
},
"ssh_host": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Ssh Host"
},
"image_variant": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Image Variant"
}
},
"type": "object",
"required": [
"vm_id"
],
"title": "VMInfoResponse"
},
"title": "Response List Vms V1 Vms Get"
}
Field details:
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
[] | object | Yes | ||
[].vm_id | string | Yes | ||
[].session_id | string | null | No | nullable | |
[].status | string | null | No | nullable | |
[].created_at | string | null | No | nullable | |
[].start_time | string | null | No | nullable | |
[].end_time | string | null | No | nullable | |
[].ssh_host | string | null | No | nullable | |
[].image_variant | string | null | No | nullable |
422
Validation Error
application/json
Resolved schema:
{
"properties": {
"detail": {
"items": {
"properties": {
"loc": {
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"type": "array",
"title": "Location"
},
"msg": {
"type": "string",
"title": "Message"
},
"type": {
"type": "string",
"title": "Error Type"
}
},
"type": "object",
"required": [
"loc",
"msg",
"type"
],
"title": "ValidationError"
},
"type": "array",
"title": "Detail"
}
},
"type": "object",
"title": "HTTPValidationError"
}
Field details:
| Field | Type | Required | Description | Constraints |
|---|---|---|---|---|
detail | array<object> | No | ||
detail[] | object | No | ||
detail[].loc | array<string | integer> | No | ||
detail[].loc[] | string | integer | No | ||
detail[].msg | string | No | ||
detail[].type | string | No |