Download OpenAPI specification:
Multi-cluster Proxmox VE management API. Conventions (ADR 0004):
errors are RFC 7807 application/problem+json with a stable code; lists use opaque cursor
pagination (limit, cursor, next_cursor), sort=field / sort=-field, equality filters
as query parameters and q for a name substring.
Authentication (ADR 0006): Authorization: Bearer <token> with a session access token (nva_…) or an API
key (nvk_…). Platform admins act in another tenant with X-Nexhypro-Tenant: <tenant id>. Authorization is
fine-grained RBAC (ADR 0007); every write is audited (ADR 0008).
| tenant | string <= 63 characters |
{- "tenant": "string",
- "local_login": true,
- "providers": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "kind": "ldap",
- "name": "string",
- "login": "password"
}
]
}| tenant required | string <= 63 characters |
| username required | string <= 320 characters |
| password required | string <= 256 characters |
| provider_id | string <uuid> LDAP provider; omit for a local user. |
{- "tenant": "string",
- "username": "string",
- "password": "string",
- "provider_id": "fe3d49af-4061-436b-ae60-f7044f252a44"
}{- "status": "authenticated",
- "mfa_token": "string",
- "methods": [
- "totp"
], - "access_token": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "recovery_codes": [
- "string"
]
}| mfa_token required | string <= 128 characters |
| method required | string (MFAMethod) Enum: "totp" "recovery" "webauthn" |
| code | string <= 32 characters |
object PublicKeyCredential JSON (WebAuthn). |
{- "mfa_token": "string",
- "method": "totp",
- "code": "string",
- "credential": { }
}{- "status": "authenticated",
- "mfa_token": "string",
- "methods": [
- "totp"
], - "access_token": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "recovery_codes": [
- "string"
]
}| mfa_token required | string <= 128 characters |
{- "mfa_token": "string"
}{- "secret": "string",
- "otpauth_url": "string",
- "qr_code": "string"
}| mfa_token | string <= 128 characters Required during login enrolment. |
| code required | string <= 16 characters |
{- "mfa_token": "string",
- "code": "string"
}{- "status": "authenticated",
- "mfa_token": "string",
- "methods": [
- "totp"
], - "access_token": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "recovery_codes": [
- "string"
]
}| providerId required | string <uuid> |
| tenant required | string <= 63 characters |
{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}| providerId required | string <uuid> |
| tenant required | string <= 63 characters |
{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}{- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "email": "string",
- "display_name": "string",
- "status": "active",
- "kind": "human",
- "locale": "string",
- "has_password": true,
- "created_at": "2019-08-24T14:15:22Z",
- "last_login_at": "2019-08-24T14:15:22Z"
}, - "tenant": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "slug": "string",
- "plan": "string",
- "status": "active",
- "is_provider": true,
- "mfa_required": true,
- "local_login_enabled": true,
- "default_locale": "string",
- "created_at": "2019-08-24T14:15:22Z"
}, - "home_tenant_id": "66285611-fe6e-4233-b012-069dd2625af5",
- "platform_admin": true,
- "permissions": [
- "string"
], - "scoped_permissions": [
- "string"
], - "auth": "session",
- "session_id": "string"
}| display_name | string <= 200 characters |
| locale | string <= 16 characters |
{- "display_name": "string",
- "locale": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "email": "string",
- "display_name": "string",
- "status": "active",
- "kind": "human",
- "locale": "string",
- "has_password": true,
- "created_at": "2019-08-24T14:15:22Z",
- "last_login_at": "2019-08-24T14:15:22Z"
}| current_password required | string <= 256 characters |
| new_password required | string <= 256 characters |
{- "current_password": "string",
- "new_password": "string"
}{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}{- "totp": true,
- "webauthn": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "last_used_at": "2019-08-24T14:15:22Z"
}
], - "recovery_codes_remaining": 0,
- "required": true
}Needs the current password or an authenticator code when the user has one (ASVS 3.7.1).
| password | string <= 256 characters |
| code | string <= 16 characters A current authenticator (TOTP) code. |
{- "password": "string",
- "code": "string"
}{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}| mfa_token | string <= 128 characters Required during login enrolment. |
| code required | string <= 16 characters |
{- "mfa_token": "string",
- "code": "string"
}{- "codes": [
- "string"
]
}Needs the current password or an authenticator code when the user has one (ASVS 3.7.1).
| password | string <= 256 characters |
| code | string <= 16 characters A current authenticator (TOTP) code. |
{- "password": "string",
- "code": "string"
}{- "codes": [
- "string"
]
}| name required | string [ 1 .. 100 ] characters |
required | object |
{- "name": "string",
- "credential": { }
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "last_used_at": "2019-08-24T14:15:22Z"
}Needs the current password or an authenticator code when the user has one (ASVS 3.7.1).
| credentialId required | string <uuid> |
| password | string <= 256 characters |
| code | string <= 16 characters A current authenticator (TOTP) code. |
{- "password": "string",
- "code": "string"
}{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}{- "items": [
- {
- "id": "string",
- "provider": "string",
- "amr": [
- "string"
], - "ip": "string",
- "user_agent": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "last_seen_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "current": true
}
]
}| sessionId required | string <= 64 characters |
{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "permissions": [
- "string"
], - "expires_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "last_used_at": "2019-08-24T14:15:22Z",
- "revoked_at": "2019-08-24T14:15:22Z",
- "owner_name": "string",
- "owner_email": "string"
}
]
}| name required | string [ 1 .. 100 ] characters |
| permissions required | Array of strings [ 1 .. 100 ] items |
| expires_at required | string <date-time> At most 365 days ahead. |
| user_id | string <uuid> Owner (admin endpoint only); defaults to the caller. |
{- "name": "string",
- "permissions": [
- "string"
], - "expires_at": "2019-08-24T14:15:22Z",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5"
}{- "key": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "permissions": [
- "string"
], - "expires_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "last_used_at": "2019-08-24T14:15:22Z",
- "revoked_at": "2019-08-24T14:15:22Z",
- "owner_name": "string",
- "owner_email": "string"
}, - "token": "string"
}{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "slug": "string",
- "plan": "string",
- "status": "active",
- "is_provider": true,
- "mfa_required": true,
- "local_login_enabled": true,
- "default_locale": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
]
}| name required | string [ 1 .. 200 ] characters |
| slug required | string [ 1 .. 63 ] characters ^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$ |
| plan | string <= 50 characters |
| admin_email required | string [ 3 .. 320 ] characters |
| admin_password | string <= 256 characters |
{- "name": "string",
- "slug": "string",
- "plan": "string",
- "admin_email": "string",
- "admin_password": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "slug": "string",
- "plan": "string",
- "status": "active",
- "is_provider": true,
- "mfa_required": true,
- "local_login_enabled": true,
- "default_locale": "string",
- "created_at": "2019-08-24T14:15:22Z"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "slug": "string",
- "plan": "string",
- "status": "active",
- "is_provider": true,
- "mfa_required": true,
- "local_login_enabled": true,
- "default_locale": "string",
- "created_at": "2019-08-24T14:15:22Z"
}| name required | string [ 1 .. 200 ] characters |
| mfa_required required | boolean |
| local_login_enabled required | boolean |
| default_locale | string <= 16 characters Language for users who have not chosen one (such as "tr"); omit to keep it, "" to clear it. |
{- "name": "string",
- "mfa_required": true,
- "local_login_enabled": true,
- "default_locale": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "slug": "string",
- "plan": "string",
- "status": "active",
- "is_provider": true,
- "mfa_required": true,
- "local_login_enabled": true,
- "default_locale": "string",
- "created_at": "2019-08-24T14:15:22Z"
}| limit | integer [ 1 .. 500 ] Default: 50 |
| cursor | string <= 1024 characters |
| sort | string Default: "name" Enum: "name" "-name" "created_at" "-created_at"
|
| q | string <= 200 characters Case-insensitive substring match on name. |
| status | string (UserStatus) Enum: "active" "disabled" |
| kind | string (UserKind) Enum: "human" "service" |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "email": "string",
- "display_name": "string",
- "status": "active",
- "kind": "human",
- "locale": "string",
- "has_password": true,
- "created_at": "2019-08-24T14:15:22Z",
- "last_login_at": "2019-08-24T14:15:22Z"
}
], - "next_cursor": "string",
- "counts": {
- "total": 0,
- "active": 0,
- "inactive": 0,
- "service": 0
}
}| email required | string [ 3 .. 320 ] characters |
| display_name required | string <= 200 characters |
| kind required | string (UserKind) Enum: "human" "service" |
| password | string <= 256 characters Local password (human users only). |
| locale | string <= 16 characters |
{- "email": "string",
- "display_name": "string",
- "kind": "human",
- "password": "string",
- "locale": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "email": "string",
- "display_name": "string",
- "status": "active",
- "kind": "human",
- "locale": "string",
- "has_password": true,
- "created_at": "2019-08-24T14:15:22Z",
- "last_login_at": "2019-08-24T14:15:22Z"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "email": "string",
- "display_name": "string",
- "status": "active",
- "kind": "human",
- "locale": "string",
- "has_password": true,
- "created_at": "2019-08-24T14:15:22Z",
- "last_login_at": "2019-08-24T14:15:22Z"
}| userId required | string <uuid> |
| display_name | string <= 200 characters |
| status | string (UserStatus) Enum: "active" "disabled" |
| locale | string <= 16 characters |
{- "display_name": "string",
- "status": "active",
- "locale": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "email": "string",
- "display_name": "string",
- "status": "active",
- "kind": "human",
- "locale": "string",
- "has_password": true,
- "created_at": "2019-08-24T14:15:22Z",
- "last_login_at": "2019-08-24T14:15:22Z"
}| userId required | string <uuid> |
| new_password required | string <= 256 characters |
{- "new_password": "string"
}{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}| userId required | string <uuid> |
{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}{- "items": [
- {
- "id": "string",
- "provider": "string",
- "amr": [
- "string"
], - "ip": "string",
- "user_agent": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "last_seen_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "current": true
}
]
}| userId required | string <uuid> |
{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}| userId required | string <uuid> |
| sessionId required | string <= 64 characters |
{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}| name required | string [ 1 .. 100 ] characters |
| description | string <= 500 characters |
| permissions required | Array of strings <= 100 items |
{- "name": "string",
- "description": "string",
- "permissions": [
- "string"
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "permissions": [
- "string"
], - "builtin": true,
- "created_at": "2019-08-24T14:15:22Z"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "permissions": [
- "string"
], - "builtin": true,
- "created_at": "2019-08-24T14:15:22Z"
}| roleId required | string <uuid> |
| name required | string [ 1 .. 100 ] characters |
| description | string <= 500 characters |
| permissions required | Array of strings <= 100 items |
{- "name": "string",
- "description": "string",
- "permissions": [
- "string"
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "permissions": [
- "string"
], - "builtin": true,
- "created_at": "2019-08-24T14:15:22Z"
}{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}| user_id | string <uuid> |
| role_id | string <uuid> |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "role_name": "string",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "scope_type": "global",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "scope_tag": "string",
- "source_provider_id": "89679b1d-5eea-4ceb-8c38-aea88452dbc0",
- "created_at": "2019-08-24T14:15:22Z"
}
]
}| role_id required | string <uuid> |
| user_id required | string <uuid> |
| scope_type required | string (ScopeType) Enum: "global" "tenant" "cluster" "pool" "tag" |
| scope_id | string <uuid> |
| scope_tag | string <= 100 characters |
{- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "scope_type": "global",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "scope_tag": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "role_name": "string",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "scope_type": "global",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "scope_tag": "string",
- "source_provider_id": "89679b1d-5eea-4ceb-8c38-aea88452dbc0",
- "created_at": "2019-08-24T14:15:22Z"
}{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "kind": "ldap",
- "name": "string",
- "enabled": true,
- "require_mfa": true,
- "config": { },
- "secrets_set": [
- "string"
], - "callback_url": "string",
- "acs_url": "string",
- "metadata_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}| kind required | string Enum: "ldap" "oidc" "saml" |
| name required | string [ 1 .. 100 ] characters |
| enabled required | boolean |
| require_mfa | boolean |
required | object |
object |
{- "kind": "ldap",
- "name": "string",
- "enabled": true,
- "require_mfa": true,
- "config": { },
- "secrets": {
- "property1": "string",
- "property2": "string"
}
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "kind": "ldap",
- "name": "string",
- "enabled": true,
- "require_mfa": true,
- "config": { },
- "secrets_set": [
- "string"
], - "callback_url": "string",
- "acs_url": "string",
- "metadata_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| providerId required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "kind": "ldap",
- "name": "string",
- "enabled": true,
- "require_mfa": true,
- "config": { },
- "secrets_set": [
- "string"
], - "callback_url": "string",
- "acs_url": "string",
- "metadata_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| providerId required | string <uuid> |
| kind required | string Enum: "ldap" "oidc" "saml" |
| name required | string [ 1 .. 100 ] characters |
| enabled required | boolean |
| require_mfa | boolean |
required | object |
object |
{- "kind": "ldap",
- "name": "string",
- "enabled": true,
- "require_mfa": true,
- "config": { },
- "secrets": {
- "property1": "string",
- "property2": "string"
}
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "kind": "ldap",
- "name": "string",
- "enabled": true,
- "require_mfa": true,
- "config": { },
- "secrets_set": [
- "string"
], - "callback_url": "string",
- "acs_url": "string",
- "metadata_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| providerId required | string <uuid> |
{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "group_name": "string",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "scope_type": "global",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "scope_tag": "string"
}
]
}| providerId required | string <uuid> |
| group_name required | string [ 1 .. 1024 ] characters |
| role_id required | string <uuid> |
| scope_type required | string (ScopeType) Enum: "global" "tenant" "cluster" "pool" "tag" |
| scope_id | string <uuid> |
| scope_tag | string <= 100 characters |
{- "group_name": "string",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "scope_type": "global",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "scope_tag": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "group_name": "string",
- "role_id": "ac4e70c8-d5be-48af-93eb-760f58fc91a9",
- "scope_type": "global",
- "scope_id": "5d3fe357-12dd-4f62-b004-6d1fb3b8454f",
- "scope_tag": "string"
}| providerId required | string <uuid> |
| mappingId required | string <uuid> |
{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "permissions": [
- "string"
], - "expires_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "last_used_at": "2019-08-24T14:15:22Z",
- "revoked_at": "2019-08-24T14:15:22Z",
- "owner_name": "string",
- "owner_email": "string"
}
]
}| name required | string [ 1 .. 100 ] characters |
| permissions required | Array of strings [ 1 .. 100 ] items |
| expires_at required | string <date-time> At most 365 days ahead. |
| user_id | string <uuid> Owner (admin endpoint only); defaults to the caller. |
{- "name": "string",
- "permissions": [
- "string"
], - "expires_at": "2019-08-24T14:15:22Z",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5"
}{- "key": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "permissions": [
- "string"
], - "expires_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "last_used_at": "2019-08-24T14:15:22Z",
- "revoked_at": "2019-08-24T14:15:22Z",
- "owner_name": "string",
- "owner_email": "string"
}, - "token": "string"
}{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}Installed plugin packages with their configuration schema and whether the licence includes them.
{- "items": [
- {
- "name": "string",
- "version": "string",
- "api_version": "string",
- "kind": "storage",
- "vendor": "string",
- "product": "string",
- "locations": [
- "center"
], - "feature": "string",
- "licensed": true,
- "min_edition": "community",
- "capabilities": [
- "string"
], - "schema": { },
- "locales": {
- "property1": {
- "property1": "string",
- "property2": "string"
}, - "property2": {
- "property1": "string",
- "property2": "string"
}
}
}
]
}| cluster_id | string <uuid> |
| kind | string Enum: "storage" "backup" |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "plugin": "string",
- "kind": "storage",
- "location": "center",
- "name": "string",
- "enabled": true,
- "interval_seconds": 0,
- "settings": { },
- "secrets_set": [
- "string"
], - "health": {
- "status": "unknown",
- "code": "string",
- "product_version": "string"
}, - "plugin_version": "string",
- "last_collected_at": "2019-08-24T14:15:22Z",
- "last_error_code": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}| cluster_id required | string <uuid> |
| plugin required | string |
| name required | string [ 1 .. 100 ] characters |
| location | string (PluginLocation) Enum: "center" "connector" |
| enabled required | boolean |
| interval_seconds | integer [ 60 .. 86400 ] |
required | object |
object Empty string removes a secret; omitted secrets keep their value. |
{- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "plugin": "string",
- "name": "string",
- "location": "center",
- "enabled": true,
- "interval_seconds": 60,
- "settings": { },
- "secrets": {
- "property1": "string",
- "property2": "string"
}
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "plugin": "string",
- "kind": "storage",
- "location": "center",
- "name": "string",
- "enabled": true,
- "interval_seconds": 0,
- "settings": { },
- "secrets_set": [
- "string"
], - "health": {
- "status": "unknown",
- "code": "string",
- "product_version": "string"
}, - "plugin_version": "string",
- "last_collected_at": "2019-08-24T14:15:22Z",
- "last_error_code": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Runs a health check with a configuration that is not stored. With instance_id, omitted secrets are taken from that instance.
| cluster_id required | string <uuid> |
| plugin required | string |
| name required | string [ 1 .. 100 ] characters |
| location | string (PluginLocation) Enum: "center" "connector" |
| enabled required | boolean |
| interval_seconds | integer [ 60 .. 86400 ] |
required | object |
object Empty string removes a secret; omitted secrets keep their value. | |
| instance_id | string <uuid> |
{- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "plugin": "string",
- "name": "string",
- "location": "center",
- "enabled": true,
- "interval_seconds": 60,
- "settings": { },
- "secrets": {
- "property1": "string",
- "property2": "string"
}, - "instance_id": "06587974-2dbe-4e10-8bf9-38cce0f5a366"
}{- "status": "unknown",
- "code": "string",
- "product_version": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "plugin": "string",
- "kind": "storage",
- "location": "center",
- "name": "string",
- "enabled": true,
- "interval_seconds": 0,
- "settings": { },
- "secrets_set": [
- "string"
], - "health": {
- "status": "unknown",
- "code": "string",
- "product_version": "string"
}, - "plugin_version": "string",
- "last_collected_at": "2019-08-24T14:15:22Z",
- "last_error_code": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| instanceId required | string <uuid> |
| cluster_id required | string <uuid> |
| plugin required | string |
| name required | string [ 1 .. 100 ] characters |
| location | string (PluginLocation) Enum: "center" "connector" |
| enabled required | boolean |
| interval_seconds | integer [ 60 .. 86400 ] |
required | object |
object Empty string removes a secret; omitted secrets keep their value. |
{- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "plugin": "string",
- "name": "string",
- "location": "center",
- "enabled": true,
- "interval_seconds": 60,
- "settings": { },
- "secrets": {
- "property1": "string",
- "property2": "string"
}
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "plugin": "string",
- "kind": "storage",
- "location": "center",
- "name": "string",
- "enabled": true,
- "interval_seconds": 0,
- "settings": { },
- "secrets_set": [
- "string"
], - "health": {
- "status": "unknown",
- "code": "string",
- "product_version": "string"
}, - "plugin_version": "string",
- "last_collected_at": "2019-08-24T14:15:22Z",
- "last_error_code": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| instanceId required | string <uuid> |
{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}Schedules a collection now.
| instanceId required | string <uuid> |
{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}Storage plugin instances the caller may see with their last collected data (ADR 0026 §5).
| cluster_id | string <uuid> |
{- "items": [
- {
- "instance_id": "06587974-2dbe-4e10-8bf9-38cce0f5a366",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "plugin": "string",
- "name": "string",
- "health": {
- "status": "unknown",
- "code": "string",
- "product_version": "string"
}, - "last_collected_at": "2019-08-24T14:15:22Z",
- "last_error_code": "string",
- "systems": [
- {
- "id": "string",
- "name": "string",
- "model": "string",
- "serial": "string",
- "firmware": "string",
- "status": "online",
- "capacity_bytes": 0,
- "used_bytes": 0,
- "free_bytes": 0,
- "provisioned_bytes": 0,
- "pools": [
- {
- "id": "string",
- "name": "string",
- "status": "string",
- "capacity_bytes": 0,
- "used_bytes": 0,
- "free_bytes": 0
}
]
}
], - "volumes": [
- {
- "id": "string",
- "name": "string",
- "system_id": "string",
- "pool_id": "string",
- "status": "string",
- "capacity_bytes": 0,
- "used_bytes": 0,
- "thin": true,
- "wwn": "string",
- "mapped_hosts": [
- "string"
]
}
], - "hosts": [
- {
- "id": "string",
- "name": "string",
- "status": "string",
- "protocol": "string",
- "paths_total": 0,
- "paths_active": 0,
- "ports": [
- {
- "id": "string",
- "status": "string"
}
]
}
], - "snapshots": [
- {
- "id": "string",
- "name": "string",
- "volume_id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "size_bytes": 0
}
], - "performance": {
- "collected_at": "2019-08-24T14:15:22Z",
- "systems": [
- {
- "read_iops": 0,
- "write_iops": 0,
- "read_latency_ms": 0,
- "write_latency_ms": 0,
- "read_bps": 0,
- "write_bps": 0,
- "system_id": "string"
}
]
}
}
]
}Backup state of every VM the caller may see, from backup plugins (ADR 0026 §5). VMs without a plugin row are unprotected.
| cluster_id | string <uuid> |
| state | string Enum: "all" "protected" "unprotected" "failed" "warning" "stale" |
| stale_hours | integer [ 1 .. 8760 ] Default: 24 |
{- "total": 0,
- "protected": 0,
- "unprotected": 0,
- "failed": 0,
- "warning": 0,
- "stale": 0,
- "items": [
- {
- "vm_id": "9a025db5-7896-46f6-883f-28fe3549d7b4",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "vmid": 0,
- "name": "string",
- "status": "string",
- "protections": 0,
- "last_success_at": "2019-08-24T14:15:22Z",
- "last_run_at": "2019-08-24T14:15:22Z",
- "worst_result": "success",
- "restore_points": 0,
- "stale": true
}
]
}Backup plugin instances with their jobs and repositories.
| cluster_id | string <uuid> |
{- "items": [
- {
- "instance_id": "06587974-2dbe-4e10-8bf9-38cce0f5a366",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "plugin": "string",
- "name": "string",
- "health": {
- "status": "unknown",
- "code": "string",
- "product_version": "string"
}, - "last_collected_at": "2019-08-24T14:15:22Z",
- "last_error_code": "string",
- "jobs": [
- {
- "id": "string",
- "name": "string",
- "type": "string",
- "enabled": true,
- "objects": 0,
- "next_run": "2019-08-24T14:15:22Z",
- "last_run": {
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z",
- "result": "success",
- "succeeded": 0,
- "warnings": 0,
- "failed": 0
}
}
], - "repositories": [
- {
- "id": "string",
- "name": "string",
- "type": "string",
- "status": "string",
- "capacity_bytes": 0,
- "used_bytes": 0,
- "free_bytes": 0
}
]
}
]
}Backups that match no VM in the inventory (deleted or renamed VMs).
| cluster_id | string <uuid> |
{- "items": [
- {
- "instance_id": "06587974-2dbe-4e10-8bf9-38cce0f5a366",
- "instance_name": "string",
- "plugin": "string",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "vm_id": "9a025db5-7896-46f6-883f-28fe3549d7b4",
- "ref_vmid": 0,
- "ref_name": "string",
- "job_name": "string",
- "repository_id": "string",
- "last_run_at": "2019-08-24T14:15:22Z",
- "last_result": "success",
- "last_success_at": "2019-08-24T14:15:22Z",
- "restore_points": 0,
- "last_size_bytes": 0
}
]
}{- "items": [
- {
- "instance_id": "06587974-2dbe-4e10-8bf9-38cce0f5a366",
- "instance_name": "string",
- "plugin": "string",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "vm_id": "9a025db5-7896-46f6-883f-28fe3549d7b4",
- "ref_vmid": 0,
- "ref_name": "string",
- "job_name": "string",
- "repository_id": "string",
- "last_run_at": "2019-08-24T14:15:22Z",
- "last_result": "success",
- "last_success_at": "2019-08-24T14:15:22Z",
- "restore_points": 0,
- "last_size_bytes": 0
}
]
}Asks each backup instance that protects the VM for its restore points (read live from the product).
| vmId required | string <uuid> |
| limit | integer [ 1 .. 500 ] Default: 100 |
{- "items": [
- {
- "instance_id": "06587974-2dbe-4e10-8bf9-38cce0f5a366",
- "instance_name": "string",
- "error_code": "string",
- "items": [
- {
- "id": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "type": "string",
- "size_bytes": 0,
- "repository_id": "string",
- "verified": true,
- "protected": true
}
]
}
]
}Proxmox HA state per cluster as last reported by its connector (ADR 0027), with Nexhypro Virtual maintenance flags.
| cluster_id | string <uuid> |
{- "items": [
- {
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "updated_at": "2019-08-24T14:15:22Z",
- "quorate": true,
- "master": "string",
- "manager_status": "string",
- "nodes": [
- {
- "node": "string",
- "status": "string"
}
], - "resources": [
- {
- "sid": "string",
- "vmid": 0,
- "kind": "string",
- "state": "string",
- "node": "string",
- "crm_state": "string",
- "group": "string",
- "max_restart": 0,
- "max_relocate": 0,
- "comment": "string",
- "vm_id": "9a025db5-7896-46f6-883f-28fe3549d7b4",
- "vm_name": "string"
}
], - "groups": [
- {
- "group": "string",
- "nodes": [
- "string"
], - "restricted": true,
- "nofailback": true,
- "comment": "string"
}
], - "rules": [
- {
- "rule": "string",
- "type": "string",
- "resources": [
- "string"
], - "nodes": [
- "string"
], - "affinity": "string",
- "strict": true,
- "disabled": true,
- "comment": "string"
}
], - "maintenance_hosts": [
- "string"
]
}
]
}Failover history and other HA changes derived from consecutive states, newest first.
| cluster_id | string <uuid> |
| limit | integer [ 1 .. 500 ] Default: 100 |
{- "items": [
- {
- "id": 0,
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "at": "2019-08-24T14:15:22Z",
- "kind": "failover",
- "sid": "string",
- "vmid": 0,
- "node": "string",
- "from_node": "string",
- "to_node": "string",
- "state": "string"
}
]
}ESXi import storages registered as migration sources (ADR 0028 §1).
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "name": "string",
- "storage": "string",
- "kind": "esxi",
- "server": "string",
- "username": "string",
- "status": "new",
- "error_code": "string",
- "vm_count": 0,
- "last_scan_at": "2019-08-24T14:15:22Z",
- "last_scan_job": "45d1294c-3f27-4439-9963-4d4d706a4200",
- "created_at": "2019-08-24T14:15:22Z",
- "control": {
- "endpoint": "string",
- "username": "string",
- "fingerprint": "string",
- "password_set": true,
- "product": "string",
- "version": "string",
- "api_type": "string",
- "missing": [
- "string"
], - "disabled": [
- "power"
], - "checked_at": "2019-08-24T14:15:22Z"
}
}
]
}Links an existing ESXi import storage of the cluster, or creates one through the connector. The password is passed to Proxmox and never stored by Nexhypro Virtual.
| cluster_id required | string <uuid> |
| name required | string [ 1 .. 100 ] characters |
| mode required | string Enum: "link" "create" Link an existing ESXi storage or create it. |
| storage required | string <= 100 characters Proxmox storage id. |
| kind | string Default: "esxi" Enum: "esxi" "vcenter" |
| server | string <= 253 characters Required with mode create. |
| username | string <= 128 characters |
| password | string <= 256 characters Passed to Proxmox only. |
| skip_cert_verify | boolean Default: false |
{- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "name": "string",
- "mode": "link",
- "storage": "string",
- "kind": "esxi",
- "server": "string",
- "username": "string",
- "password": "string",
- "skip_cert_verify": false
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "name": "string",
- "storage": "string",
- "kind": "esxi",
- "server": "string",
- "username": "string",
- "status": "new",
- "error_code": "string",
- "vm_count": 0,
- "last_scan_at": "2019-08-24T14:15:22Z",
- "last_scan_job": "45d1294c-3f27-4439-9963-4d4d706a4200",
- "created_at": "2019-08-24T14:15:22Z",
- "control": {
- "endpoint": "string",
- "username": "string",
- "fingerprint": "string",
- "password_set": true,
- "product": "string",
- "version": "string",
- "api_type": "string",
- "missing": [
- "string"
], - "disabled": [
- "power"
], - "checked_at": "2019-08-24T14:15:22Z"
}
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "name": "string",
- "storage": "string",
- "kind": "esxi",
- "server": "string",
- "username": "string",
- "status": "new",
- "error_code": "string",
- "vm_count": 0,
- "last_scan_at": "2019-08-24T14:15:22Z",
- "last_scan_job": "45d1294c-3f27-4439-9963-4d4d706a4200",
- "created_at": "2019-08-24T14:15:22Z",
- "control": {
- "endpoint": "string",
- "username": "string",
- "fingerprint": "string",
- "password_set": true,
- "product": "string",
- "version": "string",
- "api_type": "string",
- "missing": [
- "string"
], - "disabled": [
- "power"
], - "checked_at": "2019-08-24T14:15:22Z"
}
}Removes the source with its inventory, mappings and plans. The Proxmox storage stays.
| sourceId required | string <uuid> |
{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}| sourceId required | string <uuid> |
| Idempotency-Key required | string [ 1 .. 200 ] characters Client-chosen key, unique per tenant. Repeating a request with the same key returns the original command instead of creating a new one. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "type": "vm.migrate",
- "target_type": "vm",
- "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9",
- "params": { },
- "status": "awaiting_approval",
- "progress": 0,
- "attempts": 0,
- "max_attempts": 0,
- "cancel_requested": true,
- "error_code": "string",
- "result": { },
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "steps": [
- {
- "seq": 0,
- "name": "string",
- "status": "running",
- "command_id": "7d510d78-7444-4252-aeac-9e473949661e",
- "error_code": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z"
}
]
}Reads the TLS certificate fingerprint of a source's management server or host through the cluster's connector, without logging in, for the operator to compare with the one the server shows (ADR 0038 §2).
| sourceId required | string <uuid> |
| endpoint required | string <= 253 characters |
{- "endpoint": "string"
}{- "fingerprint": "string"
}Sets the source's control connection (ADR 0038 §2). The connector logs in pinned to the confirmed fingerprint and reports the version and missing privileges; the password is sealed and never returned. An empty password keeps the stored one when the endpoint and user stay the same. Needs the migration.control licence feature.
| sourceId required | string <uuid> |
| endpoint required | string <= 253 characters |
| username required | string <= 128 characters |
| password | string <= 256 characters |
| fingerprint required | string The SHA-256 fingerprint the operator confirmed. |
{- "endpoint": "string",
- "username": "string",
- "password": "string",
- "fingerprint": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "name": "string",
- "storage": "string",
- "kind": "esxi",
- "server": "string",
- "username": "string",
- "status": "new",
- "error_code": "string",
- "vm_count": 0,
- "last_scan_at": "2019-08-24T14:15:22Z",
- "last_scan_job": "45d1294c-3f27-4439-9963-4d4d706a4200",
- "created_at": "2019-08-24T14:15:22Z",
- "control": {
- "endpoint": "string",
- "username": "string",
- "fingerprint": "string",
- "password_set": true,
- "product": "string",
- "version": "string",
- "api_type": "string",
- "missing": [
- "string"
], - "disabled": [
- "power"
], - "checked_at": "2019-08-24T14:15:22Z"
}
}Removes the control connection and its sealed password.
| sourceId required | string <uuid> |
{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}| sourceId required | string <uuid> |
| q | string <= 200 characters |
| precheck | string (MigrationSeverity) Enum: "ok" "info" "warning" "blocker" |
| include_gone | boolean Default: false |
| limit | integer [ 1 .. 1000 ] Default: 200 |
| offset | integer >= 0 Default: 0 |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "volume": "string",
- "name": "string",
- "datacenter": "string",
- "datastores": [
- "string"
], - "power_state": "on",
- "ostype": "string",
- "firmware": "string",
- "cores": 0,
- "sockets": 0,
- "memory_mib": 0,
- "disk_bytes": 0,
- "disks": [
- {
- "key": "string",
- "volume": "string",
- "datastore": "string",
- "size_bytes": 0,
- "format": "string"
}
], - "nics": [
- {
- "key": "string",
- "model": "string",
- "mac": "string",
- "network": "string"
}
], - "snapshots": true,
- "tools": "running",
- "guest_ips": [
- "string"
], - "error_code": "string",
- "precheck_status": "ok",
- "findings": [
- {
- "code": "string",
- "severity": "ok",
- "subject": "string"
}
], - "windows": true,
- "last_item_status": "string",
- "seen_at": "2019-08-24T14:15:22Z",
- "gone_at": "2019-08-24T14:15:22Z"
}
], - "total": 0,
- "windows_checklist": [
- "string"
]
}| sourceVmId required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "volume": "string",
- "name": "string",
- "datacenter": "string",
- "datastores": [
- "string"
], - "power_state": "on",
- "ostype": "string",
- "firmware": "string",
- "cores": 0,
- "sockets": 0,
- "memory_mib": 0,
- "disk_bytes": 0,
- "disks": [
- {
- "key": "string",
- "volume": "string",
- "datastore": "string",
- "size_bytes": 0,
- "format": "string"
}
], - "nics": [
- {
- "key": "string",
- "model": "string",
- "mac": "string",
- "network": "string"
}
], - "snapshots": true,
- "tools": "running",
- "guest_ips": [
- "string"
], - "error_code": "string",
- "precheck_status": "ok",
- "findings": [
- {
- "code": "string",
- "severity": "ok",
- "subject": "string"
}
], - "windows": true,
- "last_item_status": "string",
- "seen_at": "2019-08-24T14:15:22Z",
- "gone_at": "2019-08-24T14:15:22Z"
}ESXi import storages of the visible clusters, with the source that links each, if any.
| cluster_id | string <uuid> |
{- "items": [
- {
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "storage": "string",
- "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81"
}
]
}{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "name": "string",
- "rules": {
- "networks": [
- {
- "source": "string",
- "bridge": "string",
- "vlan": 0
}
], - "datastores": [
- {
- "source": "string",
- "target": "string"
}
], - "datacenters": [
- {
- "source": "string",
- "pool": "string"
}
], - "placement": "string",
- "readdress": [
- {
- "source": "string",
- "target": "string",
- "gateway": "string",
- "dns": [
- "string"
]
}
]
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}| source_id required | string <uuid> |
| name required | string [ 1 .. 100 ] characters |
required | object (MigrationRules) |
{- "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "name": "string",
- "rules": {
- "networks": [
- {
- "source": "string",
- "bridge": "string",
- "vlan": 0
}
], - "datastores": [
- {
- "source": "string",
- "target": "string"
}
], - "datacenters": [
- {
- "source": "string",
- "pool": "string"
}
], - "placement": "string",
- "readdress": [
- {
- "source": "string",
- "target": "string",
- "gateway": "string",
- "dns": [
- "string"
]
}
]
}
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "name": "string",
- "rules": {
- "networks": [
- {
- "source": "string",
- "bridge": "string",
- "vlan": 0
}
], - "datastores": [
- {
- "source": "string",
- "target": "string"
}
], - "datacenters": [
- {
- "source": "string",
- "pool": "string"
}
], - "placement": "string",
- "readdress": [
- {
- "source": "string",
- "target": "string",
- "gateway": "string",
- "dns": [
- "string"
]
}
]
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| mappingId required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "name": "string",
- "rules": {
- "networks": [
- {
- "source": "string",
- "bridge": "string",
- "vlan": 0
}
], - "datastores": [
- {
- "source": "string",
- "target": "string"
}
], - "datacenters": [
- {
- "source": "string",
- "pool": "string"
}
], - "placement": "string",
- "readdress": [
- {
- "source": "string",
- "target": "string",
- "gateway": "string",
- "dns": [
- "string"
]
}
]
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| mappingId required | string <uuid> |
| source_id required | string <uuid> |
| name required | string [ 1 .. 100 ] characters |
required | object (MigrationRules) |
{- "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "name": "string",
- "rules": {
- "networks": [
- {
- "source": "string",
- "bridge": "string",
- "vlan": 0
}
], - "datastores": [
- {
- "source": "string",
- "target": "string"
}
], - "datacenters": [
- {
- "source": "string",
- "pool": "string"
}
], - "placement": "string",
- "readdress": [
- {
- "source": "string",
- "target": "string",
- "gateway": "string",
- "dns": [
- "string"
]
}
]
}
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "name": "string",
- "rules": {
- "networks": [
- {
- "source": "string",
- "bridge": "string",
- "vlan": 0
}
], - "datastores": [
- {
- "source": "string",
- "target": "string"
}
], - "datacenters": [
- {
- "source": "string",
- "pool": "string"
}
], - "placement": "string",
- "readdress": [
- {
- "source": "string",
- "target": "string",
- "gateway": "string",
- "dns": [
- "string"
]
}
]
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Fails with 409 while a plan uses the template.
| mappingId required | string <uuid> |
{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "mapping_id": "9fd90e5f-616a-481f-87a6-42d72ba405e7",
- "name": "string",
- "settings": {
- "throughput_mibps": 150,
- "agent": "required",
- "network": "required",
- "probe_port": 0,
- "rollback": "auto",
- "compat": false,
- "import_mode": "cold",
- "shutdown_minutes": 10,
- "force_power_off": false,
- "keep_source_nics": false,
- "windows_virtio_url": "string",
- "windows_virtio_sha256": "string",
- "windows_agent_url": "string",
- "windows_agent_sha256": "string"
}, - "wave_count": 0,
- "item_count": 0,
- "succeeded_count": 0,
- "failed_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "guest_credentials": {
- "windows": "string",
- "linux": "string"
}
}
]
}| source_id required | string <uuid> |
| mapping_id required | string <uuid> |
| name required | string [ 1 .. 100 ] characters |
object (MigrationSettings) |
{- "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "mapping_id": "9fd90e5f-616a-481f-87a6-42d72ba405e7",
- "name": "string",
- "settings": {
- "throughput_mibps": 150,
- "agent": "required",
- "network": "required",
- "probe_port": 0,
- "rollback": "auto",
- "compat": false,
- "import_mode": "cold",
- "shutdown_minutes": 10,
- "force_power_off": false,
- "keep_source_nics": false,
- "windows_virtio_url": "string",
- "windows_virtio_sha256": "string",
- "windows_agent_url": "string",
- "windows_agent_sha256": "string"
}
}{- "plan": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "mapping_id": "9fd90e5f-616a-481f-87a6-42d72ba405e7",
- "name": "string",
- "settings": {
- "throughput_mibps": 150,
- "agent": "required",
- "network": "required",
- "probe_port": 0,
- "rollback": "auto",
- "compat": false,
- "import_mode": "cold",
- "shutdown_minutes": 10,
- "force_power_off": false,
- "keep_source_nics": false,
- "windows_virtio_url": "string",
- "windows_virtio_sha256": "string",
- "windows_agent_url": "string",
- "windows_agent_sha256": "string"
}, - "wave_count": 0,
- "item_count": 0,
- "succeeded_count": 0,
- "failed_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "guest_credentials": {
- "windows": "string",
- "linux": "string"
}
}, - "waves": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "plan_id": "00713021-9aea-41da-9a88-87760c08fa72",
- "seq": 0,
- "name": "string",
- "window_start": "2019-08-24T14:15:22Z",
- "window_end": "2019-08-24T14:15:22Z",
- "parallelism": 0,
- "auto_start": true,
- "status": "draft",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "estimate_seconds": 0,
- "window_exceeded": true
}
], - "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "plan_id": "00713021-9aea-41da-9a88-87760c08fa72",
- "wave_id": "1f4fc03d-1e37-4553-92d8-f8a3ca494099",
- "source_vm_id": "4166681a-3f59-42d5-b5da-045835918231",
- "source_name": "string",
- "source_ostype": "string",
- "source_power_state": "string",
- "source_disk_bytes": 0,
- "source_gone": true,
- "overrides": {
- "name": "string",
- "vmid": 100,
- "host_id": "eb4e20fc-2b4a-4d0c-811f-48abcf12b89b",
- "compat": true,
- "import_mode": "cold"
}, - "status": "pending",
- "error_code": "string",
- "issues": [
- {
- "code": "string",
- "severity": "ok",
- "subject": "string"
}
], - "findings": [
- {
- "code": "string",
- "severity": "ok",
- "subject": "string"
}
], - "precheck_status": "ok",
- "rollback_steps": [
- "string"
], - "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "target_vm_id": "594fc20a-c3fc-4b1d-9c28-94c2ccc85c2d",
- "target_vmid": 0,
- "target_node": "string",
- "estimate_seconds": 0,
- "copy_seconds": 0,
- "import_mode": "cold",
- "started_at": "2019-08-24T14:15:22Z",
- "cutover_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "prep_status": "running",
- "prep_error": "string",
- "prep_steps": [
- {
- "key": "virtio",
- "status": "ok",
- "detail": "string"
}
], - "guest_network": {
- "adapters": [
- {
- "mac": "string",
- "dhcp": true,
- "addresses": [
- "string"
], - "gateway": "string",
- "dns": [
- "string"
]
}
]
}, - "prepared_at": "2019-08-24T14:15:22Z",
- "network_changes": [
- {
- "mac": "string",
- "from": "string",
- "to": "string"
}
]
}
]
}The plan with its waves, items, current findings and estimates.
| planId required | string <uuid> |
{- "plan": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "mapping_id": "9fd90e5f-616a-481f-87a6-42d72ba405e7",
- "name": "string",
- "settings": {
- "throughput_mibps": 150,
- "agent": "required",
- "network": "required",
- "probe_port": 0,
- "rollback": "auto",
- "compat": false,
- "import_mode": "cold",
- "shutdown_minutes": 10,
- "force_power_off": false,
- "keep_source_nics": false,
- "windows_virtio_url": "string",
- "windows_virtio_sha256": "string",
- "windows_agent_url": "string",
- "windows_agent_sha256": "string"
}, - "wave_count": 0,
- "item_count": 0,
- "succeeded_count": 0,
- "failed_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "guest_credentials": {
- "windows": "string",
- "linux": "string"
}
}, - "waves": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "plan_id": "00713021-9aea-41da-9a88-87760c08fa72",
- "seq": 0,
- "name": "string",
- "window_start": "2019-08-24T14:15:22Z",
- "window_end": "2019-08-24T14:15:22Z",
- "parallelism": 0,
- "auto_start": true,
- "status": "draft",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "estimate_seconds": 0,
- "window_exceeded": true
}
], - "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "plan_id": "00713021-9aea-41da-9a88-87760c08fa72",
- "wave_id": "1f4fc03d-1e37-4553-92d8-f8a3ca494099",
- "source_vm_id": "4166681a-3f59-42d5-b5da-045835918231",
- "source_name": "string",
- "source_ostype": "string",
- "source_power_state": "string",
- "source_disk_bytes": 0,
- "source_gone": true,
- "overrides": {
- "name": "string",
- "vmid": 100,
- "host_id": "eb4e20fc-2b4a-4d0c-811f-48abcf12b89b",
- "compat": true,
- "import_mode": "cold"
}, - "status": "pending",
- "error_code": "string",
- "issues": [
- {
- "code": "string",
- "severity": "ok",
- "subject": "string"
}
], - "findings": [
- {
- "code": "string",
- "severity": "ok",
- "subject": "string"
}
], - "precheck_status": "ok",
- "rollback_steps": [
- "string"
], - "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "target_vm_id": "594fc20a-c3fc-4b1d-9c28-94c2ccc85c2d",
- "target_vmid": 0,
- "target_node": "string",
- "estimate_seconds": 0,
- "copy_seconds": 0,
- "import_mode": "cold",
- "started_at": "2019-08-24T14:15:22Z",
- "cutover_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "prep_status": "running",
- "prep_error": "string",
- "prep_steps": [
- {
- "key": "virtio",
- "status": "ok",
- "detail": "string"
}
], - "guest_network": {
- "adapters": [
- {
- "mac": "string",
- "dhcp": true,
- "addresses": [
- "string"
], - "gateway": "string",
- "dns": [
- "string"
]
}
]
}, - "prepared_at": "2019-08-24T14:15:22Z",
- "network_changes": [
- {
- "mac": "string",
- "from": "string",
- "to": "string"
}
]
}
]
}| planId required | string <uuid> |
| mapping_id required | string <uuid> |
| name required | string [ 1 .. 100 ] characters |
object (MigrationSettings) |
{- "mapping_id": "9fd90e5f-616a-481f-87a6-42d72ba405e7",
- "name": "string",
- "settings": {
- "throughput_mibps": 150,
- "agent": "required",
- "network": "required",
- "probe_port": 0,
- "rollback": "auto",
- "compat": false,
- "import_mode": "cold",
- "shutdown_minutes": 10,
- "force_power_off": false,
- "keep_source_nics": false,
- "windows_virtio_url": "string",
- "windows_virtio_sha256": "string",
- "windows_agent_url": "string",
- "windows_agent_sha256": "string"
}
}{- "plan": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "mapping_id": "9fd90e5f-616a-481f-87a6-42d72ba405e7",
- "name": "string",
- "settings": {
- "throughput_mibps": 150,
- "agent": "required",
- "network": "required",
- "probe_port": 0,
- "rollback": "auto",
- "compat": false,
- "import_mode": "cold",
- "shutdown_minutes": 10,
- "force_power_off": false,
- "keep_source_nics": false,
- "windows_virtio_url": "string",
- "windows_virtio_sha256": "string",
- "windows_agent_url": "string",
- "windows_agent_sha256": "string"
}, - "wave_count": 0,
- "item_count": 0,
- "succeeded_count": 0,
- "failed_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "guest_credentials": {
- "windows": "string",
- "linux": "string"
}
}, - "waves": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "plan_id": "00713021-9aea-41da-9a88-87760c08fa72",
- "seq": 0,
- "name": "string",
- "window_start": "2019-08-24T14:15:22Z",
- "window_end": "2019-08-24T14:15:22Z",
- "parallelism": 0,
- "auto_start": true,
- "status": "draft",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "estimate_seconds": 0,
- "window_exceeded": true
}
], - "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "plan_id": "00713021-9aea-41da-9a88-87760c08fa72",
- "wave_id": "1f4fc03d-1e37-4553-92d8-f8a3ca494099",
- "source_vm_id": "4166681a-3f59-42d5-b5da-045835918231",
- "source_name": "string",
- "source_ostype": "string",
- "source_power_state": "string",
- "source_disk_bytes": 0,
- "source_gone": true,
- "overrides": {
- "name": "string",
- "vmid": 100,
- "host_id": "eb4e20fc-2b4a-4d0c-811f-48abcf12b89b",
- "compat": true,
- "import_mode": "cold"
}, - "status": "pending",
- "error_code": "string",
- "issues": [
- {
- "code": "string",
- "severity": "ok",
- "subject": "string"
}
], - "findings": [
- {
- "code": "string",
- "severity": "ok",
- "subject": "string"
}
], - "precheck_status": "ok",
- "rollback_steps": [
- "string"
], - "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "target_vm_id": "594fc20a-c3fc-4b1d-9c28-94c2ccc85c2d",
- "target_vmid": 0,
- "target_node": "string",
- "estimate_seconds": 0,
- "copy_seconds": 0,
- "import_mode": "cold",
- "started_at": "2019-08-24T14:15:22Z",
- "cutover_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "prep_status": "running",
- "prep_error": "string",
- "prep_steps": [
- {
- "key": "virtio",
- "status": "ok",
- "detail": "string"
}
], - "guest_network": {
- "adapters": [
- {
- "mac": "string",
- "dhcp": true,
- "addresses": [
- "string"
], - "gateway": "string",
- "dns": [
- "string"
]
}
]
}, - "prepared_at": "2019-08-24T14:15:22Z",
- "network_changes": [
- {
- "mac": "string",
- "from": "string",
- "to": "string"
}
]
}
]
}Fails with 409 while a wave runs or awaits approval.
| planId required | string <uuid> |
{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}| planId required | string <uuid> |
| name required | string [ 1 .. 100 ] characters |
| window_start required | string <date-time> |
| window_end required | string <date-time> |
| parallelism | integer [ 1 .. 20 ] Default: 2 |
| auto_start | boolean Default: false Start the wave when its window opens. |
{- "name": "string",
- "window_start": "2019-08-24T14:15:22Z",
- "window_end": "2019-08-24T14:15:22Z",
- "parallelism": 2,
- "auto_start": false
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "plan_id": "00713021-9aea-41da-9a88-87760c08fa72",
- "seq": 0,
- "name": "string",
- "window_start": "2019-08-24T14:15:22Z",
- "window_end": "2019-08-24T14:15:22Z",
- "parallelism": 0,
- "auto_start": true,
- "status": "draft",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "estimate_seconds": 0,
- "window_exceeded": true
}Durations, states and issues per wave and VM. format=csv returns one row per VM with column keys as headers and codes as values (ADR 0028 §6).
| planId required | string <uuid> |
| format | string Default: "json" Enum: "json" "csv" |
{- "generated_at": "2019-08-24T14:15:22Z",
- "plan": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "mapping_id": "9fd90e5f-616a-481f-87a6-42d72ba405e7",
- "name": "string",
- "settings": {
- "throughput_mibps": 150,
- "agent": "required",
- "network": "required",
- "probe_port": 0,
- "rollback": "auto",
- "compat": false,
- "import_mode": "cold",
- "shutdown_minutes": 10,
- "force_power_off": false,
- "keep_source_nics": false,
- "windows_virtio_url": "string",
- "windows_virtio_sha256": "string",
- "windows_agent_url": "string",
- "windows_agent_sha256": "string"
}, - "wave_count": 0,
- "item_count": 0,
- "succeeded_count": 0,
- "failed_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "guest_credentials": {
- "windows": "string",
- "linux": "string"
}
}, - "source": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "name": "string",
- "storage": "string",
- "kind": "esxi",
- "server": "string",
- "username": "string",
- "status": "new",
- "error_code": "string",
- "vm_count": 0,
- "last_scan_at": "2019-08-24T14:15:22Z",
- "last_scan_job": "45d1294c-3f27-4439-9963-4d4d706a4200",
- "created_at": "2019-08-24T14:15:22Z",
- "control": {
- "endpoint": "string",
- "username": "string",
- "fingerprint": "string",
- "password_set": true,
- "product": "string",
- "version": "string",
- "api_type": "string",
- "missing": [
- "string"
], - "disabled": [
- "power"
], - "checked_at": "2019-08-24T14:15:22Z"
}
}, - "waves": [
- {
- "wave": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "plan_id": "00713021-9aea-41da-9a88-87760c08fa72",
- "seq": 0,
- "name": "string",
- "window_start": "2019-08-24T14:15:22Z",
- "window_end": "2019-08-24T14:15:22Z",
- "parallelism": 0,
- "auto_start": true,
- "status": "draft",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "estimate_seconds": 0,
- "window_exceeded": true
}, - "counts": {
- "property1": 0,
- "property2": 0
}, - "actual_seconds": 0,
- "downtime_seconds": 0
}
], - "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "plan_id": "00713021-9aea-41da-9a88-87760c08fa72",
- "wave_id": "1f4fc03d-1e37-4553-92d8-f8a3ca494099",
- "source_vm_id": "4166681a-3f59-42d5-b5da-045835918231",
- "source_name": "string",
- "source_ostype": "string",
- "source_power_state": "string",
- "source_disk_bytes": 0,
- "source_gone": true,
- "overrides": {
- "name": "string",
- "vmid": 100,
- "host_id": "eb4e20fc-2b4a-4d0c-811f-48abcf12b89b",
- "compat": true,
- "import_mode": "cold"
}, - "status": "pending",
- "error_code": "string",
- "issues": [
- {
- "code": "string",
- "severity": "ok",
- "subject": "string"
}
], - "findings": [
- {
- "code": "string",
- "severity": "ok",
- "subject": "string"
}
], - "precheck_status": "ok",
- "rollback_steps": [
- "string"
], - "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "target_vm_id": "594fc20a-c3fc-4b1d-9c28-94c2ccc85c2d",
- "target_vmid": 0,
- "target_node": "string",
- "estimate_seconds": 0,
- "copy_seconds": 0,
- "import_mode": "cold",
- "started_at": "2019-08-24T14:15:22Z",
- "cutover_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "prep_status": "running",
- "prep_error": "string",
- "prep_steps": [
- {
- "key": "virtio",
- "status": "ok",
- "detail": "string"
}
], - "guest_network": {
- "adapters": [
- {
- "mac": "string",
- "dhcp": true,
- "addresses": [
- "string"
], - "gateway": "string",
- "dns": [
- "string"
]
}
]
}, - "prepared_at": "2019-08-24T14:15:22Z",
- "network_changes": [
- {
- "mac": "string",
- "from": "string",
- "to": "string"
}
]
}
], - "totals": {
- "vms": 0,
- "disk_bytes": 0,
- "counts": {
- "property1": 0,
- "property2": 0
}
}
}Only draft waves can change.
| waveId required | string <uuid> |
| name required | string [ 1 .. 100 ] characters |
| window_start required | string <date-time> |
| window_end required | string <date-time> |
| parallelism | integer [ 1 .. 20 ] Default: 2 |
| auto_start | boolean Default: false Start the wave when its window opens. |
{- "name": "string",
- "window_start": "2019-08-24T14:15:22Z",
- "window_end": "2019-08-24T14:15:22Z",
- "parallelism": 2,
- "auto_start": false
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "plan_id": "00713021-9aea-41da-9a88-87760c08fa72",
- "seq": 0,
- "name": "string",
- "window_start": "2019-08-24T14:15:22Z",
- "window_end": "2019-08-24T14:15:22Z",
- "parallelism": 0,
- "auto_start": true,
- "status": "draft",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "estimate_seconds": 0,
- "window_exceeded": true
}Only draft waves can be deleted; their items go with them.
| waveId required | string <uuid> |
{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}| waveId required | string <uuid> |
| source_vm_ids required | Array of strings <uuid> [ 1 .. 1000 ] items [ items <uuid > ] |
{- "source_vm_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "plan_id": "00713021-9aea-41da-9a88-87760c08fa72",
- "wave_id": "1f4fc03d-1e37-4553-92d8-f8a3ca494099",
- "source_vm_id": "4166681a-3f59-42d5-b5da-045835918231",
- "source_name": "string",
- "source_ostype": "string",
- "source_power_state": "string",
- "source_disk_bytes": 0,
- "source_gone": true,
- "overrides": {
- "name": "string",
- "vmid": 100,
- "host_id": "eb4e20fc-2b4a-4d0c-811f-48abcf12b89b",
- "compat": true,
- "import_mode": "cold"
}, - "status": "pending",
- "error_code": "string",
- "issues": [
- {
- "code": "string",
- "severity": "ok",
- "subject": "string"
}
], - "findings": [
- {
- "code": "string",
- "severity": "ok",
- "subject": "string"
}
], - "precheck_status": "ok",
- "rollback_steps": [
- "string"
], - "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "target_vm_id": "594fc20a-c3fc-4b1d-9c28-94c2ccc85c2d",
- "target_vmid": 0,
- "target_node": "string",
- "estimate_seconds": 0,
- "copy_seconds": 0,
- "import_mode": "cold",
- "started_at": "2019-08-24T14:15:22Z",
- "cutover_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "prep_status": "running",
- "prep_error": "string",
- "prep_steps": [
- {
- "key": "virtio",
- "status": "ok",
- "detail": "string"
}
], - "guest_network": {
- "adapters": [
- {
- "mac": "string",
- "dhcp": true,
- "addresses": [
- "string"
], - "gateway": "string",
- "dns": [
- "string"
]
}
]
}, - "prepared_at": "2019-08-24T14:15:22Z",
- "network_changes": [
- {
- "mac": "string",
- "from": "string",
- "to": "string"
}
]
}
]
}Submits the wave job (ADR 0028 §5). An approval policy on migration.wave holds it for approval.
| waveId required | string <uuid> |
| Idempotency-Key required | string [ 1 .. 200 ] characters Client-chosen key, unique per tenant. Repeating a request with the same key returns the original command instead of creating a new one. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "type": "vm.migrate",
- "target_type": "vm",
- "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9",
- "params": { },
- "status": "awaiting_approval",
- "progress": 0,
- "attempts": 0,
- "max_attempts": 0,
- "cancel_requested": true,
- "error_code": "string",
- "result": { },
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "steps": [
- {
- "seq": 0,
- "name": "string",
- "status": "running",
- "command_id": "7d510d78-7444-4252-aeac-9e473949661e",
- "error_code": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z"
}
]
}Submits one guest preparation job per pending item of the wave (ADR 0038 §3), through the source's control connection with the plan's guest credentials. Run it days before the window; running it again is safe. Needs the migration.control licence feature.
| waveId required | string <uuid> |
| Idempotency-Key required | string [ 1 .. 200 ] characters Client-chosen key, unique per tenant. Repeating a request with the same key returns the original command instead of creating a new one. |
{- "jobs": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "count": 0
}Sets the plan's guest operating system credentials for one family (ADR 0038 §3). The password is sealed and never returned. Needs the migration.control licence feature.
| planId required | string <uuid> |
| family required | string^(windows|linux)$ |
| username required | string <= 256 characters |
| password required | string <= 256 characters |
{- "username": "string",
- "password": "string"
}{- "plan": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "source_id": "ae50a35c-df42-4eff-ba26-f8bc28d2af81",
- "mapping_id": "9fd90e5f-616a-481f-87a6-42d72ba405e7",
- "name": "string",
- "settings": {
- "throughput_mibps": 150,
- "agent": "required",
- "network": "required",
- "probe_port": 0,
- "rollback": "auto",
- "compat": false,
- "import_mode": "cold",
- "shutdown_minutes": 10,
- "force_power_off": false,
- "keep_source_nics": false,
- "windows_virtio_url": "string",
- "windows_virtio_sha256": "string",
- "windows_agent_url": "string",
- "windows_agent_sha256": "string"
}, - "wave_count": 0,
- "item_count": 0,
- "succeeded_count": 0,
- "failed_count": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "guest_credentials": {
- "windows": "string",
- "linux": "string"
}
}, - "waves": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "plan_id": "00713021-9aea-41da-9a88-87760c08fa72",
- "seq": 0,
- "name": "string",
- "window_start": "2019-08-24T14:15:22Z",
- "window_end": "2019-08-24T14:15:22Z",
- "parallelism": 0,
- "auto_start": true,
- "status": "draft",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "estimate_seconds": 0,
- "window_exceeded": true
}
], - "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "plan_id": "00713021-9aea-41da-9a88-87760c08fa72",
- "wave_id": "1f4fc03d-1e37-4553-92d8-f8a3ca494099",
- "source_vm_id": "4166681a-3f59-42d5-b5da-045835918231",
- "source_name": "string",
- "source_ostype": "string",
- "source_power_state": "string",
- "source_disk_bytes": 0,
- "source_gone": true,
- "overrides": {
- "name": "string",
- "vmid": 100,
- "host_id": "eb4e20fc-2b4a-4d0c-811f-48abcf12b89b",
- "compat": true,
- "import_mode": "cold"
}, - "status": "pending",
- "error_code": "string",
- "issues": [
- {
- "code": "string",
- "severity": "ok",
- "subject": "string"
}
], - "findings": [
- {
- "code": "string",
- "severity": "ok",
- "subject": "string"
}
], - "precheck_status": "ok",
- "rollback_steps": [
- "string"
], - "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "target_vm_id": "594fc20a-c3fc-4b1d-9c28-94c2ccc85c2d",
- "target_vmid": 0,
- "target_node": "string",
- "estimate_seconds": 0,
- "copy_seconds": 0,
- "import_mode": "cold",
- "started_at": "2019-08-24T14:15:22Z",
- "cutover_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "prep_status": "running",
- "prep_error": "string",
- "prep_steps": [
- {
- "key": "virtio",
- "status": "ok",
- "detail": "string"
}
], - "guest_network": {
- "adapters": [
- {
- "mac": "string",
- "dhcp": true,
- "addresses": [
- "string"
], - "gateway": "string",
- "dns": [
- "string"
]
}
]
}, - "prepared_at": "2019-08-24T14:15:22Z",
- "network_changes": [
- {
- "mac": "string",
- "from": "string",
- "to": "string"
}
]
}
]
}| planId required | string <uuid> |
| family required | string^(windows|linux)$ |
{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}Requests cancellation of the wave job; imports already running finish.
| waveId required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "plan_id": "00713021-9aea-41da-9a88-87760c08fa72",
- "seq": 0,
- "name": "string",
- "window_start": "2019-08-24T14:15:22Z",
- "window_end": "2019-08-24T14:15:22Z",
- "parallelism": 0,
- "auto_start": true,
- "status": "draft",
- "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "estimate_seconds": 0,
- "window_exceeded": true
}Moves a pending item to another draft wave of the plan or changes its overrides.
| itemId required | string <uuid> |
| wave_id required | string <uuid> |
required | object (MigrationOverrides) |
{- "wave_id": "1f4fc03d-1e37-4553-92d8-f8a3ca494099",
- "overrides": {
- "name": "string",
- "vmid": 100,
- "host_id": "eb4e20fc-2b4a-4d0c-811f-48abcf12b89b",
- "compat": true,
- "import_mode": "cold"
}
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "plan_id": "00713021-9aea-41da-9a88-87760c08fa72",
- "wave_id": "1f4fc03d-1e37-4553-92d8-f8a3ca494099",
- "source_vm_id": "4166681a-3f59-42d5-b5da-045835918231",
- "source_name": "string",
- "source_ostype": "string",
- "source_power_state": "string",
- "source_disk_bytes": 0,
- "source_gone": true,
- "overrides": {
- "name": "string",
- "vmid": 100,
- "host_id": "eb4e20fc-2b4a-4d0c-811f-48abcf12b89b",
- "compat": true,
- "import_mode": "cold"
}, - "status": "pending",
- "error_code": "string",
- "issues": [
- {
- "code": "string",
- "severity": "ok",
- "subject": "string"
}
], - "findings": [
- {
- "code": "string",
- "severity": "ok",
- "subject": "string"
}
], - "precheck_status": "ok",
- "rollback_steps": [
- "string"
], - "job_id": "453bd7d7-5355-4d6d-a38e-d9e7eb218c3f",
- "target_vm_id": "594fc20a-c3fc-4b1d-9c28-94c2ccc85c2d",
- "target_vmid": 0,
- "target_node": "string",
- "estimate_seconds": 0,
- "copy_seconds": 0,
- "import_mode": "cold",
- "started_at": "2019-08-24T14:15:22Z",
- "cutover_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "prep_status": "running",
- "prep_error": "string",
- "prep_steps": [
- {
- "key": "virtio",
- "status": "ok",
- "detail": "string"
}
], - "guest_network": {
- "adapters": [
- {
- "mac": "string",
- "dhcp": true,
- "addresses": [
- "string"
], - "gateway": "string",
- "dns": [
- "string"
]
}
]
}, - "prepared_at": "2019-08-24T14:15:22Z",
- "network_changes": [
- {
- "mac": "string",
- "from": "string",
- "to": "string"
}
]
}Only pending items that never started can be removed.
| itemId required | string <uuid> |
{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}| action required | string <= 100 characters |
| required_approvals required | integer [ 1 .. 5 ] |
| enabled required | boolean |
{- "required_approvals": 1,
- "enabled": true
}{- "action": "string",
- "required_approvals": 0,
- "enabled": true
}| limit | integer [ 1 .. 500 ] Default: 50 |
| cursor | string <= 1024 characters |
| status | string (ApprovalStatus) Enum: "pending" "approved" "rejected" "expired" "executed" "cancelled" |
| mine | boolean |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "action": "string",
- "target_type": "string",
- "target_id": "string",
- "payload": { },
- "reason": "string",
- "requested_by": "cda0f200-65cd-4343-aedd-9c936b908826",
- "required_approvals": 0,
- "status": "pending",
- "expires_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "decided_at": "2019-08-24T14:15:22Z",
- "executed_at": "2019-08-24T14:15:22Z",
- "decisions": [
- {
- "approver_id": "1b287364-14ff-4b72-8953-b40399093a6f",
- "decision": "approve",
- "comment": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
]
}
], - "next_cursor": "string"
}| action required | string <= 100 characters |
| target_type required | string <= 100 characters |
| target_id required | string <= 200 characters |
object | |
| reason | string <= 2000 characters |
{- "action": "string",
- "target_type": "string",
- "target_id": "string",
- "payload": { },
- "reason": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "action": "string",
- "target_type": "string",
- "target_id": "string",
- "payload": { },
- "reason": "string",
- "requested_by": "cda0f200-65cd-4343-aedd-9c936b908826",
- "required_approvals": 0,
- "status": "pending",
- "expires_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "decided_at": "2019-08-24T14:15:22Z",
- "executed_at": "2019-08-24T14:15:22Z",
- "decisions": [
- {
- "approver_id": "1b287364-14ff-4b72-8953-b40399093a6f",
- "decision": "approve",
- "comment": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "action": "string",
- "target_type": "string",
- "target_id": "string",
- "payload": { },
- "reason": "string",
- "requested_by": "cda0f200-65cd-4343-aedd-9c936b908826",
- "required_approvals": 0,
- "status": "pending",
- "expires_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "decided_at": "2019-08-24T14:15:22Z",
- "executed_at": "2019-08-24T14:15:22Z",
- "decisions": [
- {
- "approver_id": "1b287364-14ff-4b72-8953-b40399093a6f",
- "decision": "approve",
- "comment": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
]
}| requestId required | string <uuid> |
| decision required | string Enum: "approve" "reject" |
| comment | string <= 2000 characters |
{- "decision": "approve",
- "comment": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "action": "string",
- "target_type": "string",
- "target_id": "string",
- "payload": { },
- "reason": "string",
- "requested_by": "cda0f200-65cd-4343-aedd-9c936b908826",
- "required_approvals": 0,
- "status": "pending",
- "expires_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "decided_at": "2019-08-24T14:15:22Z",
- "executed_at": "2019-08-24T14:15:22Z",
- "decisions": [
- {
- "approver_id": "1b287364-14ff-4b72-8953-b40399093a6f",
- "decision": "approve",
- "comment": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
]
}| requestId required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "action": "string",
- "target_type": "string",
- "target_id": "string",
- "payload": { },
- "reason": "string",
- "requested_by": "cda0f200-65cd-4343-aedd-9c936b908826",
- "required_approvals": 0,
- "status": "pending",
- "expires_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "decided_at": "2019-08-24T14:15:22Z",
- "executed_at": "2019-08-24T14:15:22Z",
- "decisions": [
- {
- "approver_id": "1b287364-14ff-4b72-8953-b40399093a6f",
- "decision": "approve",
- "comment": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
]
}| limit | integer [ 1 .. 500 ] Default: 50 |
| cursor | string <= 1024 characters |
| action | string <= 100 characters Exact action or prefix (e.g. "auth") |
| actor_id | string <uuid> |
| result | string (AuditResult) Enum: "success" "failure" "denied" |
| target_type | string <= 100 characters |
| target_id | string <= 200 characters |
| since | string <date-time> |
| until | string <date-time> |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "seq": 0,
- "occurred_at": "2019-08-24T14:15:22Z",
- "actor_type": "user",
- "actor_id": "04f37679-bfbf-4906-b749-01756515cecf",
- "actor_name": "string",
- "actor_email": "string",
- "action": "string",
- "target_type": "string",
- "target_id": "string",
- "result": "success",
- "source_ip": "string",
- "request_id": "string",
- "details": { },
- "hash": "string",
- "prev_hash": "string"
}
], - "next_cursor": "string",
- "counts": {
- "total": 0,
- "failures": 0,
- "denied": 0,
- "capped": true
}
}{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "kind": "syslog",
- "enabled": true,
- "config": { },
- "secrets_set": [
- "string"
], - "state": {
- "last_seq": 0,
- "failures": 0,
- "last_error": "string",
- "last_attempt_at": "2019-08-24T14:15:22Z",
- "last_success_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z"
}
]
}| name required | string [ 1 .. 100 ] characters |
| kind required | string Enum: "syslog" "webhook" |
| enabled required | boolean |
required | object |
object |
{- "name": "string",
- "kind": "syslog",
- "enabled": true,
- "config": { },
- "secrets": {
- "property1": "string",
- "property2": "string"
}
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "kind": "syslog",
- "enabled": true,
- "config": { },
- "secrets_set": [
- "string"
], - "state": {
- "last_seq": 0,
- "failures": 0,
- "last_error": "string",
- "last_attempt_at": "2019-08-24T14:15:22Z",
- "last_success_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z"
}| sinkId required | string <uuid> |
| name required | string [ 1 .. 100 ] characters |
| kind required | string Enum: "syslog" "webhook" |
| enabled required | boolean |
required | object |
object |
{- "name": "string",
- "kind": "syslog",
- "enabled": true,
- "config": { },
- "secrets": {
- "property1": "string",
- "property2": "string"
}
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "kind": "syslog",
- "enabled": true,
- "config": { },
- "secrets_set": [
- "string"
], - "state": {
- "last_seq": 0,
- "failures": 0,
- "last_error": "string",
- "last_attempt_at": "2019-08-24T14:15:22Z",
- "last_success_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z"
}{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}| limit | integer [ 1 .. 500 ] Default: 50 |
| cursor | string <= 1024 characters |
| sort | string Default: "name" Enum: "name" "-name" "created_at" "-created_at"
|
| q | string <= 200 characters Case-insensitive substring match on name. |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "next_cursor": "string"
}| name required | string [ 1 .. 200 ] characters |
| location | string <= 200 characters |
{- "name": "string",
- "location": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": "string",
- "created_at": "2019-08-24T14:15:22Z"
}| limit | integer [ 1 .. 500 ] Default: 50 |
| cursor | string <= 1024 characters |
| sort | string Default: "name" Enum: "name" "-name" "created_at" "-created_at"
|
| q | string <= 200 characters Case-insensitive substring match on name. |
| site_id | string <uuid> |
| status | string (ClusterStatus) Enum: "pending" "online" "degraded" "offline" "stale"
|
{- "items": [
- {
- "owner_actions": [
- "vm.power"
], - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "name": "string",
- "pve_version": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "status": "pending",
- "pve_cluster_name": "string",
- "quorate": true,
- "last_seen_at": "2019-08-24T14:15:22Z",
- "last_sync_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "site_name": "string",
- "host_count": 0,
- "hosts_online": 0,
- "vm_count": 0,
- "vms_running": 0,
- "datastore_count": 0
}
], - "next_cursor": "string"
}| site_id required | string <uuid> |
| name required | string [ 1 .. 200 ] characters |
{- "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "name": "string"
}{- "cluster": {
- "owner_actions": [
- "vm.power"
], - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "name": "string",
- "pve_version": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "status": "pending",
- "pve_cluster_name": "string",
- "quorate": true,
- "last_seen_at": "2019-08-24T14:15:22Z",
- "last_sync_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "site_name": "string",
- "host_count": 0,
- "hosts_online": 0,
- "vm_count": 0,
- "vms_running": 0,
- "datastore_count": 0
}, - "registration": {
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "token": "string",
- "expires_at": "2019-08-24T14:15:22Z"
}
}{- "owner_actions": [
- "vm.power"
], - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "name": "string",
- "pve_version": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "status": "pending",
- "pve_cluster_name": "string",
- "quorate": true,
- "last_seen_at": "2019-08-24T14:15:22Z",
- "last_sync_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "site_name": "string",
- "host_count": 0,
- "hosts_online": 0,
- "vm_count": 0,
- "vms_running": 0,
- "datastore_count": 0
}Revokes the cluster's connectors, stops a managed connector and removes the cluster's inventory, jobs and settings from the panel. Nothing changes on Proxmox VE; the PVE user of a managed connector stays there (pve_user) for the administrator to remove. A cluster with queued or running jobs is refused with cluster_busy.
| clusterId required | string <uuid> |
{- "pve_user": "string"
}| clusterId required | string <uuid> |
| owner_actions required | Array of strings (OwnerAction) <= 4 items Items Enum: "vm.power" "vm.console" "vm.snapshot" "vm.config" |
{- "owner_actions": [
- "vm.power"
]
}{- "owner_actions": [
- "vm.power"
], - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "name": "string",
- "pve_version": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "status": "pending",
- "pve_cluster_name": "string",
- "quorate": true,
- "last_seen_at": "2019-08-24T14:15:22Z",
- "last_sync_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "site_name": "string",
- "host_count": 0,
- "hosts_online": 0,
- "vm_count": 0,
- "vms_running": 0,
- "datastore_count": 0
}| limit | integer [ 1 .. 500 ] Default: 50 |
| cursor | string <= 1024 characters |
| sort | string Default: "name" Enum: "name" "-name" "created_at" "-created_at"
|
| q | string <= 200 characters Case-insensitive substring match on name. |
| cluster_id | string <uuid> |
| status | string (HostStatus) Enum: "online" "offline" "maintenance" "unknown" |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "name": "string",
- "status": "online",
- "cpu_cores": 0,
- "memory_bytes": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "vm_count": 0,
- "vms_running": 0,
- "vcpus_allocated": 0,
- "memory_allocated_bytes": 0,
- "cpu_model": "string",
- "pve_version": "string",
- "updates_pending": 0,
- "updates_security": 0,
- "details_at": "2019-08-24T14:15:22Z",
- "maintenance_at": "2019-08-24T14:15:22Z"
}
], - "next_cursor": "string"
}| hostId required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "name": "string",
- "status": "online",
- "cpu_cores": 0,
- "memory_bytes": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "vm_count": 0,
- "vms_running": 0,
- "vcpus_allocated": 0,
- "memory_allocated_bytes": 0,
- "cpu_model": "string",
- "pve_version": "string",
- "updates_pending": 0,
- "updates_security": 0,
- "details_at": "2019-08-24T14:15:22Z",
- "maintenance_at": "2019-08-24T14:15:22Z",
- "details": {
- "cpu": {
- "model": "string",
- "sockets": 0,
- "cores": 0,
- "threads": 0,
- "mhz": 0
}, - "pve_version": "string",
- "kernel": "string",
- "boot_mode": "string",
- "secure_boot": true,
- "updates": {
- "pending": 0,
- "security": 0
}, - "interfaces": [
- {
- "name": "string",
- "type": "string",
- "active": true,
- "autostart": true,
- "cidr": "string",
- "cidr6": "string",
- "gateway": "string",
- "ports": [
- "string"
], - "bond_mode": "string",
- "vlan_aware": true,
- "vlan_id": 0,
- "vlan_raw_device": "string",
- "mtu": 0,
- "comment": "string"
}
], - "disks": [
- {
- "path": "string",
- "type": "string",
- "model": "string",
- "serial": "string",
- "size": 0,
- "health": "string",
- "wearout": 0,
- "used": "string"
}
], - "isos": [
- {
- "volid": "string",
- "size": 0
}
], - "unavailable": {
- "property1": "string",
- "property2": "string"
}
}
}| hostId required | string <uuid> |
| enabled required | boolean |
| evacuate | boolean Also submit a host.evacuate job (only with enabled). |
| max_failures | integer >= 0 Failed migrations tolerated before the evacuation stops (default 0). |
{- "enabled": true,
- "evacuate": true,
- "max_failures": 0
}{- "host": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "name": "string",
- "status": "online",
- "cpu_cores": 0,
- "memory_bytes": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "vm_count": 0,
- "vms_running": 0,
- "vcpus_allocated": 0,
- "memory_allocated_bytes": 0,
- "cpu_model": "string",
- "pve_version": "string",
- "updates_pending": 0,
- "updates_security": 0,
- "details_at": "2019-08-24T14:15:22Z",
- "maintenance_at": "2019-08-24T14:15:22Z"
}, - "job": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "type": "vm.migrate",
- "target_type": "vm",
- "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9",
- "params": { },
- "status": "awaiting_approval",
- "progress": 0,
- "attempts": 0,
- "max_attempts": 0,
- "cancel_requested": true,
- "error_code": "string",
- "result": { },
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "steps": [
- {
- "seq": 0,
- "name": "string",
- "status": "running",
- "command_id": "7d510d78-7444-4252-aeac-9e473949661e",
- "error_code": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z"
}
]
}
}| cluster_id | string <uuid> |
| host_id | string <uuid> Datastores visible on this host. |
| q | string <= 200 characters Case-insensitive substring match on name. |
| limit | integer [ 1 .. 5000 ] Default: 1000 |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "host_id": "eb4e20fc-2b4a-4d0c-811f-48abcf12b89b",
- "name": "string",
- "type": "string",
- "shared": true,
- "content": [
- "string"
], - "status": "available",
- "total_bytes": 0,
- "used_bytes": 0,
- "host_count": 0,
- "host_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
]
}| cluster_id | string <uuid> |
| host_id | string <uuid> |
{- "items": [
- {
- "id": "string",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "name": "string",
- "type": "linux",
- "vlan_aware": true,
- "mtu": 0,
- "hosts": [
- {
- "host_id": "eb4e20fc-2b4a-4d0c-811f-48abcf12b89b",
- "host_name": "string",
- "active": true,
- "cidr": "string",
- "uplinks": [
- {
- "name": "string",
- "type": "string",
- "active": true,
- "members": [
- "string"
], - "bond_mode": "string"
}
]
}
], - "port_groups": [
- {
- "name": "string",
- "vlan_id": 0,
- "host_count": 0,
- "comment": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "source": "host"
}
]
}
]
}| cluster_id required | string <uuid> |
| vswitch required | string^[A-Za-z0-9_.-]{1,32}$ |
| vlan_id required | integer [ 1 .. 4094 ] |
| name required | string [ 1 .. 64 ] characters |
{- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "vswitch": "string",
- "vlan_id": 1,
- "name": "string"
}{- "name": "string",
- "vlan_id": 0,
- "host_count": 0,
- "comment": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "source": "host"
}| portGroupId required | string <uuid> |
{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}| limit | integer [ 1 .. 500 ] Default: 50 |
| cursor | string <= 1024 characters |
| cluster_id | string <uuid> |
| host | string <= 200 characters Host (node) name. |
| object_id | string <= 200 characters Task object, e.g. the VMID. |
| status | string (TaskStatus) Enum: "running" "ok" "error" |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "upid": "string",
- "host": "string",
- "type": "string",
- "object_id": "string",
- "user": "string",
- "status": "running",
- "exit_status": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "ended_at": "2019-08-24T14:15:22Z"
}
], - "next_cursor": "string"
}| cluster_id | string <uuid> |
{- "clusters": 0,
- "clusters_online": 0,
- "clusters_degraded": 0,
- "clusters_offline": 0,
- "hosts": 0,
- "hosts_online": 0,
- "hosts_maintenance": 0,
- "cpu_cores": 0,
- "memory_bytes": 0,
- "vms": 0,
- "vms_running": 0,
- "vcpus_allocated": 0,
- "memory_allocated_bytes": 0,
- "vms_ha": 0,
- "vms_ha_error": 0,
- "datastores": 0,
- "storage_total_bytes": 0,
- "storage_used_bytes": 0
}| q required | string [ 1 .. 200 ] characters |
| limit | integer [ 1 .. 50 ] Default: 30 Total results; at most six of each kind. |
{- "items": [
- {
- "kind": "cluster",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "host_id": "eb4e20fc-2b4a-4d0c-811f-48abcf12b89b",
- "detail": "string",
- "rank": 0
}
]
}| cluster_id | Array of strings <uuid> <= 200 items [ items <uuid > ] Any of these clusters. |
| host_id | Array of strings <uuid> <= 200 items [ items <uuid > ] Any of these hosts. |
| status | Array of strings (VMStatus) <= 200 items Items Enum: "running" "stopped" "paused" "unknown" Any of these power states. |
| kind | Array of strings <= 200 items Items Enum: "qemu" "lxc" Any of these guest kinds. |
| pool_id | Array of strings <uuid> <= 200 items [ items <uuid > ] Any of these resource pools; the nil UUID means in no pool. |
| owner_tenant_id | Array of strings <uuid> <= 200 items [ items <uuid > ] Any of these owner tenants. |
| tag | Array of strings <= 200 items [ items <= 200 characters ] VMs carrying any of these tags. |
| q | string <= 200 characters Case-insensitive substring of the name or a tag, or an exact VMID. |
| template | boolean Default: false Templates instead of guests. |
| sort | string Default: "name" Enum: "name" "-name" "vmid" "-vmid" "status" "-status" "kind" "-kind" "cluster" "-cluster" "host" "-host" "pool" "-pool" "vcpus" "-vcpus" "memory" "-memory" "disk" "-disk" "created_at" "-created_at" Sort key, |
| offset | integer [ 0 .. 100000 ] Default: 0 |
| limit | integer [ 1 .. 500 ] Default: 200 |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "cluster_name": "string",
- "host_id": "eb4e20fc-2b4a-4d0c-811f-48abcf12b89b",
- "host_name": "string",
- "vmid": 0,
- "name": "string",
- "status": "running",
- "kind": "qemu",
- "tags": [
- "string"
], - "pool_id": "bd9ee216-b2f2-496a-bbe1-31b86a2c3c43",
- "pool_name": "string",
- "owner_tenant_id": "596e3cbe-035a-4620-883e-c767879fc8e0",
- "vcpus": 0,
- "memory_bytes": 0,
- "disk_bytes": 0,
- "ha_state": "string",
- "lock": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "total": 0,
- "offset": 0
}{- "status": [
- {
- "key": "string",
- "label": "string",
- "parent": "string",
- "count": 0
}
], - "kind": [
- {
- "key": "string",
- "label": "string",
- "parent": "string",
- "count": 0
}
], - "cluster": [
- {
- "key": "string",
- "label": "string",
- "parent": "string",
- "count": 0
}
], - "host": [
- {
- "key": "string",
- "label": "string",
- "parent": "string",
- "count": 0
}
], - "pool": [
- {
- "key": "string",
- "label": "string",
- "parent": "string",
- "count": 0
}
], - "owner": [
- {
- "key": "string",
- "label": "string",
- "parent": "string",
- "count": 0
}
], - "tag": [
- {
- "key": "string",
- "label": "string",
- "parent": "string",
- "count": 0
}
]
}| cluster_id | Array of strings <uuid> <= 200 items [ items <uuid > ] Any of these clusters. |
| host_id | Array of strings <uuid> <= 200 items [ items <uuid > ] Any of these hosts. |
| status | Array of strings (VMStatus) <= 200 items Items Enum: "running" "stopped" "paused" "unknown" Any of these power states. |
| kind | Array of strings <= 200 items Items Enum: "qemu" "lxc" Any of these guest kinds. |
| pool_id | Array of strings <uuid> <= 200 items [ items <uuid > ] Any of these resource pools; the nil UUID means in no pool. |
| owner_tenant_id | Array of strings <uuid> <= 200 items [ items <uuid > ] Any of these owner tenants. |
| tag | Array of strings <= 200 items [ items <= 200 characters ] VMs carrying any of these tags. |
| q | string <= 200 characters Case-insensitive substring of the name or a tag, or an exact VMID. |
| template | boolean Default: false Templates instead of guests. |
| sort | string Default: "name" Enum: "name" "-name" "vmid" "-vmid" "status" "-status" "kind" "-kind" "cluster" "-cluster" "host" "-host" "pool" "-pool" "vcpus" "-vcpus" "memory" "-memory" "disk" "-disk" "created_at" "-created_at" Sort key, |
| columns | Array of strings <= 30 items Items Enum: "name" "vmid" "status" "kind" "cluster" "host" "pool" "owner_tenant" "vcpus" "memory_bytes" "disk_bytes" "tags" "ha_state" "lock" "created_at" "id" Column keys in output order. Default is every column. |
{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}| page required | string (SavedViewPage) Value: "vms" |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "page": "vms",
- "name": "string",
- "state": { },
- "shared": true,
- "own": true,
- "owner_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}| page required | string (SavedViewPage) Value: "vms" |
| name required | string [ 1 .. 80 ] characters |
required | object Opaque UI state |
| shared | boolean Default: false |
{- "page": "vms",
- "name": "string",
- "state": { },
- "shared": false
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "page": "vms",
- "name": "string",
- "state": { },
- "shared": true,
- "own": true,
- "owner_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}Only the owner can change a view; another user's view is not found.
| viewId required | string <uuid> |
| page required | string (SavedViewPage) Value: "vms" |
| name required | string [ 1 .. 80 ] characters |
required | object Opaque UI state |
| shared | boolean Default: false |
{- "page": "vms",
- "name": "string",
- "state": { },
- "shared": false
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "page": "vms",
- "name": "string",
- "state": { },
- "shared": true,
- "own": true,
- "owner_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}| limit | integer [ 1 .. 500 ] Default: 50 |
| cursor | string <= 1024 characters |
| sort | string Default: "name" Enum: "name" "-name" "created_at" "-created_at"
|
| q | string <= 200 characters Case-insensitive substring match on name. |
| cluster_id | string <uuid> |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "name": "string",
- "description": "string",
- "source": "nexhypro",
- "created_at": "2019-08-24T14:15:22Z"
}
], - "next_cursor": "string"
}| limit | integer [ 1 .. 500 ] Default: 50 |
| cursor | string <= 1024 characters |
| sort | string Default: "name" Enum: "name" "-name" "created_at" "-created_at"
|
| q | string <= 200 characters Case-insensitive substring match on name. |
| cluster_id | string <uuid> |
| host_id | string <uuid> |
| pool_id | string <uuid> |
| status | string (VMStatus) Enum: "running" "stopped" "paused" "unknown" |
| tag | string <= 200 characters |
| in_pool | boolean false: only guests without a pool (folder). |
| template | boolean |
{- "items": [
- {
- "shared_actions": [
- "vm.power"
], - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "host_id": "eb4e20fc-2b4a-4d0c-811f-48abcf12b89b",
- "vmid": 0,
- "name": "string",
- "status": "running",
- "tags": [
- "string"
], - "pool_id": "bd9ee216-b2f2-496a-bbe1-31b86a2c3c43",
- "owner_tenant_id": "596e3cbe-035a-4620-883e-c767879fc8e0",
- "vcpus": 0,
- "memory_bytes": 0,
- "disk_bytes": 0,
- "kind": "qemu",
- "template": true,
- "created_at": "2019-08-24T14:15:22Z"
}
], - "next_cursor": "string"
}{- "shared_actions": [
- "vm.power"
], - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "host_id": "eb4e20fc-2b4a-4d0c-811f-48abcf12b89b",
- "vmid": 0,
- "name": "string",
- "status": "running",
- "tags": [
- "string"
], - "pool_id": "bd9ee216-b2f2-496a-bbe1-31b86a2c3c43",
- "owner_tenant_id": "596e3cbe-035a-4620-883e-c767879fc8e0",
- "vcpus": 0,
- "memory_bytes": 0,
- "disk_bytes": 0,
- "kind": "qemu",
- "template": true,
- "created_at": "2019-08-24T14:15:22Z"
}vnc for qemu guests, terminal for lxc containers. The session id is valid for 60 seconds and once: connect
to GET /console and name it in the first message.
| vmId required | string <uuid> |
| type required | string Enum: "vnc" "terminal" |
{- "type": "vnc"
}{- "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82",
- "type": "vnc",
- "expires_at": "2019-08-24T14:15:22Z"
}| vmId required | string <uuid> |
{- "hardware": {
- "kind": "qemu",
- "sockets": 0,
- "cores": 0,
- "cpu_type": "string",
- "numa": true,
- "memory_mib": 0,
- "balloon_mib": 0,
- "bios": "string",
- "machine": "string",
- "ostype": "string",
- "agent": true,
- "boot": [
- "string"
], - "scsihw": "string",
- "efidisk": "string",
- "tpm": "string",
- "cloudinit": true,
- "unused": [
- "string"
], - "pending": true,
- "changes": [
- {
- "key": "string",
- "current": "string",
- "pending": "string",
- "delete": true
}
], - "disks": [
- {
- "key": "string",
- "media": "disk",
- "storage": "string",
- "volume": "string",
- "size_bytes": 0,
- "cache": "string",
- "discard": true,
- "ssd": true,
- "iothread": true,
- "backup": true,
- "mount_path": "string"
}
], - "nics": [
- {
- "key": "string",
- "model": "string",
- "mac": "string",
- "bridge": "string",
- "vlan": 0,
- "firewall": true,
- "link_down": true,
- "rate_mbps": 0,
- "name": "string",
- "ip": "string"
}
]
}, - "updated_at": "2019-08-24T14:15:22Z"
}| vmId required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "vm_id": "9a025db5-7896-46f6-883f-28fe3549d7b4",
- "type": "vm.start",
- "status": "queued",
- "upid": "string",
- "progress": 0,
- "error_code": "string",
- "detail": "string",
- "idempotency_key": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z"
}| vmId required | string <uuid> |
{- "items": [
- {
- "name": "string",
- "parent": "string",
- "description": "string",
- "time": 0,
- "vmstate": true,
- "current": true
}
], - "updated_at": "2019-08-24T14:15:22Z"
}| vmId required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "vm_id": "9a025db5-7896-46f6-883f-28fe3549d7b4",
- "type": "vm.start",
- "status": "queued",
- "upid": "string",
- "progress": 0,
- "error_code": "string",
- "detail": "string",
- "idempotency_key": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z"
}| vmId required | string <uuid> |
{- "items": [
- {
- "host_id": "eb4e20fc-2b4a-4d0c-811f-48abcf12b89b",
- "name": "string",
- "score": 0,
- "free_memory_bytes": 0,
- "free_vcpus": 0,
- "excluded": "source"
}
]
}| clusterId required | string <uuid> |
| vcpus required | integer [ 1 .. 8192 ] |
| memory_mib required | integer [ 16 .. 4194304 ] |
{- "items": [
- {
- "host_id": "eb4e20fc-2b4a-4d0c-811f-48abcf12b89b",
- "name": "string",
- "score": 0,
- "free_memory_bytes": 0,
- "free_vcpus": 0,
- "excluded": "source"
}
]
}The first client message is {"type":"auth","token":"<access token>","tenant":"<acting tenant, optional>", "session":"<session id>"}; the server answers {"type":"ready"}. The client then sends {"type":"start"}
and from then on the connection carries the console: raw VNC bytes (binary) or Proxmox termproxy frames
(0:<len>:<data> input, 1:<cols>:<rows>: resize; output binary). Close codes: 4401 unauthenticated,
4403 forbidden, 4404 unknown or used session, 4409 console refused by the cluster, 4500 stream broken.
{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}| clusterId required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "status": "pending",
- "hostname": "string",
- "version": "string",
- "active_endpoint": "string",
- "pve_reachable": true,
- "nodes_total": 0,
- "nodes_online": 0,
- "buffered_events": 0,
- "last_seen_at": "2019-08-24T14:15:22Z",
- "registered_at": "2019-08-24T14:15:22Z",
- "cert_not_after": "2019-08-24T14:15:22Z",
- "token_expires_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}| clusterId required | string <uuid> |
{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}The current connector keeps working until a connector registers with the new token.
| clusterId required | string <uuid> |
{- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "token": "string",
- "expires_at": "2019-08-24T14:15:22Z"
}| clusterId required | string <uuid> |
| endpoint required | string [ 1 .. 300 ] characters |
| username required | string [ 1 .. 200 ] characters |
| password required | string [ 1 .. 500 ] characters |
| fingerprint required | string [ 1 .. 200 ] characters |
| access required | string Enum: "read_only" "full" |
{- "endpoint": "string",
- "username": "string",
- "password": "string",
- "fingerprint": "string",
- "access": "read_only"
}{- "cluster": {
- "owner_actions": [
- "vm.power"
], - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "name": "string",
- "pve_version": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "status": "pending",
- "pve_cluster_name": "string",
- "quorate": true,
- "last_seen_at": "2019-08-24T14:15:22Z",
- "last_sync_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "site_name": "string",
- "host_count": 0,
- "hosts_online": 0,
- "vm_count": 0,
- "vms_running": 0,
- "datastore_count": 0
}, - "access": "read_only",
- "role": "string",
- "endpoints": [
- "string"
]
}Logs in to PVE once with the administrator's password (never stored), creates a PVE user of its own
(nexhypro-panel-…@pve) with the role of the access level and an API token, and starts a connector for the
cluster on the panel host. The fingerprint is the one the probe returned and the administrator confirmed.
| endpoint required | string [ 1 .. 300 ] characters |
| username required | string [ 1 .. 200 ] characters |
| password required | string [ 1 .. 500 ] characters |
| fingerprint required | string [ 1 .. 200 ] characters |
| access required | string Enum: "read_only" "full" |
| site_id required | string <uuid> |
| name required | string [ 1 .. 200 ] characters |
{- "endpoint": "string",
- "username": "string",
- "password": "string",
- "fingerprint": "string",
- "access": "read_only",
- "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "name": "string"
}{- "cluster": {
- "owner_actions": [
- "vm.power"
], - "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "site_id": "72771e6a-6f5e-4de4-a5b9-1266c4197811",
- "name": "string",
- "pve_version": "string",
- "connector_id": "9389ba6f-3696-4571-84d4-34d588c4b109",
- "status": "pending",
- "pve_cluster_name": "string",
- "quorate": true,
- "last_seen_at": "2019-08-24T14:15:22Z",
- "last_sync_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "site_name": "string",
- "host_count": 0,
- "hosts_online": 0,
- "vm_count": 0,
- "vms_running": 0,
- "datastore_count": 0
}, - "access": "read_only",
- "role": "string",
- "endpoints": [
- "string"
]
}| endpoint required | string [ 1 .. 300 ] characters https://host:8006, host:port or host |
| username required | string [ 1 .. 200 ] characters root@pam; a name without realm means @pam |
| password required | string [ 1 .. 500 ] characters |
{- "endpoint": "string",
- "username": "string",
- "password": "string"
}{- "name": "string",
- "version": "string",
- "fingerprint": "string",
- "nodes": [
- {
- "name": "string",
- "ip": "string",
- "online": true,
- "fingerprint": "string"
}
]
}| token required | string <= 200 characters |
| csr required | string <= 16384 characters PEM certificate request for the connector's key. |
| hostname | string <= 255 characters |
| version | string <= 64 characters |
{- "token": "string",
- "csr": "string",
- "hostname": "string",
- "version": "string"
}{- "connector_id": "string",
- "tenant_id": "string",
- "cluster_id": "string",
- "certificate": "string",
- "ca_certificate": "string",
- "nats_url": "string",
- "metrics_url": "string",
- "command_public_key": "string",
- "not_after": "2019-08-24T14:15:22Z"
}| vmId required | string <uuid> |
| Idempotency-Key required | string [ 1 .. 200 ] characters Client-chosen key, unique per tenant. Repeating a request with the same key returns the original command instead of creating a new one. |
| action required | string Enum: "start" "stop" "shutdown" "reboot" "suspend" "resume" |
{- "action": "start"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "vm_id": "9a025db5-7896-46f6-883f-28fe3549d7b4",
- "type": "vm.start",
- "status": "queued",
- "upid": "string",
- "progress": 0,
- "error_code": "string",
- "detail": "string",
- "idempotency_key": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z"
}Direct command kept for compatibility. Submit a vm.migrate job (POST /jobs) instead; only jobs honour the per-cluster and per-host migration limits (ADR 0019 §6).
| vmId required | string <uuid> |
| Idempotency-Key required | string [ 1 .. 200 ] characters Client-chosen key, unique per tenant. Repeating a request with the same key returns the original command instead of creating a new one. |
| target_host_id required | string <uuid> |
| online | boolean Default: true Live migration (restart migration for containers). |
{- "target_host_id": "5fa08e70-cef9-414c-b387-7bde7b6f4011",
- "online": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "vm_id": "9a025db5-7896-46f6-883f-28fe3549d7b4",
- "type": "vm.start",
- "status": "queued",
- "upid": "string",
- "progress": 0,
- "error_code": "string",
- "detail": "string",
- "idempotency_key": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z"
}| limit | integer [ 1 .. 500 ] Default: 50 |
| cursor | string <= 1024 characters |
| vm_id | string <uuid> |
| cluster_id | string <uuid> |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "vm_id": "9a025db5-7896-46f6-883f-28fe3549d7b4",
- "type": "vm.start",
- "status": "queued",
- "upid": "string",
- "progress": 0,
- "error_code": "string",
- "detail": "string",
- "idempotency_key": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z"
}
], - "next_cursor": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "vm_id": "9a025db5-7896-46f6-883f-28fe3549d7b4",
- "type": "vm.start",
- "status": "queued",
- "upid": "string",
- "progress": 0,
- "error_code": "string",
- "detail": "string",
- "idempotency_key": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z"
}| query required | string [ 1 .. 8192 ] characters |
| time | string <date-time> Evaluation time. Default now. |
{- "series": [
- {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "values": [
- [
- 0.1,
- 0.1
]
]
}
]
}| query required | string [ 1 .. 8192 ] characters |
| start required | string <date-time> |
| end | string <date-time> Default now. |
| step | integer [ 1 .. 86400 ] Default: 60 Seconds between points. Raised when the range would exceed 11000 points. |
{- "series": [
- {
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "values": [
- [
- 0.1,
- 0.1
]
]
}
]
}| cluster_id | string <uuid> |
{- "generated_at": "2019-08-24T14:15:22Z",
- "window_days": 0,
- "datastores": [
- {
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "host": "string",
- "name": "string",
- "shared": true,
- "type": "string",
- "forecast": {
- "status": "filling",
- "used_bytes": 0.1,
- "total_bytes": 0.1,
- "growth_bytes_per_day": 0.1,
- "days_left": 0.1,
- "full_at": "2019-08-24T14:15:22Z",
- "r2": 0.1
}
}
], - "memory": [
- {
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "forecast": {
- "status": "filling",
- "used_bytes": 0.1,
- "total_bytes": 0.1,
- "growth_bytes_per_day": 0.1,
- "days_left": 0.1,
- "full_at": "2019-08-24T14:15:22Z",
- "r2": 0.1
}
}
]
}Upgrades to a WebSocket that pushes change notifications:
{"type":"changed","topics":["inventory","tasks","commands","alerts"],"clusters":["<uuid>"]}.
An empty or missing clusters means every cluster. Clients refetch the affected resources through the
REST endpoints. Without an Authorization header on the upgrade, the first client message must be
{"type":"auth","token":"<access token>","tenant":"<acting tenant id, optional>"}; the server answers
{"type":"hello"} or closes with 4401 (unauthenticated) or 4403 (forbidden).
{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}| cluster_id | string <uuid> |
| target_id | string <uuid> |
| parent_id | string <uuid> |
| mine | boolean Only jobs the caller submitted (the live task drawer). |
| status | Array of strings (JobStatus) <= 6 items Items Enum: "awaiting_approval" "queued" "running" "succeeded" "failed" "canceled" |
| limit | integer [ 1 .. 500 ] Default: 50 |
| cursor | string <= 1024 characters |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "type": "vm.migrate",
- "target_type": "vm",
- "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9",
- "params": { },
- "status": "awaiting_approval",
- "progress": 0,
- "attempts": 0,
- "max_attempts": 0,
- "cancel_requested": true,
- "error_code": "string",
- "result": { },
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "steps": [
- {
- "seq": 0,
- "name": "string",
- "status": "running",
- "command_id": "7d510d78-7444-4252-aeac-9e473949661e",
- "error_code": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z"
}
]
}
], - "next_cursor": "string"
}Job types and their params:
vm.migrate (target: VM, permission vm.migrate): {"target_host_id": uuid, "online": bool (default true)}.
Bounded by the per-cluster and per-host migration limits.vm.snapshot.create (vm.snapshot): {"name": string, "description": string, "vmstate": bool}.vm.snapshot.rollback, vm.snapshot.delete (vm.snapshot): {"name": string}.vm.clone (vm.create): {"name": DNS name, "target_host_id": uuid, "full": bool (default true), "start": bool}. The result holds the new vmid and vm_id.vm.deploy (vm.create, target: a template): {"name", "target_host_id", "start" (default true), "cores", "sockets", "memory_mib", "disk" (default scsi0), "disk_gib", "ciuser", "sshkeys", "ipconfig0", "nameserver", "searchdomain", "description"}.vm.reconfigure (vm.config): {"cores", "sockets", "memory_mib", "description", "onboot", "disk": {"name", "size_gib"}, "add_nics": [{"bridge", "vlan", "model"}], "add_disks": [{"datastore", "size_gib", "bus"}], "cdrom": {"iso"}}; disks only grow. New network adapters, disks and the CD/DVD
medium apply to QEMU VMs (ADR 0036): model is virtio (default), e1000, vmxnet3 or rtl8139; bus is scsi
(default), virtio or sata; iso is a volume ID from the host's isos, or empty to eject. New disks count
against the disk quota.vm.tags (vm.config): {"tags": [string]}, the complete list.vm.pool (vm.config): {"pool_id": uuid or null}.vm.power (vm.power): {"action": "start" | "shutdown" | "reboot" | "stop" | "suspend" | "resume"}; refused
when the action does not apply to the VM's state.vm.tags.update (vm.config): {"add": [string], "remove": [string]}.
vm.migrate, vm.clone and vm.deploy accept "placement": "auto" instead of a target host (ADR 0021 §2).
vm.clone and vm.deploy are checked against the tenant's quota (409 quota_exceeded, ADR 0021 §3).
See ADR 0020.| Idempotency-Key required | string [ 1 .. 200 ] characters Client-chosen key, unique per tenant. Repeating a request with the same key returns the original command instead of creating a new one. |
| type required | string Enum: "vm.migrate" "vm.snapshot.create" "vm.snapshot.rollback" "vm.snapshot.delete" "vm.clone" "vm.deploy" "vm.reconfigure" "vm.tags" "vm.tags.update" "vm.pool" "vm.power" "vm.create" "host.evacuate" "vm.ha.add" "vm.ha.remove" "vm.delete" |
| target_id required | string <uuid> The VM; the cluster for vm.create; the host for host.evacuate (ADR 0025). |
object Type-specific parameters. vm.delete needs confirm_name (the VM's name) and, for a template, allow_template: true (ADR 0033 §1). |
{- "type": "vm.migrate",
- "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9",
- "params": { }
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "type": "vm.migrate",
- "target_type": "vm",
- "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9",
- "params": { },
- "status": "awaiting_approval",
- "progress": 0,
- "attempts": 0,
- "max_attempts": 0,
- "cancel_requested": true,
- "error_code": "string",
- "result": { },
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "steps": [
- {
- "seq": 0,
- "name": "string",
- "status": "running",
- "command_id": "7d510d78-7444-4252-aeac-9e473949661e",
- "error_code": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z"
}
]
}Actions: vm.power, vm.snapshot.create, vm.tags.update, vm.pool, vm.migrate (use
{"placement": "auto"} to spread the VMs). The selection is resolved now and stored with the job (at most
10,000 VMs); VMs the caller lacks the action's permission on are excluded and counted.
| Idempotency-Key required | string [ 1 .. 200 ] characters Client-chosen key, unique per tenant. Repeating a request with the same key returns the original command instead of creating a new one. |
required | object |
required | object |
| wave_size | integer [ 1 .. 200 ] Default: 10 |
| max_failures | integer >= 0 Stop after more than this many failed VMs. |
{- "action": {
- "type": "vm.power",
- "params": { }
}, - "selection": {
- "vm_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "filter": {
- "cluster_id": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "host_id": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "status": [
- "running"
], - "kind": [
- "qemu"
], - "pool_id": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "owner_tenant_id": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "tag": [
- "string"
], - "q": "string",
- "template": true
}
}, - "wave_size": 10,
- "max_failures": 0
}{- "job": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "type": "vm.migrate",
- "target_type": "vm",
- "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9",
- "params": { },
- "status": "awaiting_approval",
- "progress": 0,
- "attempts": 0,
- "max_attempts": 0,
- "cancel_requested": true,
- "error_code": "string",
- "result": { },
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "steps": [
- {
- "seq": 0,
- "name": "string",
- "status": "running",
- "command_id": "7d510d78-7444-4252-aeac-9e473949661e",
- "error_code": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z"
}
]
}, - "selected": 0,
- "excluded": 0
}| jobId required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "type": "vm.migrate",
- "target_type": "vm",
- "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9",
- "params": { },
- "status": "awaiting_approval",
- "progress": 0,
- "attempts": 0,
- "max_attempts": 0,
- "cancel_requested": true,
- "error_code": "string",
- "result": { },
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "steps": [
- {
- "seq": 0,
- "name": "string",
- "status": "running",
- "command_id": "7d510d78-7444-4252-aeac-9e473949661e",
- "error_code": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z"
}
]
}| jobId required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "parent_id": "1c6ca187-e61f-4301-8dcb-0e9749e89eef",
- "type": "vm.migrate",
- "target_type": "vm",
- "target_id": "d3bcdc92-4191-401b-ad0c-42056c6efab9",
- "params": { },
- "status": "awaiting_approval",
- "progress": 0,
- "attempts": 0,
- "max_attempts": 0,
- "cancel_requested": true,
- "error_code": "string",
- "result": { },
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z",
- "steps": [
- {
- "seq": 0,
- "name": "string",
- "status": "running",
- "command_id": "7d510d78-7444-4252-aeac-9e473949661e",
- "error_code": "string",
- "started_at": "2019-08-24T14:15:22Z",
- "finished_at": "2019-08-24T14:15:22Z"
}
]
}| limit | integer [ 1 .. 500 ] Default: 50 |
| cursor | string <= 1024 characters |
| state | Array of strings (AlertState) Items Enum: "open" "acknowledged" "silenced" "closed" Repeat for several; default: every state but closed. |
| severity | Array of strings (AlertSeverity) Items Enum: "info" "warning" "critical" |
| cluster_id | string <uuid> |
| rule_id | string <uuid> |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "rule_id": "728c1541-d6d1-4290-9a53-cdf01dd32d60",
- "rule_name": "string",
- "builtin_key": "string",
- "condition": "metric",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "severity": "info",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "value": 0.1,
- "threshold": 0.1,
- "state": "open",
- "occurrences": 0,
- "first_seen_at": "2019-08-24T14:15:22Z",
- "last_seen_at": "2019-08-24T14:15:22Z",
- "acknowledged_by": "57e93f65-9db5-4b3c-8761-f3edd8ac8276",
- "acknowledged_at": "2019-08-24T14:15:22Z",
- "silenced_until": "2019-08-24T14:15:22Z",
- "maintenance_window_id": "8795cee4-001d-461b-bb1a-8b5850da9393",
- "closed_at": "2019-08-24T14:15:22Z",
- "close_reason": "resolved"
}
], - "next_cursor": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "rule_id": "728c1541-d6d1-4290-9a53-cdf01dd32d60",
- "rule_name": "string",
- "builtin_key": "string",
- "condition": "metric",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "severity": "info",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "value": 0.1,
- "threshold": 0.1,
- "state": "open",
- "occurrences": 0,
- "first_seen_at": "2019-08-24T14:15:22Z",
- "last_seen_at": "2019-08-24T14:15:22Z",
- "acknowledged_by": "57e93f65-9db5-4b3c-8761-f3edd8ac8276",
- "acknowledged_at": "2019-08-24T14:15:22Z",
- "silenced_until": "2019-08-24T14:15:22Z",
- "maintenance_window_id": "8795cee4-001d-461b-bb1a-8b5850da9393",
- "closed_at": "2019-08-24T14:15:22Z",
- "close_reason": "resolved"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "rule_id": "728c1541-d6d1-4290-9a53-cdf01dd32d60",
- "rule_name": "string",
- "builtin_key": "string",
- "condition": "metric",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "severity": "info",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "value": 0.1,
- "threshold": 0.1,
- "state": "open",
- "occurrences": 0,
- "first_seen_at": "2019-08-24T14:15:22Z",
- "last_seen_at": "2019-08-24T14:15:22Z",
- "acknowledged_by": "57e93f65-9db5-4b3c-8761-f3edd8ac8276",
- "acknowledged_at": "2019-08-24T14:15:22Z",
- "silenced_until": "2019-08-24T14:15:22Z",
- "maintenance_window_id": "8795cee4-001d-461b-bb1a-8b5850da9393",
- "closed_at": "2019-08-24T14:15:22Z",
- "close_reason": "resolved"
}| alertId required | string <uuid> |
| until required | string <date-time> At most 30 days ahead. |
{- "until": "2019-08-24T14:15:22Z"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "rule_id": "728c1541-d6d1-4290-9a53-cdf01dd32d60",
- "rule_name": "string",
- "builtin_key": "string",
- "condition": "metric",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "severity": "info",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "value": 0.1,
- "threshold": 0.1,
- "state": "open",
- "occurrences": 0,
- "first_seen_at": "2019-08-24T14:15:22Z",
- "last_seen_at": "2019-08-24T14:15:22Z",
- "acknowledged_by": "57e93f65-9db5-4b3c-8761-f3edd8ac8276",
- "acknowledged_at": "2019-08-24T14:15:22Z",
- "silenced_until": "2019-08-24T14:15:22Z",
- "maintenance_window_id": "8795cee4-001d-461b-bb1a-8b5850da9393",
- "closed_at": "2019-08-24T14:15:22Z",
- "close_reason": "resolved"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "rule_id": "728c1541-d6d1-4290-9a53-cdf01dd32d60",
- "rule_name": "string",
- "builtin_key": "string",
- "condition": "metric",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "severity": "info",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "value": 0.1,
- "threshold": 0.1,
- "state": "open",
- "occurrences": 0,
- "first_seen_at": "2019-08-24T14:15:22Z",
- "last_seen_at": "2019-08-24T14:15:22Z",
- "acknowledged_by": "57e93f65-9db5-4b3c-8761-f3edd8ac8276",
- "acknowledged_at": "2019-08-24T14:15:22Z",
- "silenced_until": "2019-08-24T14:15:22Z",
- "maintenance_window_id": "8795cee4-001d-461b-bb1a-8b5850da9393",
- "closed_at": "2019-08-24T14:15:22Z",
- "close_reason": "resolved"
}| alertId required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "rule_id": "728c1541-d6d1-4290-9a53-cdf01dd32d60",
- "rule_name": "string",
- "builtin_key": "string",
- "condition": "metric",
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "severity": "info",
- "labels": {
- "property1": "string",
- "property2": "string"
}, - "value": 0.1,
- "threshold": 0.1,
- "state": "open",
- "occurrences": 0,
- "first_seen_at": "2019-08-24T14:15:22Z",
- "last_seen_at": "2019-08-24T14:15:22Z",
- "acknowledged_by": "57e93f65-9db5-4b3c-8761-f3edd8ac8276",
- "acknowledged_at": "2019-08-24T14:15:22Z",
- "silenced_until": "2019-08-24T14:15:22Z",
- "maintenance_window_id": "8795cee4-001d-461b-bb1a-8b5850da9393",
- "closed_at": "2019-08-24T14:15:22Z",
- "close_reason": "resolved"
}{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "builtin_key": "string",
- "name": "string",
- "enabled": true,
- "condition": "metric",
- "params": {
- "expr": "string",
- "op": ">",
- "threshold": 0.1,
- "clear_threshold": 0.1,
- "task_types": [
- "string"
], - "max_age_hours": 1,
- "days": 1
}, - "severity": "info",
- "for_seconds": 0,
- "cluster_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "matchers": [
- {
- "label": "string",
- "op": "=",
- "value": "string"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}| name required | string [ 1 .. 200 ] characters |
| enabled required | boolean |
| condition required | string (AlertCondition) Enum: "metric" "node_offline" "quorum_lost" "connector_stale" "task_failed" "backup_stale" "license_expiring" |
required | object (AlertRuleParams) Parameters of the rule's condition; other fields are ignored. |
| severity required | string (AlertSeverity) Enum: "info" "warning" "critical" |
| for_seconds required | integer [ 0 .. 86400 ] |
| cluster_ids required | Array of strings <uuid> <= 200 items [ items <uuid > ] Empty means every cluster. |
required | Array of objects (LabelMatcher) <= 20 items |
{- "name": "string",
- "enabled": true,
- "condition": "metric",
- "params": {
- "expr": "string",
- "op": ">",
- "threshold": 0.1,
- "clear_threshold": 0.1,
- "task_types": [
- "string"
], - "max_age_hours": 1,
- "days": 1
}, - "severity": "info",
- "for_seconds": 0,
- "cluster_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "matchers": [
- {
- "label": "string",
- "op": "=",
- "value": "string"
}
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "builtin_key": "string",
- "name": "string",
- "enabled": true,
- "condition": "metric",
- "params": {
- "expr": "string",
- "op": ">",
- "threshold": 0.1,
- "clear_threshold": 0.1,
- "task_types": [
- "string"
], - "max_age_hours": 1,
- "days": 1
}, - "severity": "info",
- "for_seconds": 0,
- "cluster_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "matchers": [
- {
- "label": "string",
- "op": "=",
- "value": "string"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| ruleId required | string <uuid> |
| name required | string [ 1 .. 200 ] characters |
| enabled required | boolean |
| condition required | string (AlertCondition) Enum: "metric" "node_offline" "quorum_lost" "connector_stale" "task_failed" "backup_stale" "license_expiring" |
required | object (AlertRuleParams) Parameters of the rule's condition; other fields are ignored. |
| severity required | string (AlertSeverity) Enum: "info" "warning" "critical" |
| for_seconds required | integer [ 0 .. 86400 ] |
| cluster_ids required | Array of strings <uuid> <= 200 items [ items <uuid > ] Empty means every cluster. |
required | Array of objects (LabelMatcher) <= 20 items |
{- "name": "string",
- "enabled": true,
- "condition": "metric",
- "params": {
- "expr": "string",
- "op": ">",
- "threshold": 0.1,
- "clear_threshold": 0.1,
- "task_types": [
- "string"
], - "max_age_hours": 1,
- "days": 1
}, - "severity": "info",
- "for_seconds": 0,
- "cluster_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "matchers": [
- {
- "label": "string",
- "op": "=",
- "value": "string"
}
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "builtin_key": "string",
- "name": "string",
- "enabled": true,
- "condition": "metric",
- "params": {
- "expr": "string",
- "op": ">",
- "threshold": 0.1,
- "clear_threshold": 0.1,
- "task_types": [
- "string"
], - "max_age_hours": 1,
- "days": 1
}, - "severity": "info",
- "for_seconds": 0,
- "cluster_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "matchers": [
- {
- "label": "string",
- "op": "=",
- "value": "string"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| ruleId required | string <uuid> |
{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}| current | boolean Default: false Only windows that have not ended. |
{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "starts_at": "2019-08-24T14:15:22Z",
- "ends_at": "2019-08-24T14:15:22Z",
- "cluster_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "matchers": [
- {
- "label": "string",
- "op": "=",
- "value": "string"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}| name required | string [ 1 .. 200 ] characters |
| starts_at required | string <date-time> |
| ends_at required | string <date-time> |
| cluster_ids required | Array of strings <uuid> <= 200 items [ items <uuid > ] Empty means every cluster. |
required | Array of objects (LabelMatcher) <= 20 items |
{- "name": "string",
- "starts_at": "2019-08-24T14:15:22Z",
- "ends_at": "2019-08-24T14:15:22Z",
- "cluster_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "matchers": [
- {
- "label": "string",
- "op": "=",
- "value": "string"
}
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "starts_at": "2019-08-24T14:15:22Z",
- "ends_at": "2019-08-24T14:15:22Z",
- "cluster_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "matchers": [
- {
- "label": "string",
- "op": "=",
- "value": "string"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| windowId required | string <uuid> |
| name required | string [ 1 .. 200 ] characters |
| starts_at required | string <date-time> |
| ends_at required | string <date-time> |
| cluster_ids required | Array of strings <uuid> <= 200 items [ items <uuid > ] Empty means every cluster. |
required | Array of objects (LabelMatcher) <= 20 items |
{- "name": "string",
- "starts_at": "2019-08-24T14:15:22Z",
- "ends_at": "2019-08-24T14:15:22Z",
- "cluster_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "matchers": [
- {
- "label": "string",
- "op": "=",
- "value": "string"
}
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "starts_at": "2019-08-24T14:15:22Z",
- "ends_at": "2019-08-24T14:15:22Z",
- "cluster_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "matchers": [
- {
- "label": "string",
- "op": "=",
- "value": "string"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| windowId required | string <uuid> |
{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}{- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "kind": "email",
- "enabled": true,
- "config": { },
- "secrets_set": [
- "string"
], - "min_severity": "info",
- "cluster_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "matchers": [
- {
- "label": "string",
- "op": "=",
- "value": "string"
}
], - "send_resolved": true,
- "approvals": true,
- "locale": "en",
- "status": {
- "last_status": "pending",
- "last_error": "string",
- "last_attempt_at": "2019-08-24T14:15:22Z",
- "last_success_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}| name required | string [ 1 .. 100 ] characters |
| kind required | string (NotificationChannelKind) Enum: "email" "slack" "teams" "webhook" "pagerduty" "opsgenie" |
| enabled required | boolean |
required | object email: to[], from, smtp_host, smtp_port, security (starttls|tls|none), username; webhook: url, allow_insecure; opsgenie: region (us|eu) |
object Write-only. email: password; slack/teams: webhook_url; webhook: hmac_secret; pagerduty: routing_key; opsgenie: api_key | |
| min_severity required | string (AlertSeverity) Enum: "info" "warning" "critical" |
| cluster_ids required | Array of strings <uuid> <= 200 items [ items <uuid > ] Empty means every cluster. |
required | Array of objects (LabelMatcher) <= 20 items |
| send_resolved required | boolean |
| approvals | boolean Also deliver approval requests and decisions (ADR 0022 §4); email, Slack, Teams and webhook only. |
| locale required | string Enum: "en" "tr" |
{- "name": "string",
- "kind": "email",
- "enabled": true,
- "config": { },
- "secrets": {
- "property1": "string",
- "property2": "string"
}, - "min_severity": "info",
- "cluster_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "matchers": [
- {
- "label": "string",
- "op": "=",
- "value": "string"
}
], - "send_resolved": true,
- "approvals": true,
- "locale": "en"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "kind": "email",
- "enabled": true,
- "config": { },
- "secrets_set": [
- "string"
], - "min_severity": "info",
- "cluster_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "matchers": [
- {
- "label": "string",
- "op": "=",
- "value": "string"
}
], - "send_resolved": true,
- "approvals": true,
- "locale": "en",
- "status": {
- "last_status": "pending",
- "last_error": "string",
- "last_attempt_at": "2019-08-24T14:15:22Z",
- "last_success_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| channelId required | string <uuid> |
| name required | string [ 1 .. 100 ] characters |
| kind required | string (NotificationChannelKind) Enum: "email" "slack" "teams" "webhook" "pagerduty" "opsgenie" |
| enabled required | boolean |
required | object email: to[], from, smtp_host, smtp_port, security (starttls|tls|none), username; webhook: url, allow_insecure; opsgenie: region (us|eu) |
object Write-only. email: password; slack/teams: webhook_url; webhook: hmac_secret; pagerduty: routing_key; opsgenie: api_key | |
| min_severity required | string (AlertSeverity) Enum: "info" "warning" "critical" |
| cluster_ids required | Array of strings <uuid> <= 200 items [ items <uuid > ] Empty means every cluster. |
required | Array of objects (LabelMatcher) <= 20 items |
| send_resolved required | boolean |
| approvals | boolean Also deliver approval requests and decisions (ADR 0022 §4); email, Slack, Teams and webhook only. |
| locale required | string Enum: "en" "tr" |
{- "name": "string",
- "kind": "email",
- "enabled": true,
- "config": { },
- "secrets": {
- "property1": "string",
- "property2": "string"
}, - "min_severity": "info",
- "cluster_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "matchers": [
- {
- "label": "string",
- "op": "=",
- "value": "string"
}
], - "send_resolved": true,
- "approvals": true,
- "locale": "en"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "kind": "email",
- "enabled": true,
- "config": { },
- "secrets_set": [
- "string"
], - "min_severity": "info",
- "cluster_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "matchers": [
- {
- "label": "string",
- "op": "=",
- "value": "string"
}
], - "send_resolved": true,
- "approvals": true,
- "locale": "en",
- "status": {
- "last_status": "pending",
- "last_error": "string",
- "last_attempt_at": "2019-08-24T14:15:22Z",
- "last_success_at": "2019-08-24T14:15:22Z"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| channelId required | string <uuid> |
{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}| channelId required | string <uuid> |
{- "items": [
- {
- "id": 0,
- "alert_id": "c8b0bcf7-1a95-4165-9b1e-665b02ceda9f",
- "approval_request_id": "47bbf9d9-0b01-4281-9b67-9324ae3d0dff",
- "kind": "firing",
- "status": "pending",
- "attempts": 0,
- "last_error": "string",
- "next_attempt_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "sent_at": "2019-08-24T14:15:22Z"
}
]
}The licence state every signed-in user sees (banners, gated actions). ADR 0029.
{- "state": "community",
- "edition": "community",
- "version": "string",
- "read_only": true,
- "trial": true,
- "expires_at": "2019-08-24T14:15:22Z",
- "grace_ends": "2019-08-24T14:15:22Z",
- "hosts_used": 0,
- "host_limit": 0,
- "clusters_used": 0,
- "cluster_limit": 0,
- "integrity": "verified",
- "features": {
- "property1": true,
- "property2": true
}
}{- "summary": {
- "state": "community",
- "edition": "community",
- "version": "string",
- "read_only": true,
- "trial": true,
- "expires_at": "2019-08-24T14:15:22Z",
- "grace_ends": "2019-08-24T14:15:22Z",
- "hosts_used": 0,
- "host_limit": 0,
- "clusters_used": 0,
- "cluster_limit": 0,
- "integrity": "verified",
- "features": {
- "property1": true,
- "property2": true
}
}, - "installation_id": "91166175-c6a9-4caf-88e9-3147ffc9c934",
- "activation_request": "string",
- "version": "string",
- "customer_name": "string",
- "license_id": "string",
- "issued_at": "2019-08-24T14:15:22Z",
- "reason": "string",
- "min_editions": {
- "property1": "community",
- "property2": "community"
}, - "online_activation": true,
- "portal_configured": true,
- "last_renew_at": "2019-08-24T14:15:22Z",
- "last_renew_error": "string",
- "history": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "license_id": "string",
- "customer_name": "string",
- "edition": "community",
- "trial": true,
- "issued_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "imported_at": "2019-08-24T14:15:22Z"
}
]
}Verifies a signed licence file for this installation and makes it current.
| document required | string [ 2 .. 65536 ] characters The licence file contents. |
{- "document": "string"
}{- "summary": {
- "state": "community",
- "edition": "community",
- "version": "string",
- "read_only": true,
- "trial": true,
- "expires_at": "2019-08-24T14:15:22Z",
- "grace_ends": "2019-08-24T14:15:22Z",
- "hosts_used": 0,
- "host_limit": 0,
- "clusters_used": 0,
- "cluster_limit": 0,
- "integrity": "verified",
- "features": {
- "property1": true,
- "property2": true
}
}, - "installation_id": "91166175-c6a9-4caf-88e9-3147ffc9c934",
- "activation_request": "string",
- "version": "string",
- "customer_name": "string",
- "license_id": "string",
- "issued_at": "2019-08-24T14:15:22Z",
- "reason": "string",
- "min_editions": {
- "property1": "community",
- "property2": "community"
}, - "online_activation": true,
- "portal_configured": true,
- "last_renew_at": "2019-08-24T14:15:22Z",
- "last_renew_error": "string",
- "history": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "license_id": "string",
- "customer_name": "string",
- "edition": "community",
- "trial": true,
- "issued_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "imported_at": "2019-08-24T14:15:22Z"
}
]
}Online activation through the licence portal with the customer's activation token. Turns on daily renewal.
| token required | string [ 8 .. 200 ] characters |
{- "token": "stringst"
}{- "summary": {
- "state": "community",
- "edition": "community",
- "version": "string",
- "read_only": true,
- "trial": true,
- "expires_at": "2019-08-24T14:15:22Z",
- "grace_ends": "2019-08-24T14:15:22Z",
- "hosts_used": 0,
- "host_limit": 0,
- "clusters_used": 0,
- "cluster_limit": 0,
- "integrity": "verified",
- "features": {
- "property1": true,
- "property2": true
}
}, - "installation_id": "91166175-c6a9-4caf-88e9-3147ffc9c934",
- "activation_request": "string",
- "version": "string",
- "customer_name": "string",
- "license_id": "string",
- "issued_at": "2019-08-24T14:15:22Z",
- "reason": "string",
- "min_editions": {
- "property1": "community",
- "property2": "community"
}, - "online_activation": true,
- "portal_configured": true,
- "last_renew_at": "2019-08-24T14:15:22Z",
- "last_renew_error": "string",
- "history": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "license_id": "string",
- "customer_name": "string",
- "edition": "community",
- "trial": true,
- "issued_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "imported_at": "2019-08-24T14:15:22Z"
}
]
}| online_activation | boolean Renew the licence from the portal every day. |
{- "online_activation": true
}{- "summary": {
- "state": "community",
- "edition": "community",
- "version": "string",
- "read_only": true,
- "trial": true,
- "expires_at": "2019-08-24T14:15:22Z",
- "grace_ends": "2019-08-24T14:15:22Z",
- "hosts_used": 0,
- "host_limit": 0,
- "clusters_used": 0,
- "cluster_limit": 0,
- "integrity": "verified",
- "features": {
- "property1": true,
- "property2": true
}
}, - "installation_id": "91166175-c6a9-4caf-88e9-3147ffc9c934",
- "activation_request": "string",
- "version": "string",
- "customer_name": "string",
- "license_id": "string",
- "issued_at": "2019-08-24T14:15:22Z",
- "reason": "string",
- "min_editions": {
- "property1": "community",
- "property2": "community"
}, - "online_activation": true,
- "portal_configured": true,
- "last_renew_at": "2019-08-24T14:15:22Z",
- "last_renew_error": "string",
- "history": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "license_id": "string",
- "customer_name": "string",
- "edition": "community",
- "trial": true,
- "issued_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "imported_at": "2019-08-24T14:15:22Z"
}
]
}Creates the provider tenant and its first administrator. Guarded by the one-time setup code.
| code required | string [ 1 .. 64 ] characters |
| tenant_name required | string [ 1 .. 200 ] characters |
| tenant_slug required | string [ 1 .. 63 ] characters |
| admin_email required | string <= 320 characters |
| admin_password required | string <= 1024 characters |
| display_name | string <= 200 characters |
{- "code": "string",
- "tenant_name": "string",
- "tenant_slug": "string",
- "admin_email": "string",
- "admin_password": "string",
- "display_name": "string"
}{- "tenant_slug": "string"
}The running version, the release channel, the releases offered by the licence portal and the connector versions (ADR 0030 §4).
{- "current_version": "string",
- "channel": "stable",
- "online": true,
- "checked_at": "2019-08-24T14:15:22Z",
- "error": "string",
- "releases": [
- {
- "version": "string",
- "channel": "stable",
- "date": "2019-08-24T14:15:22Z",
- "notes": "string",
- "min_upgrade_from": "string",
- "newer": true,
- "upgradable": true
}
], - "connector_release": "string",
- "connectors": [
- {
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "cluster_name": "string",
- "version": "string",
- "integrity": "verified",
- "last_seen_at": "2019-08-24T14:15:22Z",
- "outdated": true
}
], - "apply_supported": true,
- "apply": {
- "state": "requested",
- "version": "string",
- "from": "string",
- "message": "string",
- "at": "2019-08-24T14:15:22Z"
}
}| channel | string (ReleaseChannel) Enum: "stable" "beta" |
{- "channel": "stable"
}{- "current_version": "string",
- "channel": "stable",
- "online": true,
- "checked_at": "2019-08-24T14:15:22Z",
- "error": "string",
- "releases": [
- {
- "version": "string",
- "channel": "stable",
- "date": "2019-08-24T14:15:22Z",
- "notes": "string",
- "min_upgrade_from": "string",
- "newer": true,
- "upgradable": true
}
], - "connector_release": "string",
- "connectors": [
- {
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "cluster_name": "string",
- "version": "string",
- "integrity": "verified",
- "last_seen_at": "2019-08-24T14:15:22Z",
- "outdated": true
}
], - "apply_supported": true,
- "apply": {
- "state": "requested",
- "version": "string",
- "from": "string",
- "message": "string",
- "at": "2019-08-24T14:15:22Z"
}
}{- "current_version": "string",
- "channel": "stable",
- "online": true,
- "checked_at": "2019-08-24T14:15:22Z",
- "error": "string",
- "releases": [
- {
- "version": "string",
- "channel": "stable",
- "date": "2019-08-24T14:15:22Z",
- "notes": "string",
- "min_upgrade_from": "string",
- "newer": true,
- "upgradable": true
}
], - "connector_release": "string",
- "connectors": [
- {
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "cluster_name": "string",
- "version": "string",
- "integrity": "verified",
- "last_seen_at": "2019-08-24T14:15:22Z",
- "outdated": true
}
], - "apply_supported": true,
- "apply": {
- "state": "requested",
- "version": "string",
- "from": "string",
- "message": "string",
- "at": "2019-08-24T14:15:22Z"
}
}Asks the host to install an offered release (ADR 0032 §10). The API writes a signed request that the host's nexhypro-update service picks up; it verifies the release, takes a backup, migrates and rolls back on failure. Progress appears in UpdateStatus.apply. Only Compose and appliance installations with the update service.
| version required | string <= 64 characters |
{- "version": "string"
}{- "current_version": "string",
- "channel": "stable",
- "online": true,
- "checked_at": "2019-08-24T14:15:22Z",
- "error": "string",
- "releases": [
- {
- "version": "string",
- "channel": "stable",
- "date": "2019-08-24T14:15:22Z",
- "notes": "string",
- "min_upgrade_from": "string",
- "newer": true,
- "upgradable": true
}
], - "connector_release": "string",
- "connectors": [
- {
- "cluster_id": "d3d1bfdf-67c4-41fa-b065-858242731616",
- "cluster_name": "string",
- "version": "string",
- "integrity": "verified",
- "last_seen_at": "2019-08-24T14:15:22Z",
- "outdated": true
}
], - "apply_supported": true,
- "apply": {
- "state": "requested",
- "version": "string",
- "from": "string",
- "message": "string",
- "at": "2019-08-24T14:15:22Z"
}
}A tenant's white-label for the login screen and the shell (ADR 0031 §1). Without a tenant, the installation's only tenant.
| tenant | string <= 63 characters |
{- "tenant_slug": "string",
- "product_name": "string",
- "primary_color": "string",
- "primary_color_dark": "string",
- "logo_url": "string",
- "logo_small_url": "string",
- "login_message": {
- "property1": "string",
- "property2": "string"
}, - "support_url": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}| tenantSlug required | string <= 63 characters |
| variant | string Default: "full" Enum: "full" "small" |
| v | string <= 64 characters Content hash for caching. |
{- "type": "urn:nexhypro:problem:not_found",
- "title": "string",
- "status": 0,
- "code": "string",
- "detail": "string",
- "instance": "string",
- "errors": [
- {
- "field": "string",
- "code": "string"
}
]
}{- "tenant_slug": "string",
- "product_name": "string",
- "primary_color": "string",
- "primary_color_dark": "string",
- "logo_url": "string",
- "logo_small_url": "string",
- "login_message": {
- "property1": "string",
- "property2": "string"
}, - "support_url": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}| product_name | string <= 40 characters |
| primary_color | string <= 7 characters |
| primary_color_dark | string <= 7 characters |
object <= 20 properties | |
| support_url | string <= 500 characters |
object (BrandingLogo) | |
object (BrandingLogo) |
{- "product_name": "string",
- "primary_color": "string",
- "primary_color_dark": "string",
- "login_message": {
- "property1": "string",
- "property2": "string"
}, - "support_url": "string",
- "logo": {
- "type": "image/svg+xml",
- "data": "string"
}, - "logo_small": {
- "type": "image/svg+xml",
- "data": "string"
}
}{- "tenant_slug": "string",
- "product_name": "string",
- "primary_color": "string",
- "primary_color_dark": "string",
- "logo_url": "string",
- "logo_small_url": "string",
- "login_message": {
- "property1": "string",
- "property2": "string"
}, - "support_url": "string",
- "updated_at": "2019-08-24T14:15:22Z"
}The consent, the exact report that would be sent, and the last report sent (ADR 0031 §2).
{- "enabled": true,
- "configured": true,
- "consented_at": "2019-08-24T14:15:22Z",
- "last_sent_at": "2019-08-24T14:15:22Z",
- "preview": { },
- "last_report": { }
}| enabled required | boolean |
{- "enabled": true
}{- "enabled": true,
- "configured": true,
- "consented_at": "2019-08-24T14:15:22Z",
- "last_sent_at": "2019-08-24T14:15:22Z",
- "preview": { },
- "last_report": { }
}