From 112c075863f59c39b72ac75881667c6c01c8ad62 Mon Sep 17 00:00:00 2001 From: slashburygin Date: Fri, 31 Jul 2026 10:06:52 +0300 Subject: [PATCH] update openapi to 3.1.0 --- .gitignore | 1 + docs/openapi/openapi_boot.yaml | 3150 +- docs/openapi/openapi_orch.yaml | 3012 +- docs/openapi/openapi_status.yaml | 3050 +- docs/openapi/openapi_user.yaml | 31698 +--------------- docs/openapi/openapi_user_3.0.3.yaml | 2959 ++ docs/openapi/openapi_user_3.1.0.yaml | 3022 ++ .../tests/manual/openapi/test_openapi.py | 31 +- 8 files changed, 15375 insertions(+), 31548 deletions(-) create mode 100644 docs/openapi/openapi_user_3.0.3.yaml create mode 100644 docs/openapi/openapi_user_3.1.0.yaml diff --git a/.gitignore b/.gitignore index 223d750a..1964afc1 100644 --- a/.gitignore +++ b/.gitignore @@ -139,3 +139,4 @@ docs/source/*.png pgdata/ .tasks +graphify-out \ No newline at end of file diff --git a/docs/openapi/openapi_boot.yaml b/docs/openapi/openapi_boot.yaml index 074b8344..3905b538 100644 --- a/docs/openapi/openapi_boot.yaml +++ b/docs/openapi/openapi_boot.yaml @@ -1,8 +1,17 @@ -openapi: 3.0.3 +openapi: 3.1.0 +jsonSchemaDialect: https://spec.openapis.org/oas/3.1/dialect/base info: - title: Exordos Core v1 Boot API + title: REST API Microservice version: latest - description: OpenAPI - Exordos Core v1 + description: REST API Microservice for tests + termsOfService: https://functional.tests/terms/ + license: + name: Apache 2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + contact: + name: Functional Tests + url: https://functional.tests/ + email: functional@tests.local components: responses: Error: @@ -54,7 +63,7 @@ components: code: 400 type: ValidationErrorException message: Validation error occurred. - UniversalAgent_Get: + VM_Create: type: object properties: uuid: @@ -62,75 +71,49 @@ components: example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true - name: + state: type: string minLength: 0 - maxLength: 255 + maxLength: 10 example: any_string - description: + default: off + name: type: string minLength: 0 maxLength: 255 example: any_string - default: '' - created_at: + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: type: string x-ogen-time-format: '2006-01-02T15:04:05.000576Z' example: '2006-01-02T15:04:05.000576Z' format: date-time readOnly: true default: '2006-01-02T15:04:05.000576Z' - updated_at: + updated: type: string x-ogen-time-format: '2006-01-02T15:04:05.000576Z' example: '2006-01-02T15:04:05.000576Z' format: date-time - readOnly: true default: '2006-01-02T15:04:05.000576Z' - capabilities: - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: boolean - - type: object - - type: array - items: {} - example: - key: value - default: {} - facts: - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: boolean - - type: object - - type: array - items: {} - example: - key: value - default: {} - node: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - status: - type: string - enum: - - ACTIVE - - DISABLED - - ERROR - - NEW - example: NEW - default: NEW required: - - uuid - name - - node - UniversalAgent_Create: + VM_Get: type: object properties: uuid: @@ -138,75 +121,49 @@ components: example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true - name: + state: type: string minLength: 0 - maxLength: 255 + maxLength: 10 example: any_string - description: + default: off + name: type: string minLength: 0 maxLength: 255 example: any_string - default: '' - created_at: + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: type: string x-ogen-time-format: '2006-01-02T15:04:05.000576Z' example: '2006-01-02T15:04:05.000576Z' format: date-time readOnly: true default: '2006-01-02T15:04:05.000576Z' - updated_at: + updated: type: string x-ogen-time-format: '2006-01-02T15:04:05.000576Z' example: '2006-01-02T15:04:05.000576Z' format: date-time - readOnly: true default: '2006-01-02T15:04:05.000576Z' - capabilities: - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: boolean - - type: object - - type: array - items: {} - example: - key: value - default: {} - facts: - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: boolean - - type: object - - type: array - items: {} - example: - key: value - default: {} - node: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - status: - type: string - enum: - - ACTIVE - - DISABLED - - ERROR - - NEW - example: NEW - default: NEW required: - - uuid - name - - node - UniversalAgent_Update: + VM_Filter: type: object properties: uuid: @@ -214,75 +171,49 @@ components: example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true - name: + state: type: string minLength: 0 - maxLength: 255 + maxLength: 10 example: any_string - description: + default: off + name: type: string minLength: 0 maxLength: 255 example: any_string - default: '' - created_at: + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: type: string x-ogen-time-format: '2006-01-02T15:04:05.000576Z' example: '2006-01-02T15:04:05.000576Z' format: date-time readOnly: true default: '2006-01-02T15:04:05.000576Z' - updated_at: + updated: type: string x-ogen-time-format: '2006-01-02T15:04:05.000576Z' example: '2006-01-02T15:04:05.000576Z' format: date-time - readOnly: true default: '2006-01-02T15:04:05.000576Z' - capabilities: - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: boolean - - type: object - - type: array - items: {} - example: - key: value - default: {} - facts: - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: boolean - - type: object - - type: array - items: {} - example: - key: value - default: {} - node: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - status: - type: string - enum: - - ACTIVE - - DISABLED - - ERROR - - NEW - example: NEW - default: NEW required: - - uuid - name - - node - MachineNetboot_Get: + VM_Update: type: object properties: uuid: @@ -290,339 +221,322 @@ components: example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true - created_at: + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: type: string x-ogen-time-format: '2006-01-02T15:04:05.000576Z' example: '2006-01-02T15:04:05.000576Z' format: date-time readOnly: true default: '2006-01-02T15:04:05.000576Z' - updated_at: + updated: type: string x-ogen-time-format: '2006-01-02T15:04:05.000576Z' example: '2006-01-02T15:04:05.000576Z' format: date-time - readOnly: true default: '2006-01-02T15:04:05.000576Z' - project_id: + required: + - name + Port_Create: + type: object + properties: + uuid: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true - name: + mac: + type: string + pattern: ^([0-9a-fA-F]{2,2}:){5,5}[0-9a-fA-F]{2,2}$ + example: 00:00:00:00:00:00 + default: 00:00:00:00:00:00 + vm: + type: string + some-field2: type: string minLength: 0 - maxLength: 255 + maxLength: 9223372036854775807 example: any_string - default: '' - description: + some-field3: type: string minLength: 0 - maxLength: 255 + maxLength: 9223372036854775807 example: any_string - default: '' - cores: - type: integer - minimum: 0 - maximum: 4096 - example: 2048 - ram: - type: integer - minimum: 0 - maximum: 9223372036854775807 - example: 0 - status: - type: string - enum: - - ACTIVE - - ERROR - - FLASHED - - IDLE - - IN_PROGRESS - - NEED_RESCHEDULE - - NEW - - SCHEDULED - - STARTED - example: NEW - default: NEW - machine_type: - type: string - enum: - - HW - - VM - example: VM - default: VM - node: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - nullable: true - pool: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - nullable: true - boot: - type: string - enum: - - cdrom - - hd0 - - hd1 - - hd2 - - hd3 - - hd4 - - hd5 - - hd6 - - hd7 - - network - example: hd0 - default: network - image: + some-field4: type: string minLength: 0 - maxLength: 255 + maxLength: 9223372036854775807 example: any_string - nullable: true - firmware_uuid: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - nullable: true - block_devices: - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: boolean - - type: object - - type: array - items: {} - example: - key: value - default: {} - required: - - project_id - - cores - - ram - KindModel_Filter: - type: object - properties: - kind: + some-field5: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-after: type: string minLength: 0 - maxLength: 64 + maxLength: 9223372036854775807 example: any_string - readOnly: true - required: - - kind - KindModel_Get: - type: object - properties: - kind: + name-any: + oneOf: + - type: string + - type: integer + - type: array + - type: boolean + - type: object + example: string + permission-field: type: string minLength: 0 - maxLength: 64 + maxLength: 9223372036854775807 example: any_string readOnly: true required: - - kind - Resource_Get: + - vm + Port_Filter: type: object properties: - created_at: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - updated_at: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' uuid: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true - kind: + mac: type: string - value: - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: boolean - - type: object - - type: array - items: {} - example: - key: value - hash: + pattern: ^([0-9a-fA-F]{2,2}:){5,5}[0-9a-fA-F]{2,2}$ + example: 00:00:00:00:00:00 + default: 00:00:00:00:00:00 + vm: + type: string + some-field1: type: string minLength: 0 - maxLength: 256 + maxLength: 9223372036854775807 example: any_string - default: '' - full_hash: + some-field3: type: string minLength: 0 - maxLength: 256 + maxLength: 9223372036854775807 example: any_string - default: '' - status: + some-field4: type: string minLength: 0 - maxLength: 32 + maxLength: 9223372036854775807 + example: any_string + some-field5: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 example: any_string - default: ACTIVE - node: + unique-field: type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - nullable: true - res_uuid: + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-after: type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-any: + oneOf: + - type: string + - type: integer + - type: array + - type: boolean + - type: object + example: string + permission-field: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + readOnly: true required: - - kind - Resource_Create: + - vm + Port_Get: type: object properties: - created_at: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - updated_at: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' uuid: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true - kind: + mac: type: string - value: - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: boolean - - type: object - - type: array - items: {} - example: - key: value - hash: + pattern: ^([0-9a-fA-F]{2,2}:){5,5}[0-9a-fA-F]{2,2}$ + example: 00:00:00:00:00:00 + default: 00:00:00:00:00:00 + vm: + type: string + some-field1: type: string minLength: 0 - maxLength: 256 + maxLength: 9223372036854775807 example: any_string - default: '' - full_hash: + some-field2: type: string minLength: 0 - maxLength: 256 + maxLength: 9223372036854775807 example: any_string - default: '' - status: + some-field4: type: string minLength: 0 - maxLength: 32 + maxLength: 9223372036854775807 example: any_string - default: ACTIVE - node: + some-field5: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-after: type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - nullable: true - res_uuid: + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-any: + oneOf: + - type: string + - type: integer + - type: array + - type: boolean + - type: object + example: string + permission-field: type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + readOnly: true required: - - kind - Resource_Update: + - vm + Port_Update: type: object properties: - created_at: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - updated_at: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' uuid: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true - kind: + mac: type: string - value: - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: boolean - - type: object - - type: array - items: {} - example: - key: value - hash: + pattern: ^([0-9a-fA-F]{2,2}:){5,5}[0-9a-fA-F]{2,2}$ + example: 00:00:00:00:00:00 + default: 00:00:00:00:00:00 + vm: + type: string + some-field1: type: string minLength: 0 - maxLength: 256 + maxLength: 9223372036854775807 example: any_string - default: '' - full_hash: + some-field2: type: string minLength: 0 - maxLength: 256 + maxLength: 9223372036854775807 example: any_string - default: '' - status: + some-field3: type: string minLength: 0 - maxLength: 32 + maxLength: 9223372036854775807 example: any_string - default: ACTIVE - node: + some-field5: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-after: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-any: + oneOf: + - type: string + - type: integer + - type: array + - type: boolean + - type: object + example: string + permission-field: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + readOnly: true + required: + - vm + IpAddress_Create: + type: object + properties: + uuid: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid - nullable: true - res_uuid: + readOnly: true + ip: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + default: 192.168.0.1 + port: + type: string + required: + - port + IpAddress_Filter: + type: object + properties: + uuid: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid + readOnly: true + ip: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + default: 192.168.0.1 + port: + type: string required: - - kind - NodeVerifier_Get: + - port + IpAddress_Get: type: object properties: uuid: @@ -630,7 +544,17 @@ components: example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true - NodeEncryptionKey_Get: + ip: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + default: 192.168.0.1 + port: + type: string + required: + - port + Tag_Create: type: object properties: uuid: @@ -638,36 +562,589 @@ components: example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true - created_at: + name: type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - updated_at: + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + visible: + type: boolean + example: true + default: true + vm: type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time + required: + - name + - vm + Tag_Filter: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid readOnly: true - default: '2006-01-02T15:04:05.000576Z' - private_key: + name: type: string minLength: 0 - maxLength: 44 + maxLength: 9223372036854775807 example: any_string - encryption_disabled_until: + visible: + type: boolean + example: true + default: true + vm: type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - default: '2006-01-02T15:04:05.000576Z' required: - - private_key - parameters: - UniversalAgentUuid: - name: UniversalAgentUuid + - name + - vm + Tag_Get: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + name: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + visible: + type: boolean + example: true + default: true + vm: + type: string + required: + - name + - vm + Tag_Update: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + name: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + visible: + type: boolean + example: true + default: true + vm: + type: string + required: + - name + - vm + VMDefSort_Create: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMDefSort_Get: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMDefSort_Filter: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMDefSort_Update: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoProcessFilters_Get: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoProcessFilters_Filter: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoSort_Create: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoSort_Get: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoSort_Filter: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoSort_Update: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + parameters: + VMUuid: + name: VMUuid in: path schema: type: string @@ -675,95 +1152,66 @@ components: format: uuid readOnly: true required: true - name: - name: name + state: + name: state in: query schema: type: string minLength: 0 - maxLength: 255 + maxLength: 10 example: any_string - default: '' - description: - name: description + default: off + name: + name: name in: query schema: type: string minLength: 0 maxLength: 255 example: any_string - default: '' - created_at: - name: created_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - updated_at: - name: updated_at + examples: + - testname + just-none: + name: just-none in: query schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - capabilities: - name: capabilities - in: query - schema: - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: boolean - - type: object - - type: array - items: {} - example: - key: value - default: {} - facts: - name: facts - in: query - schema: - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: boolean - - type: object - - type: array - items: {} - example: - key: value - default: {} - node: - name: node + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + name: status in: query schema: type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - nullable: true - status: - name: status + enum: + - active + - disabled + example: active + default: active + created: + name: created in: query schema: type: string - minLength: 0 - maxLength: 32 - example: any_string - default: ACTIVE - MachineNetbootUuid: - name: MachineNetbootUuid + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + name: updated + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + PortUuid: + name: PortUuid in: path schema: type: string @@ -771,165 +1219,162 @@ components: format: uuid readOnly: true required: true - project_id: - name: project_id + mac: + name: mac in: query schema: type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - cores: - name: cores + pattern: ^([0-9a-fA-F]{2,2}:){5,5}[0-9a-fA-F]{2,2}$ + example: 00:00:00:00:00:00 + default: 00:00:00:00:00:00 + vm: + name: vm in: query schema: - type: integer - minimum: 0 - maximum: 4096 - example: 2048 - ram: - name: ram + type: string + never-call: + name: never-call in: query schema: - type: integer - minimum: 0 - maximum: 9223372036854775807 - example: 0 - machine_type: - name: machine_type + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + -hidden-field: + name: -hidden-field in: query schema: type: string - enum: - - HW - - VM - example: VM - default: VM - pool: - name: pool + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field1: + name: some-field1 in: query schema: type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - nullable: true - boot: - name: boot + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field2: + name: some-field2 in: query schema: type: string - enum: - - cdrom - - hd0 - - hd1 - - hd2 - - hd3 - - hd4 - - hd5 - - hd6 - - hd7 - - network - example: hd0 - default: network - image: - name: image + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field3: + name: some-field3 in: query schema: type: string minLength: 0 - maxLength: 255 + maxLength: 9223372036854775807 example: any_string - nullable: true - firmware_uuid: - name: firmware_uuid + some-field4: + name: some-field4 in: query schema: type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - nullable: true - block_devices: - name: block_devices + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field5: + name: some-field5 in: query schema: - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: boolean - - type: object - - type: array - items: {} - example: - key: value - default: {} - KindModelKind: - name: KindModelKind - in: path - schema: - type: string + type: + - string + - 'null' minLength: 0 - maxLength: 64 + maxLength: 9223372036854775807 example: any_string - readOnly: true - required: true - uuid: - name: uuid + unique-field: + name: unique-field in: query schema: type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - kind: - name: kind + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-after: + name: name-after in: query schema: type: string - value: - name: value + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-any: + name: name-any in: query schema: - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: boolean - - type: object - - type: array - items: {} - example: - key: value - hash: - name: hash + oneOf: + - type: string + - type: integer + - type: array + - type: boolean + - type: object + example: string + permission-field: + name: permission-field in: query schema: type: string minLength: 0 - maxLength: 256 + maxLength: 9223372036854775807 example: any_string - default: '' - full_hash: - name: full_hash + IpAddressUuid: + name: IpAddressUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + ip: + name: ip in: query schema: type: string minLength: 0 - maxLength: 256 + maxLength: 9223372036854775807 example: any_string - default: '' - ResourceRes_uuid: - name: ResourceRes_uuid + default: 192.168.0.1 + port: + name: port + in: query + schema: + type: string + TagUuid: + name: TagUuid in: path schema: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid + readOnly: true + required: true + TagName: + name: TagName + in: path + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string required: true - NodeVerifierUuid: - name: NodeVerifierUuid + visible: + name: visible + in: query + schema: + type: boolean + example: true + default: true + VMDefSortUuid: + name: VMDefSortUuid in: path schema: type: string @@ -937,8 +1382,8 @@ components: format: uuid readOnly: true required: true - NodeEncryptionKeyUuid: - name: NodeEncryptionKeyUuid + VMNoProcessFiltersUuid: + name: VMNoProcessFiltersUuid in: path schema: type: string @@ -946,131 +1391,978 @@ components: format: uuid readOnly: true required: true - private_key: - name: private_key - in: query - schema: - type: string - minLength: 0 - maxLength: 44 - example: any_string - encryption_disabled_until: - name: encryption_disabled_until - in: query + VMNoSortUuid: + name: VMNoSortUuid + in: path schema: type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - default: '2006-01-02T15:04:05.000576Z' + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true paths: /: get: - summary: Base application url + summary: Base application url + responses: + '200': + description: Get nested urls + content: + application/json: + schema: + type: array + items: + type: string + default: + $ref: '#/components/responses/Error' + operationId: Get_urls + /specifications/: + get: + summary: Get OpenApiSpecificationRoute OpenApiSpecificationControllers + tags: [] + parameters: [] + responses: + '200': + description: Get nested urls + content: + application/json: + schema: + type: array + items: + type: string + default: + $ref: '#/components/responses/Error' + operationId: Filter_specifications + /specifications/3.0.3: + get: + summary: OpenApi specification + tags: [] + parameters: [] + responses: + '200': + description: OpenApi specification + content: + application/json: + schema: + type: object + properties: {} + default: + $ref: '#/components/responses/Error' + operationId: Get_OpenApi_specification + /specifications/3.1.0: + get: + summary: OpenApi specification + tags: [] + parameters: [] + responses: + '200': + description: OpenApi specification + content: + application/json: + schema: + type: object + properties: {} + default: + $ref: '#/components/responses/Error' + operationId: Get_OpenApi_specification + /v1/: + get: + summary: Returns a list of all routes in the main route that are + collection + tags: [] + parameters: + - name: filters + description: "the filters to apply when filtering the routes (Is not\nimplemented + now)\n" + schema: + type: string + in: query + - name: order_by + description: "fields to order the routes by (Is not implemented\nnow)\n" + schema: + type: string + in: query + responses: + '200': + description: Get nested urls + content: + application/json: + schema: + type: array + items: + type: string + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1 + /v1/notimplementedmethods/: + get: + summary: method filter was implemented for testing base error message + tags: [] + parameters: [] + responses: + '200': + description: Get nested urls + content: + application/json: + schema: + type: array + items: + type: string + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_notimplementedmethods + post: + summary: Create NotImplementedMethodsRoute NotImplementedMethodsController + tags: [] + parameters: [] + responses: + '201': + description: Unknown_Create + content: + application/json: + schema: + $ref: '#/components/schemas/Unknown_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_notimplementedmethods + requestBody: + description: Unknown_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Unknown_Create' + /v1/vms/: + get: + summary: Get VMs + tags: + - VM + parameters: + - name: state + in: query + schema: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + - name: name + in: query + schema: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + - name: just-none + in: query + schema: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + - name: status + in: query + schema: + type: string + enum: + - active + - disabled + example: active + default: active + - name: created + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + - name: updated + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + responses: + '200': + description: VM_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/VM_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vms + post: + summary: Create VM resource + tags: + - VM + parameters: [] + responses: + '201': + description: VM_Create + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vms + requestBody: + description: VM_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Create' + /v1/vms/{VMUuid}: + get: + summary: Get VM + tags: + - VM + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: VM_Get + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vms_VMUuid + put: + summary: Update VM + tags: + - VM + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: VM_Update + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Update' + default: + $ref: '#/components/responses/Error' + operationId: Update_v1_vms_VMUuid + requestBody: + description: VM_Update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Update' + delete: + summary: Delete VM + tags: + - VM + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: VM_Delete + default: + $ref: '#/components/responses/Error' + operationId: Delete_v1_vms_VMUuid + /v1/vms/{VMUuid}/none_ports/: + get: + summary: Get Ports + tags: + - Port + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Port_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Port_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vms_VMUuid_none_ports + post: + summary: Create Port + tags: + - Port + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '201': + description: Port_Create + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vms_VMUuid_none_ports + requestBody: + description: Port_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Create' + /v1/vms/{VMUuid}/none_ports/{PortUuid}: + get: + summary: Get Port + tags: + - Port + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Port_Get + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vms_VMUuid_none_ports_PortUuid + put: + summary: Update Port + tags: + - Port + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Port_Update + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Update' + default: + $ref: '#/components/responses/Error' + operationId: Update_v1_vms_VMUuid_none_ports_PortUuid + requestBody: + description: Port_Update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Update' + delete: + summary: Delete Port + tags: + - Port + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: Port_Delete + default: + $ref: '#/components/responses/Error' + operationId: Delete_v1_vms_VMUuid_none_ports_PortUuid + /v1/vms/{VMUuid}/none_ports/{PortUuid}/ip_addresses/: + get: + summary: Get IpAddresss + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: IpAddress_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IpAddress_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vms_VMUuid_none_ports_PortUuid_ip_addresses + post: + summary: Create IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '201': + description: IpAddress_Create + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vms_VMUuid_none_ports_PortUuid_ip_addresses + requestBody: + description: IpAddress_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Create' + /v1/vms/{VMUuid}/none_ports/{PortUuid}/ip_addresses/{IpAddressUuid}: + get: + summary: Get IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: IpAddressUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: IpAddress_Get + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Get' + default: + $ref: '#/components/responses/Error' + operationId: + Get_v1_vms_VMUuid_none_ports_PortUuid_ip_addresses_IpAddressUuid + delete: + summary: Delete IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: IpAddressUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: IpAddress_Delete + default: + $ref: '#/components/responses/Error' + operationId: + Delete_v1_vms_VMUuid_none_ports_PortUuid_ip_addresses_IpAddressUuid + /v1/vms/{VMUuid}/ports/: + get: + summary: Get Ports + tags: + - PortTestTag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true responses: '200': - description: Get nested urls + description: Port_Filter content: application/json: schema: type: array items: - type: string + $ref: '#/components/schemas/Port_Filter' default: $ref: '#/components/responses/Error' - operationId: Get_urls - /specifications/: + operationId: Filter_v1_vms_VMUuid_ports + post: + summary: Create Port + tags: + - PortTestTag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '201': + description: Port_Create + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vms_VMUuid_ports + requestBody: + description: Port_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Create' + /v1/vms/{VMUuid}/ports/{PortUuid}: get: - summary: Get OpenApiSpecificationRoute OpenApiSpecificationControllers - tags: [] - parameters: [] + summary: Get Port + tags: + - PortTestTag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true responses: '200': - description: Get nested urls + description: Port_Get + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vms_VMUuid_ports_PortUuid + put: + summary: Update Port + tags: + - PortTestTag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Port_Update + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Update' + default: + $ref: '#/components/responses/Error' + operationId: Update_v1_vms_VMUuid_ports_PortUuid + requestBody: + description: Port_Update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Update' + delete: + summary: Delete Port + tags: + - PortTestTag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: Port_Delete + default: + $ref: '#/components/responses/Error' + operationId: Delete_v1_vms_VMUuid_ports_PortUuid + /v1/vms/{VMUuid}/ports/{PortUuid}/ip_addresses/: + get: + summary: Get IpAddresss + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: IpAddress_Filter content: application/json: schema: type: array items: - type: string + $ref: '#/components/schemas/IpAddress_Filter' default: $ref: '#/components/responses/Error' - operationId: Filter_specifications - /specifications/3.0.3: + operationId: Filter_v1_vms_VMUuid_ports_PortUuid_ip_addresses + post: + summary: Create IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '201': + description: IpAddress_Create + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vms_VMUuid_ports_PortUuid_ip_addresses + requestBody: + description: IpAddress_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Create' + /v1/vms/{VMUuid}/ports/{PortUuid}/ip_addresses/{IpAddressUuid}: get: - summary: OpenApi specification - tags: [] - parameters: [] + summary: Get IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: IpAddressUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true responses: '200': - description: OpenApi specification + description: IpAddress_Get content: application/json: schema: - type: object - properties: {} + $ref: '#/components/schemas/IpAddress_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vms_VMUuid_ports_PortUuid_ip_addresses_IpAddressUuid + delete: + summary: Delete IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: IpAddressUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: IpAddress_Delete default: $ref: '#/components/responses/Error' - operationId: Get_OpenApi_specification - /v1/: + operationId: + Delete_v1_vms_VMUuid_ports_PortUuid_ip_addresses_IpAddressUuid + /v1/vms/{VMUuid}/tags/: get: - summary: Returns a list of all routes in the main route that are - collection - tags: [] + summary: Get Tags + tags: + - Tag parameters: - - name: filters - description: "the filters to apply when filtering the routes (Is not\nimplemented - now)\n" - schema: - type: string - in: query - - name: order_by - description: "fields to order the routes by (Is not implemented\nnow)\n" + - name: VMUuid + in: path schema: type: string - in: query + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true responses: '200': - description: Get nested urls + description: Tag_Filter content: application/json: schema: type: array items: - type: string + $ref: '#/components/schemas/Tag_Filter' default: $ref: '#/components/responses/Error' - operationId: Filter_v1 - /v1/agents/: + operationId: Filter_v1_vms_VMUuid_tags post: - summary: Create UniversalAgent + summary: Create Tag tags: - - UniversalAgent - parameters: [] + - Tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true responses: '201': - description: UniversalAgent_Create + description: Tag_Create content: application/json: schema: - $ref: '#/components/schemas/UniversalAgent_Create' + $ref: '#/components/schemas/Tag_Create' default: $ref: '#/components/responses/Error' - operationId: Create_v1_agents + operationId: Create_v1_vms_VMUuid_tags requestBody: - description: UniversalAgent_Create + description: Tag_Create required: true content: application/json: schema: - $ref: '#/components/schemas/UniversalAgent_Create' - /v1/agents/{UniversalAgentUuid}: + $ref: '#/components/schemas/Tag_Create' + /v1/vms/{VMUuid}/tags/{TagName}: get: - summary: Get UniversalAgent + summary: Get Tag tags: - - UniversalAgent + - Tag parameters: - - name: UniversalAgentUuid + - name: VMUuid in: path schema: type: string @@ -1078,22 +2370,30 @@ paths: format: uuid readOnly: true required: true + - name: TagName + in: path + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + required: true responses: '200': - description: UniversalAgent_Get + description: Tag_Get content: application/json: schema: - $ref: '#/components/schemas/UniversalAgent_Get' + $ref: '#/components/schemas/Tag_Get' default: $ref: '#/components/responses/Error' - operationId: Get_v1_agents_UniversalAgentUuid + operationId: Get_v1_vms_VMUuid_tags_TagName put: - summary: Update UniversalAgent + summary: Update Tag tags: - - UniversalAgent + - Tag parameters: - - name: UniversalAgentUuid + - name: VMUuid in: path schema: type: string @@ -1101,29 +2401,37 @@ paths: format: uuid readOnly: true required: true + - name: TagName + in: path + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + required: true responses: '200': - description: UniversalAgent_Update + description: Tag_Update content: application/json: schema: - $ref: '#/components/schemas/UniversalAgent_Update' + $ref: '#/components/schemas/Tag_Update' default: $ref: '#/components/responses/Error' - operationId: Update_v1_agents_UniversalAgentUuid + operationId: Update_v1_vms_VMUuid_tags_TagName requestBody: - description: UniversalAgent_Update + description: Tag_Update required: true content: application/json: schema: - $ref: '#/components/schemas/UniversalAgent_Update' + $ref: '#/components/schemas/Tag_Update' delete: - summary: Delete UniversalAgent + summary: Delete Tag tags: - - UniversalAgent + - Tag parameters: - - name: UniversalAgentUuid + - name: VMUuid in: path schema: type: string @@ -1131,19 +2439,27 @@ paths: format: uuid readOnly: true required: true + - name: TagName + in: path + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + required: true responses: '204': - description: UniversalAgent_Delete + description: Tag_Delete default: $ref: '#/components/responses/Error' - operationId: Delete_v1_agents_UniversalAgentUuid - /v1/agents/{UniversalAgentUuid}/actions/get_payload: + operationId: Delete_v1_vms_VMUuid_tags_TagName + /v1/vms/{VMUuid}/actions/ip_addresses: get: - summary: Get_payload UniversalAgent + summary: Ip_addresses IpAddress tags: - - UniversalAgent + - VM parameters: - - name: UniversalAgentUuid + - name: VMUuid in: path schema: type: string @@ -1159,14 +2475,14 @@ paths: schema: {} default: $ref: '#/components/responses/Error' - operationId: Get_payload_v1_agents_UniversalAgentUuid_actions_get_payload - /v1/boots/{MachineNetbootUuid}: - get: - summary: Get MachineNetboot + operationId: Ip_addresses_v1_vms_VMUuid_actions_ip_addresses + /v1/vms/{VMUuid}/actions/power/invoke: + post: + summary: Power VM tags: - - MachineNetboot + - VM parameters: - - name: MachineNetbootUuid + - name: VMUuid in: path schema: type: string @@ -1176,197 +2492,322 @@ paths: required: true responses: '200': - description: MachineNetboot_Get + description: Get nested urls content: application/json: - schema: - $ref: '#/components/schemas/MachineNetboot_Get' + schema: {} default: $ref: '#/components/responses/Error' - operationId: Get_v1_boots_MachineNetbootUuid - /v1/kind/: + operationId: Power_v1_vms_VMUuid_actions_power_invoke + /v1/vms/{VMUuid}/actions/power_state: get: - summary: Get KindModels + summary: Power_state VM tags: - - KindModel + - VM parameters: - - name: kind - in: query + - name: VMUuid + in: path schema: type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true responses: '200': - description: KindModel_Filter + description: Get nested urls content: application/json: - schema: - type: array - items: - $ref: '#/components/schemas/KindModel_Filter' + schema: {} default: $ref: '#/components/responses/Error' - operationId: Filter_v1_kind - /v1/kind/{KindModelKind}: - get: - summary: Get KindModel + operationId: Power_state_v1_vms_VMUuid_actions_power_state + /v1/vms/{VMUuid}/actions/poweroff/invoke: + post: + summary: Power off virtual machine tags: - - KindModel + - VM parameters: - - name: KindModelKind + - name: VMUuid + description: '' in: path schema: type: string - minLength: 0 - maxLength: 64 - example: any_string - readOnly: true required: true responses: '200': - description: KindModel_Get + description: VM_Create content: application/json: schema: - $ref: '#/components/schemas/KindModel_Get' + $ref: '#/components/schemas/VM_Create' default: $ref: '#/components/responses/Error' - operationId: Get_v1_kind_KindModelKind - /v1/kind/{KindModelKind}/resources/: + operationId: Poweroff_v1_vms_VMUuid_actions_poweroff_invoke + /v1/vms/{VMUuid}/actions/poweron/invoke: post: - summary: Create Resource + summary: Power on virtual machine tags: - - Resource + - VM parameters: - - name: KindModelKind + - name: VMUuid + description: '' in: path schema: type: string + required: true + responses: + '200': + description: VM_Create + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Create' + default: + $ref: '#/components/responses/Error' + operationId: Poweron_v1_vms_VMUuid_actions_poweron_invoke + /v1/vmsdefsort/: + get: + summary: Get VMDefSorts + tags: + - VMDefSort + parameters: + - name: state + in: query + schema: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + - name: name + in: query + schema: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + - name: just-none + in: query + schema: + type: + - string + - 'null' minLength: 0 - maxLength: 64 + maxLength: 9223372036854775807 example: any_string + - name: status + in: query + schema: + type: string + enum: + - active + - disabled + example: active + default: active + - name: created + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time readOnly: true - required: true + default: '2006-01-02T15:04:05.000576Z' + - name: updated + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + responses: + '200': + description: VMDefSort_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/VMDefSort_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vmsdefsort + post: + summary: Create VM resource + tags: + - VMDefSort + parameters: [] responses: '201': - description: Resource_Create + description: VMDefSort_Create content: application/json: schema: - $ref: '#/components/schemas/Resource_Create' + $ref: '#/components/schemas/VMDefSort_Create' default: $ref: '#/components/responses/Error' - operationId: Create_v1_kind_KindModelKind_resources + operationId: Create_v1_vmsdefsort requestBody: - description: Resource_Create + description: VMDefSort_Create required: true content: application/json: schema: - $ref: '#/components/schemas/Resource_Create' - /v1/kind/{KindModelKind}/resources/{ResourceRes_uuid}: + $ref: '#/components/schemas/VMDefSort_Create' + /v1/vmsdefsort/{VMDefSortUuid}: get: - summary: Get Resource + summary: Get VMDefSort tags: - - Resource + - VMDefSort parameters: - - name: KindModelKind - in: path - schema: - type: string - minLength: 0 - maxLength: 64 - example: any_string - readOnly: true - required: true - - name: ResourceRes_uuid + - name: VMDefSortUuid in: path schema: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid + readOnly: true required: true responses: '200': - description: Resource_Get + description: VMDefSort_Get content: application/json: schema: - $ref: '#/components/schemas/Resource_Get' + $ref: '#/components/schemas/VMDefSort_Get' default: $ref: '#/components/responses/Error' - operationId: Get_v1_kind_KindModelKind_resources_ResourceRes_uuid + operationId: Get_v1_vmsdefsort_VMDefSortUuid put: - summary: Update Resource + summary: Update VMDefSort tags: - - Resource + - VMDefSort parameters: - - name: KindModelKind - in: path - schema: - type: string - minLength: 0 - maxLength: 64 - example: any_string - readOnly: true - required: true - - name: ResourceRes_uuid + - name: VMDefSortUuid in: path schema: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid + readOnly: true required: true responses: '200': - description: Resource_Update + description: VMDefSort_Update content: application/json: schema: - $ref: '#/components/schemas/Resource_Update' + $ref: '#/components/schemas/VMDefSort_Update' default: $ref: '#/components/responses/Error' - operationId: Update_v1_kind_KindModelKind_resources_ResourceRes_uuid + operationId: Update_v1_vmsdefsort_VMDefSortUuid requestBody: - description: Resource_Update + description: VMDefSort_Update required: true content: application/json: schema: - $ref: '#/components/schemas/Resource_Update' + $ref: '#/components/schemas/VMDefSort_Update' delete: - summary: Delete Resource + summary: Delete VMDefSort tags: - - Resource + - VMDefSort parameters: - - name: KindModelKind + - name: VMDefSortUuid in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: VMDefSort_Delete + default: + $ref: '#/components/responses/Error' + operationId: Delete_v1_vmsdefsort_VMDefSortUuid + /v1/vmsnoproccessfilters/: + get: + summary: Get VMNoProcessFilterss + tags: + - VMNoProcessFilters + parameters: + - name: state + in: query + schema: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + - name: name + in: query schema: type: string minLength: 0 - maxLength: 64 + maxLength: 255 example: any_string + examples: + - testname + - name: just-none + in: query + schema: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + - name: status + in: query + schema: + type: string + enum: + - active + - disabled + example: active + default: active + - name: created + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time readOnly: true - required: true - - name: ResourceRes_uuid - in: path + default: '2006-01-02T15:04:05.000576Z' + - name: updated + in: query schema: type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - required: true + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' responses: - '204': - description: Resource_Delete + '200': + description: VMNoProcessFilters_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/VMNoProcessFilters_Filter' default: $ref: '#/components/responses/Error' - operationId: Delete_v1_kind_KindModelKind_resources_ResourceRes_uuid - /v1/node_verifiers/{NodeVerifierUuid}: + operationId: Filter_v1_vmsnoproccessfilters + /v1/vmsnoproccessfilters/{VMNoProcessFiltersUuid}: get: - summary: Get NodeVerifier + summary: Get VMNoProcessFilters tags: - - NodeVerifier + - VMNoProcessFilters parameters: - - name: NodeVerifierUuid + - name: VMNoProcessFiltersUuid in: path schema: type: string @@ -1376,44 +2817,113 @@ paths: required: true responses: '200': - description: NodeVerifier_Get + description: VMNoProcessFilters_Get content: application/json: schema: - $ref: '#/components/schemas/NodeVerifier_Get' + $ref: '#/components/schemas/VMNoProcessFilters_Get' default: $ref: '#/components/responses/Error' - operationId: Get_v1_node_verifiers_NodeVerifierUuid - /v1/node_verifiers/{NodeVerifierUuid}/actions/verify: + operationId: Get_v1_vmsnoproccessfilters_VMNoProcessFiltersUuid + /v1/vmsnosort/: get: - summary: Verify NodeVerifier + summary: Get VMNoSorts tags: - - NodeVerifier + - VMNoSort parameters: - - name: NodeVerifierUuid - in: path + - name: state + in: query schema: type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid + minLength: 0 + maxLength: 10 + example: any_string + default: off + - name: name + in: query + schema: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + - name: just-none + in: query + schema: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + - name: status + in: query + schema: + type: string + enum: + - active + - disabled + example: active + default: active + - name: created + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time readOnly: true - required: true + default: '2006-01-02T15:04:05.000576Z' + - name: updated + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' responses: '200': - description: Get nested urls + description: VMNoSort_Filter content: application/json: - schema: {} + schema: + type: array + items: + $ref: '#/components/schemas/VMNoSort_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vmsnosort + post: + summary: Create VM resource + tags: + - VMNoSort + parameters: [] + responses: + '201': + description: VMNoSort_Create + content: + application/json: + schema: + $ref: '#/components/schemas/VMNoSort_Create' default: $ref: '#/components/responses/Error' - operationId: Verify_v1_node_verifiers_NodeVerifierUuid_actions_verify - /v1/nodes/{NodeEncryptionKeyUuid}: + operationId: Create_v1_vmsnosort + requestBody: + description: VMNoSort_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/VMNoSort_Create' + /v1/vmsnosort/{VMNoSortUuid}: get: - summary: Get NodeEncryptionKey + summary: Get VMNoSort tags: - - NodeEncryptionKey + - VMNoSort parameters: - - name: NodeEncryptionKeyUuid + - name: VMNoSortUuid in: path schema: type: string @@ -1423,21 +2933,20 @@ paths: required: true responses: '200': - description: NodeEncryptionKey_Get + description: VMNoSort_Get content: application/json: schema: - $ref: '#/components/schemas/NodeEncryptionKey_Get' + $ref: '#/components/schemas/VMNoSort_Get' default: $ref: '#/components/responses/Error' - operationId: Get_v1_nodes_NodeEncryptionKeyUuid - /v1/nodes/{NodeEncryptionKeyUuid}/actions/refresh_secret/invoke: - post: - summary: Refresh_secret NodeEncryptionKey + operationId: Get_v1_vmsnosort_VMNoSortUuid + put: + summary: Update VMNoSort tags: - - NodeEncryptionKey + - VMNoSort parameters: - - name: NodeEncryptionKeyUuid + - name: VMNoSortUuid in: path schema: type: string @@ -1447,14 +2956,40 @@ paths: required: true responses: '200': - description: Get nested urls + description: VMNoSort_Update content: application/json: - schema: {} + schema: + $ref: '#/components/schemas/VMNoSort_Update' default: $ref: '#/components/responses/Error' - operationId: - Refresh_secret_v1_nodes_NodeEncryptionKeyUuid_actions_refresh_secret_invoke + operationId: Update_v1_vmsnosort_VMNoSortUuid + requestBody: + description: VMNoSort_Update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/VMNoSort_Update' + delete: + summary: Delete VMNoSort + tags: + - VMNoSort + parameters: + - name: VMNoSortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: VMNoSort_Delete + default: + $ref: '#/components/responses/Error' + operationId: Delete_v1_vmsnosort_VMNoSortUuid servers: - url: http://127.0.0.1:11013 description: '' @@ -1464,15 +2999,24 @@ servers: - v1 default: v1 tags: - - name: UniversalAgent + - name: functional-test + description: Just functional tests + externalDocs: + url: https://https://functional.tests/docs/ + description: Functional tests external documentation + - name: Port + description: '' + - name: IpAddress_tag description: '' - - name: MachineNetboot + - name: PortTestTag + description: port_descr + - name: Tag description: '' - - name: Resource + - name: VM description: '' - - name: KindModel + - name: VMDefSort description: '' - - name: NodeVerifier + - name: VMNoProcessFilters description: '' - - name: NodeEncryptionKey + - name: VMNoSort description: '' diff --git a/docs/openapi/openapi_orch.yaml b/docs/openapi/openapi_orch.yaml index 38884489..b75782a9 100644 --- a/docs/openapi/openapi_orch.yaml +++ b/docs/openapi/openapi_orch.yaml @@ -1,8 +1,17 @@ -openapi: 3.0.3 +openapi: 3.1.0 +jsonSchemaDialect: https://spec.openapis.org/oas/3.1/dialect/base info: - title: Exordos Core v1 Orch API + title: REST API Microservice version: latest - description: OpenAPI - Exordos Core v1 + description: REST API Microservice for tests + termsOfService: https://functional.tests/terms/ + license: + name: Apache 2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + contact: + name: Functional Tests + url: https://functional.tests/ + email: functional@tests.local components: responses: Error: @@ -54,7 +63,7 @@ components: code: 400 type: ValidationErrorException message: Validation error occurred. - UniversalAgent_Get: + VM_Create: type: object properties: uuid: @@ -62,257 +71,2859 @@ components: example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off name: type: string minLength: 0 maxLength: 255 example: any_string - description: + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VM_Get: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: type: string minLength: 0 maxLength: 255 example: any_string - default: '' - created_at: + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: type: string x-ogen-time-format: '2006-01-02T15:04:05.000576Z' example: '2006-01-02T15:04:05.000576Z' format: date-time readOnly: true default: '2006-01-02T15:04:05.000576Z' - updated_at: + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VM_Filter: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: type: string x-ogen-time-format: '2006-01-02T15:04:05.000576Z' example: '2006-01-02T15:04:05.000576Z' format: date-time readOnly: true default: '2006-01-02T15:04:05.000576Z' - capabilities: - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: boolean - - type: object - - type: array - items: {} - example: - key: value - default: {} - facts: - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: boolean - - type: object - - type: array - items: {} - example: - key: value - default: {} - node: + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VM_Update: + type: object + properties: + uuid: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string status: type: string enum: - - ACTIVE - - DISABLED - - ERROR - - NEW - example: NEW - default: NEW + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' required: - - uuid - name - - node - parameters: - UniversalAgentUuid: - name: UniversalAgentUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - name: - name: name - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - description: - name: description - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - created_at: - name: created_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - updated_at: - name: updated_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - capabilities: - name: capabilities - in: query - schema: - type: object - additionalProperties: + Port_Create: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + mac: + type: string + pattern: ^([0-9a-fA-F]{2,2}:){5,5}[0-9a-fA-F]{2,2}$ + example: 00:00:00:00:00:00 + default: 00:00:00:00:00:00 + vm: + type: string + some-field2: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field3: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field4: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field5: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-after: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-any: oneOf: - type: string - type: integer + - type: array - type: boolean - type: object - - type: array - items: {} - example: - key: value - default: {} - facts: - name: facts - in: query - schema: - type: object - additionalProperties: + example: string + permission-field: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + readOnly: true + required: + - vm + Port_Filter: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + mac: + type: string + pattern: ^([0-9a-fA-F]{2,2}:){5,5}[0-9a-fA-F]{2,2}$ + example: 00:00:00:00:00:00 + default: 00:00:00:00:00:00 + vm: + type: string + some-field1: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field3: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field4: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field5: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + unique-field: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-after: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-any: oneOf: - type: string - type: integer + - type: array - type: boolean - type: object + example: string + permission-field: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + readOnly: true + required: + - vm + Port_Get: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + mac: + type: string + pattern: ^([0-9a-fA-F]{2,2}:){5,5}[0-9a-fA-F]{2,2}$ + example: 00:00:00:00:00:00 + default: 00:00:00:00:00:00 + vm: + type: string + some-field1: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field2: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field4: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field5: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-after: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-any: + oneOf: + - type: string + - type: integer - type: array - items: {} - example: - key: value - default: {} - node: - name: node - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - status: - name: status - in: query - schema: - type: string - enum: - - ACTIVE - - DISABLED - - ERROR - - NEW - example: NEW - default: NEW -paths: - /: + - type: boolean + - type: object + example: string + permission-field: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + readOnly: true + required: + - vm + Port_Update: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + mac: + type: string + pattern: ^([0-9a-fA-F]{2,2}:){5,5}[0-9a-fA-F]{2,2}$ + example: 00:00:00:00:00:00 + default: 00:00:00:00:00:00 + vm: + type: string + some-field1: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field2: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field3: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field5: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-after: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-any: + oneOf: + - type: string + - type: integer + - type: array + - type: boolean + - type: object + example: string + permission-field: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + readOnly: true + required: + - vm + IpAddress_Create: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + ip: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + default: 192.168.0.1 + port: + type: string + required: + - port + IpAddress_Filter: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + ip: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + default: 192.168.0.1 + port: + type: string + required: + - port + IpAddress_Get: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + ip: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + default: 192.168.0.1 + port: + type: string + required: + - port + Tag_Create: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + name: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + visible: + type: boolean + example: true + default: true + vm: + type: string + required: + - name + - vm + Tag_Filter: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + name: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + visible: + type: boolean + example: true + default: true + vm: + type: string + required: + - name + - vm + Tag_Get: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + name: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + visible: + type: boolean + example: true + default: true + vm: + type: string + required: + - name + - vm + Tag_Update: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + name: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + visible: + type: boolean + example: true + default: true + vm: + type: string + required: + - name + - vm + VMDefSort_Create: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMDefSort_Get: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMDefSort_Filter: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMDefSort_Update: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoProcessFilters_Get: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoProcessFilters_Filter: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoSort_Create: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoSort_Get: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoSort_Filter: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoSort_Update: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + parameters: + VMUuid: + name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + state: + name: state + in: query + schema: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + name: name + in: query + schema: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + name: just-none + in: query + schema: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + name: status + in: query + schema: + type: string + enum: + - active + - disabled + example: active + default: active + created: + name: created + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + name: updated + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + PortUuid: + name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + mac: + name: mac + in: query + schema: + type: string + pattern: ^([0-9a-fA-F]{2,2}:){5,5}[0-9a-fA-F]{2,2}$ + example: 00:00:00:00:00:00 + default: 00:00:00:00:00:00 + vm: + name: vm + in: query + schema: + type: string + never-call: + name: never-call + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + -hidden-field: + name: -hidden-field + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field1: + name: some-field1 + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field2: + name: some-field2 + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field3: + name: some-field3 + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field4: + name: some-field4 + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field5: + name: some-field5 + in: query + schema: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + unique-field: + name: unique-field + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-after: + name: name-after + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-any: + name: name-any + in: query + schema: + oneOf: + - type: string + - type: integer + - type: array + - type: boolean + - type: object + example: string + permission-field: + name: permission-field + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + IpAddressUuid: + name: IpAddressUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + ip: + name: ip + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + default: 192.168.0.1 + port: + name: port + in: query + schema: + type: string + TagUuid: + name: TagUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + TagName: + name: TagName + in: path + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + required: true + visible: + name: visible + in: query + schema: + type: boolean + example: true + default: true + VMDefSortUuid: + name: VMDefSortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + VMNoProcessFiltersUuid: + name: VMNoProcessFiltersUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + VMNoSortUuid: + name: VMNoSortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true +paths: + /: + get: + summary: Base application url + responses: + '200': + description: Get nested urls + content: + application/json: + schema: + type: array + items: + type: string + default: + $ref: '#/components/responses/Error' + operationId: Get_urls + /specifications/: + get: + summary: Get OpenApiSpecificationRoute OpenApiSpecificationControllers + tags: [] + parameters: [] + responses: + '200': + description: Get nested urls + content: + application/json: + schema: + type: array + items: + type: string + default: + $ref: '#/components/responses/Error' + operationId: Filter_specifications + /specifications/3.0.3: + get: + summary: OpenApi specification + tags: [] + parameters: [] + responses: + '200': + description: OpenApi specification + content: + application/json: + schema: + type: object + properties: {} + default: + $ref: '#/components/responses/Error' + operationId: Get_OpenApi_specification + /specifications/3.1.0: + get: + summary: OpenApi specification + tags: [] + parameters: [] + responses: + '200': + description: OpenApi specification + content: + application/json: + schema: + type: object + properties: {} + default: + $ref: '#/components/responses/Error' + operationId: Get_OpenApi_specification + /v1/: + get: + summary: Returns a list of all routes in the main route that are + collection + tags: [] + parameters: + - name: filters + description: "the filters to apply when filtering the routes (Is not\nimplemented + now)\n" + schema: + type: string + in: query + - name: order_by + description: "fields to order the routes by (Is not implemented\nnow)\n" + schema: + type: string + in: query + responses: + '200': + description: Get nested urls + content: + application/json: + schema: + type: array + items: + type: string + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1 + /v1/notimplementedmethods/: + get: + summary: method filter was implemented for testing base error message + tags: [] + parameters: [] + responses: + '200': + description: Get nested urls + content: + application/json: + schema: + type: array + items: + type: string + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_notimplementedmethods + post: + summary: Create NotImplementedMethodsRoute NotImplementedMethodsController + tags: [] + parameters: [] + responses: + '201': + description: Unknown_Create + content: + application/json: + schema: + $ref: '#/components/schemas/Unknown_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_notimplementedmethods + requestBody: + description: Unknown_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Unknown_Create' + /v1/vms/: + get: + summary: Get VMs + tags: + - VM + parameters: + - name: state + in: query + schema: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + - name: name + in: query + schema: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + - name: just-none + in: query + schema: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + - name: status + in: query + schema: + type: string + enum: + - active + - disabled + example: active + default: active + - name: created + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + - name: updated + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + responses: + '200': + description: VM_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/VM_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vms + post: + summary: Create VM resource + tags: + - VM + parameters: [] + responses: + '201': + description: VM_Create + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vms + requestBody: + description: VM_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Create' + /v1/vms/{VMUuid}: + get: + summary: Get VM + tags: + - VM + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: VM_Get + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vms_VMUuid + put: + summary: Update VM + tags: + - VM + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: VM_Update + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Update' + default: + $ref: '#/components/responses/Error' + operationId: Update_v1_vms_VMUuid + requestBody: + description: VM_Update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Update' + delete: + summary: Delete VM + tags: + - VM + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: VM_Delete + default: + $ref: '#/components/responses/Error' + operationId: Delete_v1_vms_VMUuid + /v1/vms/{VMUuid}/none_ports/: + get: + summary: Get Ports + tags: + - Port + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Port_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Port_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vms_VMUuid_none_ports + post: + summary: Create Port + tags: + - Port + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '201': + description: Port_Create + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vms_VMUuid_none_ports + requestBody: + description: Port_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Create' + /v1/vms/{VMUuid}/none_ports/{PortUuid}: + get: + summary: Get Port + tags: + - Port + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Port_Get + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vms_VMUuid_none_ports_PortUuid + put: + summary: Update Port + tags: + - Port + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Port_Update + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Update' + default: + $ref: '#/components/responses/Error' + operationId: Update_v1_vms_VMUuid_none_ports_PortUuid + requestBody: + description: Port_Update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Update' + delete: + summary: Delete Port + tags: + - Port + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: Port_Delete + default: + $ref: '#/components/responses/Error' + operationId: Delete_v1_vms_VMUuid_none_ports_PortUuid + /v1/vms/{VMUuid}/none_ports/{PortUuid}/ip_addresses/: + get: + summary: Get IpAddresss + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: IpAddress_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IpAddress_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vms_VMUuid_none_ports_PortUuid_ip_addresses + post: + summary: Create IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '201': + description: IpAddress_Create + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vms_VMUuid_none_ports_PortUuid_ip_addresses + requestBody: + description: IpAddress_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Create' + /v1/vms/{VMUuid}/none_ports/{PortUuid}/ip_addresses/{IpAddressUuid}: + get: + summary: Get IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: IpAddressUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: IpAddress_Get + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Get' + default: + $ref: '#/components/responses/Error' + operationId: + Get_v1_vms_VMUuid_none_ports_PortUuid_ip_addresses_IpAddressUuid + delete: + summary: Delete IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: IpAddressUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: IpAddress_Delete + default: + $ref: '#/components/responses/Error' + operationId: + Delete_v1_vms_VMUuid_none_ports_PortUuid_ip_addresses_IpAddressUuid + /v1/vms/{VMUuid}/ports/: + get: + summary: Get Ports + tags: + - PortTestTag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Port_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Port_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vms_VMUuid_ports + post: + summary: Create Port + tags: + - PortTestTag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '201': + description: Port_Create + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vms_VMUuid_ports + requestBody: + description: Port_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Create' + /v1/vms/{VMUuid}/ports/{PortUuid}: + get: + summary: Get Port + tags: + - PortTestTag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Port_Get + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vms_VMUuid_ports_PortUuid + put: + summary: Update Port + tags: + - PortTestTag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Port_Update + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Update' + default: + $ref: '#/components/responses/Error' + operationId: Update_v1_vms_VMUuid_ports_PortUuid + requestBody: + description: Port_Update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Update' + delete: + summary: Delete Port + tags: + - PortTestTag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: Port_Delete + default: + $ref: '#/components/responses/Error' + operationId: Delete_v1_vms_VMUuid_ports_PortUuid + /v1/vms/{VMUuid}/ports/{PortUuid}/ip_addresses/: + get: + summary: Get IpAddresss + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: IpAddress_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IpAddress_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vms_VMUuid_ports_PortUuid_ip_addresses + post: + summary: Create IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '201': + description: IpAddress_Create + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vms_VMUuid_ports_PortUuid_ip_addresses + requestBody: + description: IpAddress_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Create' + /v1/vms/{VMUuid}/ports/{PortUuid}/ip_addresses/{IpAddressUuid}: + get: + summary: Get IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: IpAddressUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: IpAddress_Get + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vms_VMUuid_ports_PortUuid_ip_addresses_IpAddressUuid + delete: + summary: Delete IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: IpAddressUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: IpAddress_Delete + default: + $ref: '#/components/responses/Error' + operationId: + Delete_v1_vms_VMUuid_ports_PortUuid_ip_addresses_IpAddressUuid + /v1/vms/{VMUuid}/tags/: + get: + summary: Get Tags + tags: + - Tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Tag_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Tag_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vms_VMUuid_tags + post: + summary: Create Tag + tags: + - Tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '201': + description: Tag_Create + content: + application/json: + schema: + $ref: '#/components/schemas/Tag_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vms_VMUuid_tags + requestBody: + description: Tag_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Tag_Create' + /v1/vms/{VMUuid}/tags/{TagName}: + get: + summary: Get Tag + tags: + - Tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: TagName + in: path + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + required: true + responses: + '200': + description: Tag_Get + content: + application/json: + schema: + $ref: '#/components/schemas/Tag_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vms_VMUuid_tags_TagName + put: + summary: Update Tag + tags: + - Tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: TagName + in: path + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + required: true + responses: + '200': + description: Tag_Update + content: + application/json: + schema: + $ref: '#/components/schemas/Tag_Update' + default: + $ref: '#/components/responses/Error' + operationId: Update_v1_vms_VMUuid_tags_TagName + requestBody: + description: Tag_Update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Tag_Update' + delete: + summary: Delete Tag + tags: + - Tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: TagName + in: path + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + required: true + responses: + '204': + description: Tag_Delete + default: + $ref: '#/components/responses/Error' + operationId: Delete_v1_vms_VMUuid_tags_TagName + /v1/vms/{VMUuid}/actions/ip_addresses: get: - summary: Base application url + summary: Ip_addresses IpAddress + tags: + - VM + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Get nested urls + content: + application/json: + schema: {} + default: + $ref: '#/components/responses/Error' + operationId: Ip_addresses_v1_vms_VMUuid_actions_ip_addresses + /v1/vms/{VMUuid}/actions/power/invoke: + post: + summary: Power VM + tags: + - VM + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Get nested urls + content: + application/json: + schema: {} + default: + $ref: '#/components/responses/Error' + operationId: Power_v1_vms_VMUuid_actions_power_invoke + /v1/vms/{VMUuid}/actions/power_state: + get: + summary: Power_state VM + tags: + - VM + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true responses: '200': description: Get nested urls + content: + application/json: + schema: {} + default: + $ref: '#/components/responses/Error' + operationId: Power_state_v1_vms_VMUuid_actions_power_state + /v1/vms/{VMUuid}/actions/poweroff/invoke: + post: + summary: Power off virtual machine + tags: + - VM + parameters: + - name: VMUuid + description: '' + in: path + schema: + type: string + required: true + responses: + '200': + description: VM_Create + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Create' + default: + $ref: '#/components/responses/Error' + operationId: Poweroff_v1_vms_VMUuid_actions_poweroff_invoke + /v1/vms/{VMUuid}/actions/poweron/invoke: + post: + summary: Power on virtual machine + tags: + - VM + parameters: + - name: VMUuid + description: '' + in: path + schema: + type: string + required: true + responses: + '200': + description: VM_Create + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Create' + default: + $ref: '#/components/responses/Error' + operationId: Poweron_v1_vms_VMUuid_actions_poweron_invoke + /v1/vmsdefsort/: + get: + summary: Get VMDefSorts + tags: + - VMDefSort + parameters: + - name: state + in: query + schema: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + - name: name + in: query + schema: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + - name: just-none + in: query + schema: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + - name: status + in: query + schema: + type: string + enum: + - active + - disabled + example: active + default: active + - name: created + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + - name: updated + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + responses: + '200': + description: VMDefSort_Filter content: application/json: schema: type: array items: - type: string + $ref: '#/components/schemas/VMDefSort_Filter' default: $ref: '#/components/responses/Error' - operationId: Get_urls - /specifications/: - get: - summary: Get OpenApiSpecificationRoute OpenApiSpecificationControllers - tags: [] + operationId: Filter_v1_vmsdefsort + post: + summary: Create VM resource + tags: + - VMDefSort parameters: [] + responses: + '201': + description: VMDefSort_Create + content: + application/json: + schema: + $ref: '#/components/schemas/VMDefSort_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vmsdefsort + requestBody: + description: VMDefSort_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/VMDefSort_Create' + /v1/vmsdefsort/{VMDefSortUuid}: + get: + summary: Get VMDefSort + tags: + - VMDefSort + parameters: + - name: VMDefSortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true responses: '200': - description: Get nested urls + description: VMDefSort_Get + content: + application/json: + schema: + $ref: '#/components/schemas/VMDefSort_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vmsdefsort_VMDefSortUuid + put: + summary: Update VMDefSort + tags: + - VMDefSort + parameters: + - name: VMDefSortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: VMDefSort_Update + content: + application/json: + schema: + $ref: '#/components/schemas/VMDefSort_Update' + default: + $ref: '#/components/responses/Error' + operationId: Update_v1_vmsdefsort_VMDefSortUuid + requestBody: + description: VMDefSort_Update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/VMDefSort_Update' + delete: + summary: Delete VMDefSort + tags: + - VMDefSort + parameters: + - name: VMDefSortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: VMDefSort_Delete + default: + $ref: '#/components/responses/Error' + operationId: Delete_v1_vmsdefsort_VMDefSortUuid + /v1/vmsnoproccessfilters/: + get: + summary: Get VMNoProcessFilterss + tags: + - VMNoProcessFilters + parameters: + - name: state + in: query + schema: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + - name: name + in: query + schema: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + - name: just-none + in: query + schema: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + - name: status + in: query + schema: + type: string + enum: + - active + - disabled + example: active + default: active + - name: created + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + - name: updated + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + responses: + '200': + description: VMNoProcessFilters_Filter content: application/json: schema: type: array items: - type: string + $ref: '#/components/schemas/VMNoProcessFilters_Filter' default: $ref: '#/components/responses/Error' - operationId: Filter_specifications - /specifications/3.0.3: + operationId: Filter_v1_vmsnoproccessfilters + /v1/vmsnoproccessfilters/{VMNoProcessFiltersUuid}: get: - summary: OpenApi specification - tags: [] - parameters: [] + summary: Get VMNoProcessFilters + tags: + - VMNoProcessFilters + parameters: + - name: VMNoProcessFiltersUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true responses: '200': - description: OpenApi specification + description: VMNoProcessFilters_Get content: application/json: schema: - type: object - properties: {} + $ref: '#/components/schemas/VMNoProcessFilters_Get' default: $ref: '#/components/responses/Error' - operationId: Get_OpenApi_specification - /v1/: + operationId: Get_v1_vmsnoproccessfilters_VMNoProcessFiltersUuid + /v1/vmsnosort/: get: - summary: Returns a list of all routes in the main route that are - collection - tags: [] + summary: Get VMNoSorts + tags: + - VMNoSort parameters: - - name: filters - description: "the filters to apply when filtering the routes (Is not\nimplemented - now)\n" + - name: state + in: query schema: type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + - name: name + in: query + schema: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + - name: just-none + in: query + schema: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + - name: status + in: query + schema: + type: string + enum: + - active + - disabled + example: active + default: active + - name: created in: query - - name: order_by - description: "fields to order the routes by (Is not implemented\nnow)\n" schema: type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + - name: updated in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' responses: '200': - description: Get nested urls + description: VMNoSort_Filter content: application/json: schema: type: array items: - type: string + $ref: '#/components/schemas/VMNoSort_Filter' default: $ref: '#/components/responses/Error' - operationId: Filter_v1 - /v1/agents/{UniversalAgentUuid}: + operationId: Filter_v1_vmsnosort + post: + summary: Create VM resource + tags: + - VMNoSort + parameters: [] + responses: + '201': + description: VMNoSort_Create + content: + application/json: + schema: + $ref: '#/components/schemas/VMNoSort_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vmsnosort + requestBody: + description: VMNoSort_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/VMNoSort_Create' + /v1/vmsnosort/{VMNoSortUuid}: get: - summary: Get UniversalAgent + summary: Get VMNoSort tags: - - UniversalAgent + - VMNoSort parameters: - - name: UniversalAgentUuid + - name: VMNoSortUuid in: path schema: type: string @@ -322,21 +2933,20 @@ paths: required: true responses: '200': - description: UniversalAgent_Get + description: VMNoSort_Get content: application/json: schema: - $ref: '#/components/schemas/UniversalAgent_Get' + $ref: '#/components/schemas/VMNoSort_Get' default: $ref: '#/components/responses/Error' - operationId: Get_v1_agents_UniversalAgentUuid - /v1/agents/{UniversalAgentUuid}/actions/get_payload: - get: - summary: Get_payload UniversalAgent + operationId: Get_v1_vmsnosort_VMNoSortUuid + put: + summary: Update VMNoSort tags: - - UniversalAgent + - VMNoSort parameters: - - name: UniversalAgentUuid + - name: VMNoSortUuid in: path schema: type: string @@ -346,13 +2956,40 @@ paths: required: true responses: '200': - description: Get nested urls + description: VMNoSort_Update content: application/json: - schema: {} + schema: + $ref: '#/components/schemas/VMNoSort_Update' + default: + $ref: '#/components/responses/Error' + operationId: Update_v1_vmsnosort_VMNoSortUuid + requestBody: + description: VMNoSort_Update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/VMNoSort_Update' + delete: + summary: Delete VMNoSort + tags: + - VMNoSort + parameters: + - name: VMNoSortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: VMNoSort_Delete default: $ref: '#/components/responses/Error' - operationId: Get_payload_v1_agents_UniversalAgentUuid_actions_get_payload + operationId: Delete_v1_vmsnosort_VMNoSortUuid servers: - url: http://127.0.0.1:11011 description: '' @@ -362,5 +2999,24 @@ servers: - v1 default: v1 tags: - - name: UniversalAgent + - name: functional-test + description: Just functional tests + externalDocs: + url: https://https://functional.tests/docs/ + description: Functional tests external documentation + - name: Port + description: '' + - name: IpAddress_tag + description: '' + - name: PortTestTag + description: port_descr + - name: Tag + description: '' + - name: VM + description: '' + - name: VMDefSort + description: '' + - name: VMNoProcessFilters + description: '' + - name: VMNoSort description: '' diff --git a/docs/openapi/openapi_status.yaml b/docs/openapi/openapi_status.yaml index 43cd58a6..e0e05428 100644 --- a/docs/openapi/openapi_status.yaml +++ b/docs/openapi/openapi_status.yaml @@ -1,8 +1,17 @@ -openapi: 3.0.3 +openapi: 3.1.0 +jsonSchemaDialect: https://spec.openapis.org/oas/3.1/dialect/base info: - title: Exordos Core v1 Status API + title: REST API Microservice version: latest - description: OpenAPI - Exordos Core v1 + description: REST API Microservice for tests + termsOfService: https://functional.tests/terms/ + license: + name: Apache 2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + contact: + name: Functional Tests + url: https://functional.tests/ + email: functional@tests.local components: responses: Error: @@ -54,7 +63,7 @@ components: code: 400 type: ValidationErrorException message: Validation error occurred. - UniversalAgent_Get: + VM_Create: type: object properties: uuid: @@ -62,75 +71,49 @@ components: example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true - name: + state: type: string minLength: 0 - maxLength: 255 + maxLength: 10 example: any_string - description: + default: off + name: type: string minLength: 0 maxLength: 255 example: any_string - default: '' - created_at: + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: type: string x-ogen-time-format: '2006-01-02T15:04:05.000576Z' example: '2006-01-02T15:04:05.000576Z' format: date-time readOnly: true default: '2006-01-02T15:04:05.000576Z' - updated_at: + updated: type: string x-ogen-time-format: '2006-01-02T15:04:05.000576Z' example: '2006-01-02T15:04:05.000576Z' format: date-time - readOnly: true default: '2006-01-02T15:04:05.000576Z' - capabilities: - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: boolean - - type: object - - type: array - items: {} - example: - key: value - default: {} - facts: - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: boolean - - type: object - - type: array - items: {} - example: - key: value - default: {} - node: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - status: - type: string - enum: - - ACTIVE - - DISABLED - - ERROR - - NEW - example: NEW - default: NEW required: - - uuid - name - - node - UniversalAgent_Create: + VM_Get: type: object properties: uuid: @@ -138,75 +121,49 @@ components: example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true - name: + state: type: string minLength: 0 - maxLength: 255 + maxLength: 10 example: any_string - description: + default: off + name: type: string minLength: 0 maxLength: 255 example: any_string - default: '' - created_at: + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: type: string x-ogen-time-format: '2006-01-02T15:04:05.000576Z' example: '2006-01-02T15:04:05.000576Z' format: date-time readOnly: true default: '2006-01-02T15:04:05.000576Z' - updated_at: + updated: type: string x-ogen-time-format: '2006-01-02T15:04:05.000576Z' example: '2006-01-02T15:04:05.000576Z' format: date-time - readOnly: true default: '2006-01-02T15:04:05.000576Z' - capabilities: - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: boolean - - type: object - - type: array - items: {} - example: - key: value - default: {} - facts: - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: boolean - - type: object - - type: array - items: {} - example: - key: value - default: {} - node: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - status: - type: string - enum: - - ACTIVE - - DISABLED - - ERROR - - NEW - example: NEW - default: NEW required: - - uuid - name - - node - UniversalAgent_Update: + VM_Filter: type: object properties: uuid: @@ -214,292 +171,456 @@ components: example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true - name: + state: type: string minLength: 0 - maxLength: 255 + maxLength: 10 example: any_string - description: + default: off + name: type: string minLength: 0 maxLength: 255 example: any_string - default: '' - created_at: + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: type: string x-ogen-time-format: '2006-01-02T15:04:05.000576Z' example: '2006-01-02T15:04:05.000576Z' format: date-time readOnly: true default: '2006-01-02T15:04:05.000576Z' - updated_at: + updated: type: string x-ogen-time-format: '2006-01-02T15:04:05.000576Z' example: '2006-01-02T15:04:05.000576Z' format: date-time - readOnly: true default: '2006-01-02T15:04:05.000576Z' - capabilities: - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: boolean - - type: object - - type: array - items: {} - example: - key: value - default: {} - facts: - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: boolean - - type: object - - type: array - items: {} - example: - key: value - default: {} - node: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - status: - type: string - enum: - - ACTIVE - - DISABLED - - ERROR - - NEW - example: NEW - default: NEW required: - - uuid - name - - node - KindModel_Filter: + VM_Update: type: object properties: - kind: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: type: string minLength: 0 - maxLength: 64 + maxLength: 10 example: any_string - readOnly: true - required: - - kind - KindModel_Get: - type: object - properties: - kind: + default: off + name: type: string minLength: 0 - maxLength: 64 + maxLength: 255 example: any_string - readOnly: true - required: - - kind - Resource_Get: - type: object - properties: - created_at: + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: type: string x-ogen-time-format: '2006-01-02T15:04:05.000576Z' example: '2006-01-02T15:04:05.000576Z' format: date-time readOnly: true default: '2006-01-02T15:04:05.000576Z' - updated_at: + updated: type: string x-ogen-time-format: '2006-01-02T15:04:05.000576Z' example: '2006-01-02T15:04:05.000576Z' format: date-time - readOnly: true default: '2006-01-02T15:04:05.000576Z' + required: + - name + Port_Create: + type: object + properties: uuid: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true - kind: + mac: type: string - value: - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: boolean - - type: object - - type: array - items: {} - example: - key: value - hash: + pattern: ^([0-9a-fA-F]{2,2}:){5,5}[0-9a-fA-F]{2,2}$ + example: 00:00:00:00:00:00 + default: 00:00:00:00:00:00 + vm: + type: string + some-field2: type: string minLength: 0 - maxLength: 256 + maxLength: 9223372036854775807 example: any_string - default: '' - full_hash: + some-field3: type: string minLength: 0 - maxLength: 256 + maxLength: 9223372036854775807 example: any_string - default: '' - status: + some-field4: type: string minLength: 0 - maxLength: 32 + maxLength: 9223372036854775807 + example: any_string + some-field5: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 example: any_string - default: ACTIVE - node: + name-after: type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - nullable: true - res_uuid: + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-any: + oneOf: + - type: string + - type: integer + - type: array + - type: boolean + - type: object + example: string + permission-field: type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + readOnly: true required: - - kind - Resource_Create: + - vm + Port_Filter: type: object properties: - created_at: + uuid: type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time + example: 00000000-0000-0000-0000-000000000000 + format: uuid readOnly: true - default: '2006-01-02T15:04:05.000576Z' - updated_at: + mac: type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time + pattern: ^([0-9a-fA-F]{2,2}:){5,5}[0-9a-fA-F]{2,2}$ + example: 00:00:00:00:00:00 + default: 00:00:00:00:00:00 + vm: + type: string + some-field1: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field3: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field4: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field5: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + unique-field: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-after: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-any: + oneOf: + - type: string + - type: integer + - type: array + - type: boolean + - type: object + example: string + permission-field: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string readOnly: true - default: '2006-01-02T15:04:05.000576Z' + required: + - vm + Port_Get: + type: object + properties: uuid: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true - kind: + mac: type: string - value: - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: boolean - - type: object - - type: array - items: {} - example: - key: value - hash: + pattern: ^([0-9a-fA-F]{2,2}:){5,5}[0-9a-fA-F]{2,2}$ + example: 00:00:00:00:00:00 + default: 00:00:00:00:00:00 + vm: + type: string + some-field1: type: string minLength: 0 - maxLength: 256 + maxLength: 9223372036854775807 example: any_string - default: '' - full_hash: + some-field2: type: string minLength: 0 - maxLength: 256 + maxLength: 9223372036854775807 example: any_string - default: '' - status: + some-field4: type: string minLength: 0 - maxLength: 32 + maxLength: 9223372036854775807 example: any_string - default: ACTIVE - node: + some-field5: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-after: type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - nullable: true - res_uuid: + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-any: + oneOf: + - type: string + - type: integer + - type: array + - type: boolean + - type: object + example: string + permission-field: type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + readOnly: true required: - - kind - Resource_Update: + - vm + Port_Update: type: object properties: - created_at: + uuid: type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time + example: 00000000-0000-0000-0000-000000000000 + format: uuid readOnly: true - default: '2006-01-02T15:04:05.000576Z' - updated_at: + mac: type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time + pattern: ^([0-9a-fA-F]{2,2}:){5,5}[0-9a-fA-F]{2,2}$ + example: 00:00:00:00:00:00 + default: 00:00:00:00:00:00 + vm: + type: string + some-field1: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field2: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field3: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field5: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-after: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-any: + oneOf: + - type: string + - type: integer + - type: array + - type: boolean + - type: object + example: string + permission-field: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string readOnly: true - default: '2006-01-02T15:04:05.000576Z' + required: + - vm + IpAddress_Create: + type: object + properties: uuid: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true - kind: + ip: type: string - value: - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: boolean - - type: object - - type: array - items: {} - example: - key: value - hash: + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + default: 192.168.0.1 + port: + type: string + required: + - port + IpAddress_Filter: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + ip: type: string minLength: 0 - maxLength: 256 + maxLength: 9223372036854775807 example: any_string - default: '' - full_hash: + default: 192.168.0.1 + port: + type: string + required: + - port + IpAddress_Get: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + ip: type: string minLength: 0 - maxLength: 256 + maxLength: 9223372036854775807 example: any_string - default: '' - status: + default: 192.168.0.1 + port: + type: string + required: + - port + Tag_Create: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + name: type: string minLength: 0 - maxLength: 32 + maxLength: 9223372036854775807 example: any_string - default: ACTIVE - node: + visible: + type: boolean + example: true + default: true + vm: + type: string + required: + - name + - vm + Tag_Filter: + type: object + properties: + uuid: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid - nullable: true - res_uuid: + readOnly: true + name: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + visible: + type: boolean + example: true + default: true + vm: + type: string + required: + - name + - vm + Tag_Get: + type: object + properties: + uuid: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid + readOnly: true + name: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + visible: + type: boolean + example: true + default: true + vm: + type: string required: - - kind - NodeVerifier_Get: + - name + - vm + Tag_Update: type: object properties: uuid: @@ -507,16 +628,539 @@ components: example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true - parameters: - UniversalAgentUuid: - name: UniversalAgentUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 + name: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + visible: + type: boolean + example: true + default: true + vm: + type: string + required: + - name + - vm + VMDefSort_Create: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMDefSort_Get: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMDefSort_Filter: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMDefSort_Update: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoProcessFilters_Get: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoProcessFilters_Filter: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoSort_Create: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoSort_Get: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoSort_Filter: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoSort_Update: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + parameters: + VMUuid: + name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true required: true + state: + name: state + in: query + schema: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off name: name: name in: query @@ -525,17 +1169,30 @@ components: minLength: 0 maxLength: 255 example: any_string - description: - name: description + examples: + - testname + just-none: + name: just-none in: query schema: - type: string + type: + - string + - 'null' minLength: 0 - maxLength: 255 + maxLength: 9223372036854775807 example: any_string - default: '' - created_at: - name: created_at + status: + name: status + in: query + schema: + type: string + enum: + - active + - disabled + example: active + default: active + created: + name: created in: query schema: type: string @@ -544,131 +1201,198 @@ components: format: date-time readOnly: true default: '2006-01-02T15:04:05.000576Z' - updated_at: - name: updated_at + updated: + name: updated in: query schema: type: string x-ogen-time-format: '2006-01-02T15:04:05.000576Z' example: '2006-01-02T15:04:05.000576Z' format: date-time - readOnly: true default: '2006-01-02T15:04:05.000576Z' - capabilities: - name: capabilities + PortUuid: + name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + mac: + name: mac in: query schema: - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: boolean - - type: object - - type: array - items: {} - example: - key: value - default: {} - facts: - name: facts + type: string + pattern: ^([0-9a-fA-F]{2,2}:){5,5}[0-9a-fA-F]{2,2}$ + example: 00:00:00:00:00:00 + default: 00:00:00:00:00:00 + vm: + name: vm in: query schema: - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: boolean - - type: object - - type: array - items: {} - example: - key: value - default: {} - node: - name: node + type: string + never-call: + name: never-call in: query schema: type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - nullable: true - status: - name: status + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + -hidden-field: + name: -hidden-field in: query schema: type: string minLength: 0 - maxLength: 32 + maxLength: 9223372036854775807 example: any_string - default: ACTIVE - KindModelKind: - name: KindModelKind - in: path + some-field1: + name: some-field1 + in: query schema: type: string minLength: 0 - maxLength: 64 + maxLength: 9223372036854775807 example: any_string - readOnly: true - required: true - uuid: - name: uuid + some-field2: + name: some-field2 in: query schema: type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - kind: - name: kind + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field3: + name: some-field3 in: query schema: type: string - value: - name: value + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field4: + name: some-field4 in: query schema: - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: boolean - - type: object - - type: array - items: {} - example: - key: value - hash: - name: hash + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field5: + name: some-field5 + in: query + schema: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + unique-field: + name: unique-field in: query schema: type: string minLength: 0 - maxLength: 256 + maxLength: 9223372036854775807 example: any_string - default: '' - full_hash: - name: full_hash + name-after: + name: name-after + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-any: + name: name-any + in: query + schema: + oneOf: + - type: string + - type: integer + - type: array + - type: boolean + - type: object + example: string + permission-field: + name: permission-field in: query schema: type: string minLength: 0 - maxLength: 256 + maxLength: 9223372036854775807 example: any_string - default: '' - ResourceRes_uuid: - name: ResourceRes_uuid + IpAddressUuid: + name: IpAddressUuid in: path schema: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid + readOnly: true required: true - NodeVerifierUuid: - name: NodeVerifierUuid + ip: + name: ip + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + default: 192.168.0.1 + port: + name: port + in: query + schema: + type: string + TagUuid: + name: TagUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + TagName: + name: TagName + in: path + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + required: true + visible: + name: visible + in: query + schema: + type: boolean + example: true + default: true + VMDefSortUuid: + name: VMDefSortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + VMNoProcessFiltersUuid: + name: VMNoProcessFiltersUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + VMNoSortUuid: + name: VMNoSortUuid in: path schema: type: string @@ -679,111 +1403,1268 @@ components: paths: /: get: - summary: Base application url + summary: Base application url + responses: + '200': + description: Get nested urls + content: + application/json: + schema: + type: array + items: + type: string + default: + $ref: '#/components/responses/Error' + operationId: Get_urls + /specifications/: + get: + summary: Get OpenApiSpecificationRoute OpenApiSpecificationControllers + tags: [] + parameters: [] + responses: + '200': + description: Get nested urls + content: + application/json: + schema: + type: array + items: + type: string + default: + $ref: '#/components/responses/Error' + operationId: Filter_specifications + /specifications/3.0.3: + get: + summary: OpenApi specification + tags: [] + parameters: [] + responses: + '200': + description: OpenApi specification + content: + application/json: + schema: + type: object + properties: {} + default: + $ref: '#/components/responses/Error' + operationId: Get_OpenApi_specification + /specifications/3.1.0: + get: + summary: OpenApi specification + tags: [] + parameters: [] + responses: + '200': + description: OpenApi specification + content: + application/json: + schema: + type: object + properties: {} + default: + $ref: '#/components/responses/Error' + operationId: Get_OpenApi_specification + /v1/: + get: + summary: Returns a list of all routes in the main route that are + collection + tags: [] + parameters: + - name: filters + description: "the filters to apply when filtering the routes (Is not\nimplemented + now)\n" + schema: + type: string + in: query + - name: order_by + description: "fields to order the routes by (Is not implemented\nnow)\n" + schema: + type: string + in: query + responses: + '200': + description: Get nested urls + content: + application/json: + schema: + type: array + items: + type: string + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1 + /v1/notimplementedmethods/: + get: + summary: method filter was implemented for testing base error message + tags: [] + parameters: [] + responses: + '200': + description: Get nested urls + content: + application/json: + schema: + type: array + items: + type: string + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_notimplementedmethods + post: + summary: Create NotImplementedMethodsRoute NotImplementedMethodsController + tags: [] + parameters: [] + responses: + '201': + description: Unknown_Create + content: + application/json: + schema: + $ref: '#/components/schemas/Unknown_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_notimplementedmethods + requestBody: + description: Unknown_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Unknown_Create' + /v1/vms/: + get: + summary: Get VMs + tags: + - VM + parameters: + - name: state + in: query + schema: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + - name: name + in: query + schema: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + - name: just-none + in: query + schema: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + - name: status + in: query + schema: + type: string + enum: + - active + - disabled + example: active + default: active + - name: created + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + - name: updated + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + responses: + '200': + description: VM_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/VM_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vms + post: + summary: Create VM resource + tags: + - VM + parameters: [] + responses: + '201': + description: VM_Create + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vms + requestBody: + description: VM_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Create' + /v1/vms/{VMUuid}: + get: + summary: Get VM + tags: + - VM + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: VM_Get + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vms_VMUuid + put: + summary: Update VM + tags: + - VM + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: VM_Update + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Update' + default: + $ref: '#/components/responses/Error' + operationId: Update_v1_vms_VMUuid + requestBody: + description: VM_Update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Update' + delete: + summary: Delete VM + tags: + - VM + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: VM_Delete + default: + $ref: '#/components/responses/Error' + operationId: Delete_v1_vms_VMUuid + /v1/vms/{VMUuid}/none_ports/: + get: + summary: Get Ports + tags: + - Port + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Port_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Port_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vms_VMUuid_none_ports + post: + summary: Create Port + tags: + - Port + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '201': + description: Port_Create + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vms_VMUuid_none_ports + requestBody: + description: Port_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Create' + /v1/vms/{VMUuid}/none_ports/{PortUuid}: + get: + summary: Get Port + tags: + - Port + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Port_Get + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vms_VMUuid_none_ports_PortUuid + put: + summary: Update Port + tags: + - Port + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Port_Update + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Update' + default: + $ref: '#/components/responses/Error' + operationId: Update_v1_vms_VMUuid_none_ports_PortUuid + requestBody: + description: Port_Update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Update' + delete: + summary: Delete Port + tags: + - Port + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: Port_Delete + default: + $ref: '#/components/responses/Error' + operationId: Delete_v1_vms_VMUuid_none_ports_PortUuid + /v1/vms/{VMUuid}/none_ports/{PortUuid}/ip_addresses/: + get: + summary: Get IpAddresss + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: IpAddress_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IpAddress_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vms_VMUuid_none_ports_PortUuid_ip_addresses + post: + summary: Create IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '201': + description: IpAddress_Create + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vms_VMUuid_none_ports_PortUuid_ip_addresses + requestBody: + description: IpAddress_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Create' + /v1/vms/{VMUuid}/none_ports/{PortUuid}/ip_addresses/{IpAddressUuid}: + get: + summary: Get IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: IpAddressUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: IpAddress_Get + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Get' + default: + $ref: '#/components/responses/Error' + operationId: + Get_v1_vms_VMUuid_none_ports_PortUuid_ip_addresses_IpAddressUuid + delete: + summary: Delete IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: IpAddressUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: IpAddress_Delete + default: + $ref: '#/components/responses/Error' + operationId: + Delete_v1_vms_VMUuid_none_ports_PortUuid_ip_addresses_IpAddressUuid + /v1/vms/{VMUuid}/ports/: + get: + summary: Get Ports + tags: + - PortTestTag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Port_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Port_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vms_VMUuid_ports + post: + summary: Create Port + tags: + - PortTestTag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '201': + description: Port_Create + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vms_VMUuid_ports + requestBody: + description: Port_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Create' + /v1/vms/{VMUuid}/ports/{PortUuid}: + get: + summary: Get Port + tags: + - PortTestTag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Port_Get + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vms_VMUuid_ports_PortUuid + put: + summary: Update Port + tags: + - PortTestTag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Port_Update + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Update' + default: + $ref: '#/components/responses/Error' + operationId: Update_v1_vms_VMUuid_ports_PortUuid + requestBody: + description: Port_Update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Update' + delete: + summary: Delete Port + tags: + - PortTestTag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: Port_Delete + default: + $ref: '#/components/responses/Error' + operationId: Delete_v1_vms_VMUuid_ports_PortUuid + /v1/vms/{VMUuid}/ports/{PortUuid}/ip_addresses/: + get: + summary: Get IpAddresss + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: IpAddress_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IpAddress_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vms_VMUuid_ports_PortUuid_ip_addresses + post: + summary: Create IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '201': + description: IpAddress_Create + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vms_VMUuid_ports_PortUuid_ip_addresses + requestBody: + description: IpAddress_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Create' + /v1/vms/{VMUuid}/ports/{PortUuid}/ip_addresses/{IpAddressUuid}: + get: + summary: Get IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: IpAddressUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: IpAddress_Get + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vms_VMUuid_ports_PortUuid_ip_addresses_IpAddressUuid + delete: + summary: Delete IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: IpAddressUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: IpAddress_Delete + default: + $ref: '#/components/responses/Error' + operationId: + Delete_v1_vms_VMUuid_ports_PortUuid_ip_addresses_IpAddressUuid + /v1/vms/{VMUuid}/tags/: + get: + summary: Get Tags + tags: + - Tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Tag_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Tag_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vms_VMUuid_tags + post: + summary: Create Tag + tags: + - Tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '201': + description: Tag_Create + content: + application/json: + schema: + $ref: '#/components/schemas/Tag_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vms_VMUuid_tags + requestBody: + description: Tag_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Tag_Create' + /v1/vms/{VMUuid}/tags/{TagName}: + get: + summary: Get Tag + tags: + - Tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: TagName + in: path + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + required: true + responses: + '200': + description: Tag_Get + content: + application/json: + schema: + $ref: '#/components/schemas/Tag_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vms_VMUuid_tags_TagName + put: + summary: Update Tag + tags: + - Tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: TagName + in: path + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + required: true + responses: + '200': + description: Tag_Update + content: + application/json: + schema: + $ref: '#/components/schemas/Tag_Update' + default: + $ref: '#/components/responses/Error' + operationId: Update_v1_vms_VMUuid_tags_TagName + requestBody: + description: Tag_Update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Tag_Update' + delete: + summary: Delete Tag + tags: + - Tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: TagName + in: path + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + required: true + responses: + '204': + description: Tag_Delete + default: + $ref: '#/components/responses/Error' + operationId: Delete_v1_vms_VMUuid_tags_TagName + /v1/vms/{VMUuid}/actions/ip_addresses: + get: + summary: Ip_addresses IpAddress + tags: + - VM + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true responses: '200': description: Get nested urls content: application/json: - schema: - type: array - items: - type: string + schema: {} default: $ref: '#/components/responses/Error' - operationId: Get_urls - /specifications/: + operationId: Ip_addresses_v1_vms_VMUuid_actions_ip_addresses + /v1/vms/{VMUuid}/actions/power/invoke: + post: + summary: Power VM + tags: + - VM + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Get nested urls + content: + application/json: + schema: {} + default: + $ref: '#/components/responses/Error' + operationId: Power_v1_vms_VMUuid_actions_power_invoke + /v1/vms/{VMUuid}/actions/power_state: get: - summary: Get OpenApiSpecificationRoute OpenApiSpecificationControllers - tags: [] - parameters: [] + summary: Power_state VM + tags: + - VM + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true responses: '200': description: Get nested urls + content: + application/json: + schema: {} + default: + $ref: '#/components/responses/Error' + operationId: Power_state_v1_vms_VMUuid_actions_power_state + /v1/vms/{VMUuid}/actions/poweroff/invoke: + post: + summary: Power off virtual machine + tags: + - VM + parameters: + - name: VMUuid + description: '' + in: path + schema: + type: string + required: true + responses: + '200': + description: VM_Create content: application/json: schema: - type: array - items: - type: string + $ref: '#/components/schemas/VM_Create' default: $ref: '#/components/responses/Error' - operationId: Filter_specifications - /specifications/3.0.3: - get: - summary: OpenApi specification - tags: [] - parameters: [] + operationId: Poweroff_v1_vms_VMUuid_actions_poweroff_invoke + /v1/vms/{VMUuid}/actions/poweron/invoke: + post: + summary: Power on virtual machine + tags: + - VM + parameters: + - name: VMUuid + description: '' + in: path + schema: + type: string + required: true responses: '200': - description: OpenApi specification + description: VM_Create content: application/json: schema: - type: object - properties: {} + $ref: '#/components/schemas/VM_Create' default: $ref: '#/components/responses/Error' - operationId: Get_OpenApi_specification - /v1/: + operationId: Poweron_v1_vms_VMUuid_actions_poweron_invoke + /v1/vmsdefsort/: get: - summary: Returns a list of all routes in the main route that are - collection - tags: [] + summary: Get VMDefSorts + tags: + - VMDefSort parameters: - - name: filters - description: "the filters to apply when filtering the routes (Is not\nimplemented - now)\n" + - name: state + in: query schema: type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + - name: name + in: query + schema: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + - name: just-none + in: query + schema: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + - name: status + in: query + schema: + type: string + enum: + - active + - disabled + example: active + default: active + - name: created in: query - - name: order_by - description: "fields to order the routes by (Is not implemented\nnow)\n" schema: type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + - name: updated in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' responses: '200': - description: Get nested urls + description: VMDefSort_Filter content: application/json: schema: type: array items: - type: string + $ref: '#/components/schemas/VMDefSort_Filter' default: $ref: '#/components/responses/Error' - operationId: Filter_v1 - /v1/agents/: + operationId: Filter_v1_vmsdefsort post: - summary: Create UniversalAgent + summary: Create VM resource tags: - - UniversalAgent + - VMDefSort parameters: [] responses: '201': - description: UniversalAgent_Create + description: VMDefSort_Create content: application/json: schema: - $ref: '#/components/schemas/UniversalAgent_Create' + $ref: '#/components/schemas/VMDefSort_Create' default: $ref: '#/components/responses/Error' - operationId: Create_v1_agents + operationId: Create_v1_vmsdefsort requestBody: - description: UniversalAgent_Create + description: VMDefSort_Create required: true content: application/json: schema: - $ref: '#/components/schemas/UniversalAgent_Create' - /v1/agents/{UniversalAgentUuid}: + $ref: '#/components/schemas/VMDefSort_Create' + /v1/vmsdefsort/{VMDefSortUuid}: get: - summary: Get UniversalAgent + summary: Get VMDefSort tags: - - UniversalAgent + - VMDefSort parameters: - - name: UniversalAgentUuid + - name: VMDefSortUuid in: path schema: type: string @@ -793,20 +2674,20 @@ paths: required: true responses: '200': - description: UniversalAgent_Get + description: VMDefSort_Get content: application/json: schema: - $ref: '#/components/schemas/UniversalAgent_Get' + $ref: '#/components/schemas/VMDefSort_Get' default: $ref: '#/components/responses/Error' - operationId: Get_v1_agents_UniversalAgentUuid + operationId: Get_v1_vmsdefsort_VMDefSortUuid put: - summary: Update UniversalAgent + summary: Update VMDefSort tags: - - UniversalAgent + - VMDefSort parameters: - - name: UniversalAgentUuid + - name: VMDefSortUuid in: path schema: type: string @@ -816,27 +2697,27 @@ paths: required: true responses: '200': - description: UniversalAgent_Update + description: VMDefSort_Update content: application/json: schema: - $ref: '#/components/schemas/UniversalAgent_Update' + $ref: '#/components/schemas/VMDefSort_Update' default: $ref: '#/components/responses/Error' - operationId: Update_v1_agents_UniversalAgentUuid + operationId: Update_v1_vmsdefsort_VMDefSortUuid requestBody: - description: UniversalAgent_Update + description: VMDefSort_Update required: true content: application/json: schema: - $ref: '#/components/schemas/UniversalAgent_Update' + $ref: '#/components/schemas/VMDefSort_Update' delete: - summary: Delete UniversalAgent + summary: Delete VMDefSort tags: - - UniversalAgent + - VMDefSort parameters: - - name: UniversalAgentUuid + - name: VMDefSortUuid in: path schema: type: string @@ -846,193 +2727,226 @@ paths: required: true responses: '204': - description: UniversalAgent_Delete + description: VMDefSort_Delete default: $ref: '#/components/responses/Error' - operationId: Delete_v1_agents_UniversalAgentUuid - /v1/kind/: + operationId: Delete_v1_vmsdefsort_VMDefSortUuid + /v1/vmsnoproccessfilters/: get: - summary: Get KindModels + summary: Get VMNoProcessFilterss tags: - - KindModel + - VMNoProcessFilters parameters: - - name: kind + - name: state + in: query + schema: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + - name: name + in: query + schema: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + - name: just-none + in: query + schema: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + - name: status + in: query + schema: + type: string + enum: + - active + - disabled + example: active + default: active + - name: created + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + - name: updated in: query schema: type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' responses: '200': - description: KindModel_Filter + description: VMNoProcessFilters_Filter content: application/json: schema: type: array items: - $ref: '#/components/schemas/KindModel_Filter' + $ref: '#/components/schemas/VMNoProcessFilters_Filter' default: $ref: '#/components/responses/Error' - operationId: Filter_v1_kind - /v1/kind/{KindModelKind}: + operationId: Filter_v1_vmsnoproccessfilters + /v1/vmsnoproccessfilters/{VMNoProcessFiltersUuid}: get: - summary: Get KindModel + summary: Get VMNoProcessFilters tags: - - KindModel + - VMNoProcessFilters parameters: - - name: KindModelKind + - name: VMNoProcessFiltersUuid in: path schema: type: string - minLength: 0 - maxLength: 64 - example: any_string + example: 00000000-0000-0000-0000-000000000000 + format: uuid readOnly: true required: true responses: '200': - description: KindModel_Get + description: VMNoProcessFilters_Get content: application/json: schema: - $ref: '#/components/schemas/KindModel_Get' + $ref: '#/components/schemas/VMNoProcessFilters_Get' default: $ref: '#/components/responses/Error' - operationId: Get_v1_kind_KindModelKind - /v1/kind/{KindModelKind}/resources/: - post: - summary: Create Resource + operationId: Get_v1_vmsnoproccessfilters_VMNoProcessFiltersUuid + /v1/vmsnosort/: + get: + summary: Get VMNoSorts tags: - - Resource + - VMNoSort parameters: - - name: KindModelKind - in: path + - name: state + in: query schema: type: string minLength: 0 - maxLength: 64 + maxLength: 10 example: any_string - readOnly: true - required: true - responses: - '201': - description: Resource_Create - content: - application/json: - schema: - $ref: '#/components/schemas/Resource_Create' - default: - $ref: '#/components/responses/Error' - operationId: Create_v1_kind_KindModelKind_resources - requestBody: - description: Resource_Create - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/Resource_Create' - /v1/kind/{KindModelKind}/resources/{ResourceRes_uuid}: - get: - summary: Get Resource - tags: - - Resource - parameters: - - name: KindModelKind - in: path + default: off + - name: name + in: query schema: type: string minLength: 0 - maxLength: 64 + maxLength: 255 + example: any_string + examples: + - testname + - name: just-none + in: query + schema: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 example: any_string + - name: status + in: query + schema: + type: string + enum: + - active + - disabled + example: active + default: active + - name: created + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time readOnly: true - required: true - - name: ResourceRes_uuid - in: path + default: '2006-01-02T15:04:05.000576Z' + - name: updated + in: query schema: type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - required: true + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' responses: '200': - description: Resource_Get + description: VMNoSort_Filter content: application/json: schema: - $ref: '#/components/schemas/Resource_Get' + type: array + items: + $ref: '#/components/schemas/VMNoSort_Filter' default: $ref: '#/components/responses/Error' - operationId: Get_v1_kind_KindModelKind_resources_ResourceRes_uuid - put: - summary: Update Resource + operationId: Filter_v1_vmsnosort + post: + summary: Create VM resource tags: - - Resource - parameters: - - name: KindModelKind - in: path - schema: - type: string - minLength: 0 - maxLength: 64 - example: any_string - readOnly: true - required: true - - name: ResourceRes_uuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - required: true + - VMNoSort + parameters: [] responses: - '200': - description: Resource_Update + '201': + description: VMNoSort_Create content: application/json: schema: - $ref: '#/components/schemas/Resource_Update' + $ref: '#/components/schemas/VMNoSort_Create' default: $ref: '#/components/responses/Error' - operationId: Update_v1_kind_KindModelKind_resources_ResourceRes_uuid + operationId: Create_v1_vmsnosort requestBody: - description: Resource_Update + description: VMNoSort_Create required: true content: application/json: schema: - $ref: '#/components/schemas/Resource_Update' - delete: - summary: Delete Resource + $ref: '#/components/schemas/VMNoSort_Create' + /v1/vmsnosort/{VMNoSortUuid}: + get: + summary: Get VMNoSort tags: - - Resource + - VMNoSort parameters: - - name: KindModelKind - in: path - schema: - type: string - minLength: 0 - maxLength: 64 - example: any_string - readOnly: true - required: true - - name: ResourceRes_uuid + - name: VMNoSortUuid in: path schema: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid + readOnly: true required: true responses: - '204': - description: Resource_Delete + '200': + description: VMNoSort_Get + content: + application/json: + schema: + $ref: '#/components/schemas/VMNoSort_Get' default: $ref: '#/components/responses/Error' - operationId: Delete_v1_kind_KindModelKind_resources_ResourceRes_uuid - /v1/node_verifiers/{NodeVerifierUuid}: - get: - summary: Get NodeVerifier + operationId: Get_v1_vmsnosort_VMNoSortUuid + put: + summary: Update VMNoSort tags: - - NodeVerifier + - VMNoSort parameters: - - name: NodeVerifierUuid + - name: VMNoSortUuid in: path schema: type: string @@ -1042,21 +2956,27 @@ paths: required: true responses: '200': - description: NodeVerifier_Get + description: VMNoSort_Update content: application/json: schema: - $ref: '#/components/schemas/NodeVerifier_Get' + $ref: '#/components/schemas/VMNoSort_Update' default: $ref: '#/components/responses/Error' - operationId: Get_v1_node_verifiers_NodeVerifierUuid - /v1/node_verifiers/{NodeVerifierUuid}/actions/verify: - get: - summary: Verify NodeVerifier + operationId: Update_v1_vmsnosort_VMNoSortUuid + requestBody: + description: VMNoSort_Update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/VMNoSort_Update' + delete: + summary: Delete VMNoSort tags: - - NodeVerifier + - VMNoSort parameters: - - name: NodeVerifierUuid + - name: VMNoSortUuid in: path schema: type: string @@ -1065,14 +2985,11 @@ paths: readOnly: true required: true responses: - '200': - description: Get nested urls - content: - application/json: - schema: {} + '204': + description: VMNoSort_Delete default: $ref: '#/components/responses/Error' - operationId: Verify_v1_node_verifiers_NodeVerifierUuid_actions_verify + operationId: Delete_v1_vmsnosort_VMNoSortUuid servers: - url: http://127.0.0.1:11012 description: '' @@ -1082,11 +2999,24 @@ servers: - v1 default: v1 tags: - - name: UniversalAgent + - name: functional-test + description: Just functional tests + externalDocs: + url: https://https://functional.tests/docs/ + description: Functional tests external documentation + - name: Port + description: '' + - name: IpAddress_tag + description: '' + - name: PortTestTag + description: port_descr + - name: Tag + description: '' + - name: VM description: '' - - name: Resource + - name: VMDefSort description: '' - - name: KindModel + - name: VMNoProcessFilters description: '' - - name: NodeVerifier + - name: VMNoSort description: '' diff --git a/docs/openapi/openapi_user.yaml b/docs/openapi/openapi_user.yaml index 369d4afe..ea0aaa8b 100644 --- a/docs/openapi/openapi_user.yaml +++ b/docs/openapi/openapi_user.yaml @@ -1,8 +1,17 @@ -openapi: 3.0.3 +openapi: 3.1.0 +jsonSchemaDialect: https://spec.openapis.org/oas/3.1/dialect/base info: - title: Exordos Core v1 User API + title: REST API Microservice version: latest - description: OpenAPI - Exordos Core v1 + description: REST API Microservice for tests + termsOfService: https://functional.tests/terms/ + license: + name: Apache 2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + contact: + name: Functional Tests + url: https://functional.tests/ + email: functional@tests.local components: responses: Error: @@ -54,7 +63,7 @@ components: code: 400 type: ValidationErrorException message: Validation error occurred. - MachinePool_Get: + VM_Create: type: object properties: uuid: @@ -62,294 +71,49 @@ components: example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true - name: + state: type: string minLength: 0 - maxLength: 255 + maxLength: 10 example: any_string - default: '' - description: + default: off + name: type: string minLength: 0 maxLength: 255 example: any_string - default: '' - created_at: + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: type: string x-ogen-time-format: '2006-01-02T15:04:05.000576Z' example: '2006-01-02T15:04:05.000576Z' format: date-time readOnly: true default: '2006-01-02T15:04:05.000576Z' - updated_at: + updated: type: string x-ogen-time-format: '2006-01-02T15:04:05.000576Z' example: '2006-01-02T15:04:05.000576Z' format: date-time - readOnly: true default: '2006-01-02T15:04:05.000576Z' - driver_spec: - type: object - oneOf: - - type: object - properties: - kind: - type: string - enum: - - libvirt - connection_uri: - type: string - minLength: 0 - maxLength: 2048 - example: any_string - network: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - storage_pool: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - machine_prefix: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - network_type: - type: string - enum: - - bridge - - network - example: network - default: network - iface_rom_file: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - iface_mtu: - type: integer - minimum: 0 - maximum: 65536 - example: 32768 - default: 1500 - iface_source: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - example: - key: value - - type: object - properties: - kind: - type: string - enum: - - exordos_local_hyper - connection_uri: - type: string - minLength: 0 - maxLength: 2048 - example: any_string - network: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - storage_pool: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - machine_prefix: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - network_type: - type: string - enum: - - bridge - - network - example: network - default: network - iface_rom_file: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - iface_mtu: - type: integer - minimum: 0 - maximum: 65536 - example: 32768 - default: 1500 - iface_source: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - node: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - example: - key: value - - type: object - properties: - kind: - type: string - enum: - - dummy - example: - key: value - example: - key: value - agent: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - nullable: true - builder: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - nullable: true - machine_type: - type: string - enum: - - HW - - VM - example: VM - default: VM - status: - type: string - enum: - - ACTIVE - - DISABLED - - IN_PROGRESS - - MAINTENANCE - example: ACTIVE - readOnly: true - default: DISABLED - avail_cores: - type: integer - minimum: -9223372036854775807 - maximum: 9223372036854775807 - example: 0 - default: 0 - avail_ram: - type: integer - minimum: -9223372036854775807 - maximum: 9223372036854775807 - example: 0 - default: 0 - all_cores: - type: integer - minimum: -9223372036854775807 - maximum: 9223372036854775807 - example: 0 - default: 0 - all_ram: - type: integer - minimum: -9223372036854775807 - maximum: 9223372036854775807 - example: 0 - default: 0 - cores_ratio: - type: number - format: float - minimum: 0.0 - maximum: 1.7976931348623157e+308 - example: 0.0 - default: 1.0 - ram_ratio: - type: number - format: float - minimum: 0.0 - maximum: 1.7976931348623157e+308 - example: 0.0 - default: 1.0 - storage_pools: - type: array - items: - type: object - oneOf: - - type: object - properties: - kind: - type: string - enum: - - thin_storage_pool - uuid: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - pool_type: - type: string - minLength: 0 - maxLength: 9223372036854775807 - example: any_string - name: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - description: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - capacity_usable: - type: integer - minimum: 0 - maximum: 9223372036854775807 - example: 0 - default: 0 - capacity_provisioned: - type: integer - minimum: 0 - maximum: 9223372036854775807 - example: 0 - default: 0 - oversubscription_ratio: - type: number - format: float - minimum: 0.0 - maximum: 1.7976931348623157e+308 - example: 0.0 - default: 1.0 - available_actual: - type: integer - minimum: 0 - maximum: 9223372036854775807 - example: 0 - default: 0 - example: - key: value - example: - key: value - example: - - key: value - default: [] required: - - driver_spec - MachinePool_Create: + - name + VM_Get: type: object properties: uuid: @@ -357,294 +121,49 @@ components: example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true - name: + state: type: string minLength: 0 - maxLength: 255 + maxLength: 10 example: any_string - default: '' - description: + default: off + name: type: string minLength: 0 maxLength: 255 example: any_string - default: '' - created_at: + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: type: string x-ogen-time-format: '2006-01-02T15:04:05.000576Z' example: '2006-01-02T15:04:05.000576Z' format: date-time readOnly: true default: '2006-01-02T15:04:05.000576Z' - updated_at: + updated: type: string x-ogen-time-format: '2006-01-02T15:04:05.000576Z' example: '2006-01-02T15:04:05.000576Z' format: date-time - readOnly: true default: '2006-01-02T15:04:05.000576Z' - driver_spec: - type: object - oneOf: - - type: object - properties: - kind: - type: string - enum: - - libvirt - connection_uri: - type: string - minLength: 0 - maxLength: 2048 - example: any_string - network: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - storage_pool: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - machine_prefix: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - network_type: - type: string - enum: - - bridge - - network - example: network - default: network - iface_rom_file: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - iface_mtu: - type: integer - minimum: 0 - maximum: 65536 - example: 32768 - default: 1500 - iface_source: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - example: - key: value - - type: object - properties: - kind: - type: string - enum: - - exordos_local_hyper - connection_uri: - type: string - minLength: 0 - maxLength: 2048 - example: any_string - network: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - storage_pool: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - machine_prefix: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - network_type: - type: string - enum: - - bridge - - network - example: network - default: network - iface_rom_file: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - iface_mtu: - type: integer - minimum: 0 - maximum: 65536 - example: 32768 - default: 1500 - iface_source: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - node: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - example: - key: value - - type: object - properties: - kind: - type: string - enum: - - dummy - example: - key: value - example: - key: value - agent: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - nullable: true - builder: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - nullable: true - machine_type: - type: string - enum: - - HW - - VM - example: VM - default: VM - status: - type: string - enum: - - ACTIVE - - DISABLED - - IN_PROGRESS - - MAINTENANCE - example: ACTIVE - readOnly: true - default: DISABLED - avail_cores: - type: integer - minimum: -9223372036854775807 - maximum: 9223372036854775807 - example: 0 - default: 0 - avail_ram: - type: integer - minimum: -9223372036854775807 - maximum: 9223372036854775807 - example: 0 - default: 0 - all_cores: - type: integer - minimum: -9223372036854775807 - maximum: 9223372036854775807 - example: 0 - default: 0 - all_ram: - type: integer - minimum: -9223372036854775807 - maximum: 9223372036854775807 - example: 0 - default: 0 - cores_ratio: - type: number - format: float - minimum: 0.0 - maximum: 1.7976931348623157e+308 - example: 0.0 - default: 1.0 - ram_ratio: - type: number - format: float - minimum: 0.0 - maximum: 1.7976931348623157e+308 - example: 0.0 - default: 1.0 - storage_pools: - type: array - items: - type: object - oneOf: - - type: object - properties: - kind: - type: string - enum: - - thin_storage_pool - uuid: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - pool_type: - type: string - minLength: 0 - maxLength: 9223372036854775807 - example: any_string - name: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - description: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - capacity_usable: - type: integer - minimum: 0 - maximum: 9223372036854775807 - example: 0 - default: 0 - capacity_provisioned: - type: integer - minimum: 0 - maximum: 9223372036854775807 - example: 0 - default: 0 - oversubscription_ratio: - type: number - format: float - minimum: 0.0 - maximum: 1.7976931348623157e+308 - example: 0.0 - default: 1.0 - available_actual: - type: integer - minimum: 0 - maximum: 9223372036854775807 - example: 0 - default: 0 - example: - key: value - example: - key: value - example: - - key: value - default: [] required: - - driver_spec - MachinePool_Update: + - name + VM_Filter: type: object properties: uuid: @@ -652,294 +171,49 @@ components: example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true - name: + state: type: string minLength: 0 - maxLength: 255 + maxLength: 10 example: any_string - default: '' - description: + default: off + name: type: string minLength: 0 maxLength: 255 example: any_string - default: '' - created_at: + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: type: string x-ogen-time-format: '2006-01-02T15:04:05.000576Z' example: '2006-01-02T15:04:05.000576Z' format: date-time readOnly: true default: '2006-01-02T15:04:05.000576Z' - updated_at: + updated: type: string x-ogen-time-format: '2006-01-02T15:04:05.000576Z' example: '2006-01-02T15:04:05.000576Z' format: date-time - readOnly: true default: '2006-01-02T15:04:05.000576Z' - driver_spec: - type: object - oneOf: - - type: object - properties: - kind: - type: string - enum: - - libvirt - connection_uri: - type: string - minLength: 0 - maxLength: 2048 - example: any_string - network: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - storage_pool: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - machine_prefix: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - network_type: - type: string - enum: - - bridge - - network - example: network - default: network - iface_rom_file: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - iface_mtu: - type: integer - minimum: 0 - maximum: 65536 - example: 32768 - default: 1500 - iface_source: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - example: - key: value - - type: object - properties: - kind: - type: string - enum: - - exordos_local_hyper - connection_uri: - type: string - minLength: 0 - maxLength: 2048 - example: any_string - network: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - storage_pool: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - machine_prefix: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - network_type: - type: string - enum: - - bridge - - network - example: network - default: network - iface_rom_file: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - iface_mtu: - type: integer - minimum: 0 - maximum: 65536 - example: 32768 - default: 1500 - iface_source: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - node: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - example: - key: value - - type: object - properties: - kind: - type: string - enum: - - dummy - example: - key: value - example: - key: value - agent: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - nullable: true - builder: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - nullable: true - machine_type: - type: string - enum: - - HW - - VM - example: VM - default: VM - status: - type: string - enum: - - ACTIVE - - DISABLED - - IN_PROGRESS - - MAINTENANCE - example: ACTIVE - readOnly: true - default: DISABLED - avail_cores: - type: integer - minimum: -9223372036854775807 - maximum: 9223372036854775807 - example: 0 - default: 0 - avail_ram: - type: integer - minimum: -9223372036854775807 - maximum: 9223372036854775807 - example: 0 - default: 0 - all_cores: - type: integer - minimum: -9223372036854775807 - maximum: 9223372036854775807 - example: 0 - default: 0 - all_ram: - type: integer - minimum: -9223372036854775807 - maximum: 9223372036854775807 - example: 0 - default: 0 - cores_ratio: - type: number - format: float - minimum: 0.0 - maximum: 1.7976931348623157e+308 - example: 0.0 - default: 1.0 - ram_ratio: - type: number - format: float - minimum: 0.0 - maximum: 1.7976931348623157e+308 - example: 0.0 - default: 1.0 - storage_pools: - type: array - items: - type: object - oneOf: - - type: object - properties: - kind: - type: string - enum: - - thin_storage_pool - uuid: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - pool_type: - type: string - minLength: 0 - maxLength: 9223372036854775807 - example: any_string - name: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - description: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - capacity_usable: - type: integer - minimum: 0 - maximum: 9223372036854775807 - example: 0 - default: 0 - capacity_provisioned: - type: integer - minimum: 0 - maximum: 9223372036854775807 - example: 0 - default: 0 - oversubscription_ratio: - type: number - format: float - minimum: 0.0 - maximum: 1.7976931348623157e+308 - example: 0.0 - default: 1.0 - available_actual: - type: integer - minimum: 0 - maximum: 9223372036854775807 - example: 0 - default: 0 - example: - key: value - example: - key: value - example: - - key: value - default: [] required: - - driver_spec - MachinePool_Filter: + - name + VM_Update: type: object properties: uuid: @@ -947,294 +221,107 @@ components: example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true - name: + state: type: string minLength: 0 - maxLength: 255 + maxLength: 10 example: any_string - default: '' - description: + default: off + name: type: string minLength: 0 maxLength: 255 example: any_string - default: '' - created_at: + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: type: string x-ogen-time-format: '2006-01-02T15:04:05.000576Z' example: '2006-01-02T15:04:05.000576Z' format: date-time readOnly: true default: '2006-01-02T15:04:05.000576Z' - updated_at: + updated: type: string x-ogen-time-format: '2006-01-02T15:04:05.000576Z' example: '2006-01-02T15:04:05.000576Z' format: date-time - readOnly: true default: '2006-01-02T15:04:05.000576Z' - driver_spec: - type: object - oneOf: - - type: object - properties: - kind: - type: string - enum: - - libvirt - connection_uri: - type: string - minLength: 0 - maxLength: 2048 - example: any_string - network: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - storage_pool: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - machine_prefix: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - network_type: - type: string - enum: - - bridge - - network - example: network - default: network - iface_rom_file: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - iface_mtu: - type: integer - minimum: 0 - maximum: 65536 - example: 32768 - default: 1500 - iface_source: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - example: - key: value - - type: object - properties: - kind: - type: string - enum: - - exordos_local_hyper - connection_uri: - type: string - minLength: 0 - maxLength: 2048 - example: any_string - network: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - storage_pool: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - machine_prefix: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - network_type: - type: string - enum: - - bridge - - network - example: network - default: network - iface_rom_file: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - iface_mtu: - type: integer - minimum: 0 - maximum: 65536 - example: 32768 - default: 1500 - iface_source: - type: string - minLength: 0 - maxLength: 255 - example: any_string - nullable: true - node: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - example: - key: value - - type: object - properties: - kind: - type: string - enum: - - dummy - example: - key: value - example: - key: value - agent: + required: + - name + Port_Create: + type: object + properties: + uuid: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid - nullable: true - builder: + readOnly: true + mac: type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - nullable: true - machine_type: + pattern: ^([0-9a-fA-F]{2,2}:){5,5}[0-9a-fA-F]{2,2}$ + example: 00:00:00:00:00:00 + default: 00:00:00:00:00:00 + vm: type: string - enum: - - HW - - VM - example: VM - default: VM - status: + some-field2: type: string - enum: - - ACTIVE - - DISABLED - - IN_PROGRESS - - MAINTENANCE - example: ACTIVE + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field3: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field4: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field5: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-after: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-any: + oneOf: + - type: string + - type: integer + - type: array + - type: boolean + - type: object + example: string + permission-field: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string readOnly: true - default: DISABLED - avail_cores: - type: integer - minimum: -9223372036854775807 - maximum: 9223372036854775807 - example: 0 - default: 0 - avail_ram: - type: integer - minimum: -9223372036854775807 - maximum: 9223372036854775807 - example: 0 - default: 0 - all_cores: - type: integer - minimum: -9223372036854775807 - maximum: 9223372036854775807 - example: 0 - default: 0 - all_ram: - type: integer - minimum: -9223372036854775807 - maximum: 9223372036854775807 - example: 0 - default: 0 - cores_ratio: - type: number - format: float - minimum: 0.0 - maximum: 1.7976931348623157e+308 - example: 0.0 - default: 1.0 - ram_ratio: - type: number - format: float - minimum: 0.0 - maximum: 1.7976931348623157e+308 - example: 0.0 - default: 1.0 - storage_pools: - type: array - items: - type: object - oneOf: - - type: object - properties: - kind: - type: string - enum: - - thin_storage_pool - uuid: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - pool_type: - type: string - minLength: 0 - maxLength: 9223372036854775807 - example: any_string - name: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - description: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - capacity_usable: - type: integer - minimum: 0 - maximum: 9223372036854775807 - example: 0 - default: 0 - capacity_provisioned: - type: integer - minimum: 0 - maximum: 9223372036854775807 - example: 0 - default: 0 - oversubscription_ratio: - type: number - format: float - minimum: 0.0 - maximum: 1.7976931348623157e+308 - example: 0.0 - default: 1.0 - available_actual: - type: integer - minimum: 0 - maximum: 9223372036854775807 - example: 0 - default: 0 - example: - key: value - example: - key: value - example: - - key: value - default: [] required: - - driver_spec - Node_Get: + - vm + Port_Filter: type: object properties: uuid: @@ -1242,178 +329,62 @@ components: example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true - project_id: + mac: type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - name: + pattern: ^([0-9a-fA-F]{2,2}:){5,5}[0-9a-fA-F]{2,2}$ + example: 00:00:00:00:00:00 + default: 00:00:00:00:00:00 + vm: + type: string + some-field1: type: string minLength: 0 - maxLength: 255 + maxLength: 9223372036854775807 example: any_string - default: '' - description: + some-field3: type: string minLength: 0 - maxLength: 255 + maxLength: 9223372036854775807 example: any_string - default: '' - created_at: + some-field4: type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - updated_at: + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field5: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + unique-field: type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - cores: - type: integer - minimum: 1 - maximum: 4096 - example: 2048 - ram: - type: integer - minimum: 1 - maximum: 9223372036854775807 - example: 1 - status: - type: string - enum: - - ACTIVE - - ERROR - - IN_PROGRESS - - NEW - - SCHEDULED - - STARTED - example: NEW - readOnly: true - default: NEW - node_type: + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-after: type: string - enum: - - HW - - VM - example: VM - default: VM - default_network: - type: object - additionalProperties: - oneOf: - - type: string - - type: integer - - type: boolean - - type: object - - type: array - items: {} - example: - key: value - default: {} - disk_spec: - type: object + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-any: oneOf: + - type: string + - type: integer + - type: array + - type: boolean - type: object - properties: - kind: - type: string - enum: - - root_disk - image: - type: string - minLength: 0 - maxLength: 255 - example: any_string - size: - type: integer - minimum: 1 - maximum: 1000000 - example: 500000 - default: 10 - example: - key: value - - type: object - properties: - kind: - type: string - enum: - - disks - disks: - type: array - items: - type: object - properties: - size: - type: integer - minimum: 1 - maximum: 1000000 - example: 500000 - label: - type: string - minLength: 0 - maxLength: 128 - example: any_string - image: - type: string - minLength: 0 - maxLength: 256 - example: any_string - mount_point: - type: string - minLength: 0 - maxLength: 512 - example: any_string - fs: - type: string - minLength: 0 - maxLength: 256 - example: any_string - example: - size: 500000 - label: any_string - image: any_string - mount_point: any_string - fs: any_string - example: - - size: 500000 - label: any_string - image: any_string - mount_point: any_string - fs: any_string - default: [] - example: - key: value - example: - key: value - placement_policies: - type: array - items: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - example: - - 00000000-0000-0000-0000-000000000000 - default: [] - hostname: - type: string - pattern: - (?=^.{1,253}$)(^((?![-])[a-zA-Z0-9-]{1,63}(?' - (required) - ttl: - type: number - format: float - refresh_ttl: - type: string - format: float - - type: object - required: - - grant_type - - refresh_token - properties: - grant_type: - type: string - enum: - - refresh_token - refresh_token: - type: string - discriminator: - propertyName: grant_type - /v1/iam/clients/{IamClientUuid}/actions/introspect: - get: - summary: Introspect IamClient - tags: - - IamClient - parameters: - - name: IamClientUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Get nested urls - content: - application/json: - schema: {} - default: - $ref: '#/components/responses/Error' - operationId: Introspect_v1_iam_clients_IamClientUuid_actions_introspect - /v1/iam/clients/{IamClientUuid}/actions/jwks: - get: - summary: Jwks IamClient - tags: - - IamClient - parameters: - - name: IamClientUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Get nested urls - content: - application/json: - schema: {} - default: - $ref: '#/components/responses/Error' - operationId: Jwks_v1_iam_clients_IamClientUuid_actions_jwks - /v1/iam/clients/{IamClientUuid}/actions/login/invoke: - post: - summary: Login IamClient - tags: - - IamClient - parameters: - - name: IamClientUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Get nested urls - content: - application/json: - schema: {} - default: - $ref: '#/components/responses/Error' - operationId: Login_v1_iam_clients_IamClientUuid_actions_login_invoke - /v1/iam/clients/{IamClientUuid}/actions/logout/invoke: - post: - summary: Logout IamClient - tags: - - IamClient - parameters: - - name: IamClientUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Get nested urls - content: - application/json: - schema: {} - default: - $ref: '#/components/responses/Error' - operationId: Logout_v1_iam_clients_IamClientUuid_actions_logout_invoke - /v1/iam/clients/{IamClientUuid}/actions/me: - get: - summary: Me IamClient - tags: - - IamClient - parameters: - - name: IamClientUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Get nested urls - content: - application/json: - schema: {} - default: - $ref: '#/components/responses/Error' - operationId: Me_v1_iam_clients_IamClientUuid_actions_me - /v1/iam/clients/{IamClientUuid}/actions/send_reset_password_code/invoke: - post: - summary: Send password reset code to email - tags: - - IamClient - parameters: - - name: IamClientUuid - description: '' - in: path - schema: - type: string - required: true - responses: - '200': - description: Password reset email sent successfully. No content - returned. - content: - application/json: - schema: - type: object - properties: {} - default: - $ref: '#/components/responses/Error' - operationId: - Send_reset_password_code_v1_iam_clients_IamClientUuid_actions_send_reset_password_code_invoke - requestBody: - description: Trigger a password reset email for the specified user - required: true - content: - application/json: - schema: - type: object - required: - - email - properties: - email: - type: string - format: email - description: Email address of the user to send the reset link - to - example: user@example.com - /v1/iam/clients/{IamClientUuid}/actions/userinfo: - get: - summary: Userinfo IamClient - tags: - - IamClient - parameters: - - name: IamClientUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Get nested urls - content: - application/json: - schema: {} - default: - $ref: '#/components/responses/Error' - operationId: Userinfo_v1_iam_clients_IamClientUuid_actions_userinfo - /v1/iam/idp/: - get: - summary: Get Idps - tags: - - Idp - parameters: - - name: uuid - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - - name: name - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: description - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: created_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: updated_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: status - in: query - schema: - type: string - enum: - - ACTIVE - - ERROR - - IN_PROGRESS - - NEW - example: NEW - readOnly: true - default: NEW - - name: project_id - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - - name: iam_client - in: query - schema: - type: string - - name: scope - in: query - schema: - type: string - minLength: 0 - maxLength: 64 - example: any_string - default: openid - - name: nonce_required - in: query - schema: - type: boolean - example: true - default: true - responses: - '200': - description: Idp_Filter - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/Idp_Filter' - default: - $ref: '#/components/responses/Error' - operationId: Filter_v1_iam_idp - post: - summary: Create Idp - tags: - - Idp - parameters: [] - responses: - '201': - description: Idp_Create - content: - application/json: - schema: - $ref: '#/components/schemas/Idp_Create' - default: - $ref: '#/components/responses/Error' - operationId: Create_v1_iam_idp - requestBody: - description: Idp_Create - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/Idp_Create' - /v1/iam/idp/{IdpUuid}: - get: - summary: Get Idp - tags: - - Idp - parameters: - - name: IdpUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Idp_Get - content: - application/json: - schema: - $ref: '#/components/schemas/Idp_Get' - default: - $ref: '#/components/responses/Error' - operationId: Get_v1_iam_idp_IdpUuid - put: - summary: Update Idp - tags: - - Idp - parameters: - - name: IdpUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Idp_Update - content: - application/json: - schema: - $ref: '#/components/schemas/Idp_Update' - default: - $ref: '#/components/responses/Error' - operationId: Update_v1_iam_idp_IdpUuid - requestBody: - description: Idp_Update - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/Idp_Update' - delete: - summary: Delete Idp - tags: - - Idp - parameters: - - name: IdpUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '204': - description: Idp_Delete - default: - $ref: '#/components/responses/Error' - operationId: Delete_v1_iam_idp_IdpUuid - /v1/iam/idp/{IdpUuid}/.well_known/: - get: - summary: Get WellKnownRoute WellKnownControllers - tags: [] - parameters: - - name: IdpUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Get nested urls - content: - application/json: - schema: - type: array - items: - type: string - default: - $ref: '#/components/responses/Error' - operationId: Filter_v1_iam_idp_IdpUuid_well_known - post: - summary: Create WellKnownRoute WellKnownController - tags: [] - parameters: - - name: IdpUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '201': - description: Unknown_Create - content: - application/json: - schema: - $ref: '#/components/schemas/Unknown_Create' - default: - $ref: '#/components/responses/Error' - operationId: Create_v1_iam_idp_IdpUuid_well_known - requestBody: - description: Unknown_Create - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/Unknown_Create' - /v1/iam/idp/{IdpUuid}/actions/authorize/invoke: - get: - summary: Authorize Idp - tags: - - Idp - parameters: - - name: IdpUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Get nested urls - content: - application/json: - schema: {} - default: - $ref: '#/components/responses/Error' - operationId: Authorize_v1_iam_idp_IdpUuid_actions_authorize_invoke - /v1/iam/idp/{IdpUuid}/actions/callback/invoke: - get: - summary: Callback Idp - tags: - - Idp - parameters: - - name: IdpUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Get nested urls - content: - application/json: - schema: {} - default: - $ref: '#/components/responses/Error' - operationId: Callback_v1_iam_idp_IdpUuid_actions_callback_invoke - /v1/iam/idp/{IdpUuid}/actions/login/invoke: - get: - summary: Login Idp - tags: - - Idp - parameters: - - name: IdpUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Get nested urls - content: - application/json: - schema: {} - default: - $ref: '#/components/responses/Error' - operationId: Login_v1_iam_idp_IdpUuid_actions_login_invoke - /v1/iam/organizations/: - get: - summary: Get Organizations - tags: - - Organization - parameters: - - name: uuid - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - - name: name - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: description - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: created_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: updated_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: status - in: query - schema: - type: string - enum: - - ACTIVE - - ERROR - - IN_PROGRESS - - NEW - example: NEW - readOnly: true - default: NEW - responses: - '200': - description: Organization_Filter - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/Organization_Filter' - default: - $ref: '#/components/responses/Error' - operationId: Filter_v1_iam_organizations - post: - summary: Create Organization - tags: - - Organization - parameters: [] - responses: - '201': - description: Organization_Create - content: - application/json: - schema: - $ref: '#/components/schemas/Organization_Create' - default: - $ref: '#/components/responses/Error' - operationId: Create_v1_iam_organizations - requestBody: - description: Organization_Create - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/Organization_Create' - /v1/iam/organizations/{OrganizationUuid}: - get: - summary: Get Organization - tags: - - Organization - parameters: - - name: OrganizationUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Organization_Get - content: - application/json: - schema: - $ref: '#/components/schemas/Organization_Get' - default: - $ref: '#/components/responses/Error' - operationId: Get_v1_iam_organizations_OrganizationUuid - put: - summary: Update Organization - tags: - - Organization - parameters: - - name: OrganizationUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Organization_Update - content: - application/json: - schema: - $ref: '#/components/schemas/Organization_Update' - default: - $ref: '#/components/responses/Error' - operationId: Update_v1_iam_organizations_OrganizationUuid - requestBody: - description: Organization_Update - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/Organization_Update' - delete: - summary: Delete Organization - tags: - - Organization - parameters: - - name: OrganizationUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '204': - description: Organization_Delete - default: - $ref: '#/components/responses/Error' - operationId: Delete_v1_iam_organizations_OrganizationUuid - /v1/iam/organizations/{OrganizationUuid}/members/: - get: - summary: Get OrganizationMembers - tags: - - OrganizationMember - parameters: - - name: OrganizationUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: OrganizationMember_Filter - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/OrganizationMember_Filter' - default: - $ref: '#/components/responses/Error' - operationId: Filter_v1_iam_organizations_OrganizationUuid_members - post: - summary: Create OrganizationMember - tags: - - OrganizationMember - parameters: - - name: OrganizationUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '201': - description: OrganizationMember_Create - content: - application/json: - schema: - $ref: '#/components/schemas/OrganizationMember_Create' - default: - $ref: '#/components/responses/Error' - operationId: Create_v1_iam_organizations_OrganizationUuid_members - requestBody: - description: OrganizationMember_Create - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/OrganizationMember_Create' - /v1/iam/organizations/{OrganizationUuid}/members/{OrganizationMemberUuid}: - get: - summary: Get OrganizationMember - tags: - - OrganizationMember - parameters: - - name: OrganizationUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - - name: OrganizationMemberUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: OrganizationMember_Get - content: - application/json: - schema: - $ref: '#/components/schemas/OrganizationMember_Get' - default: - $ref: '#/components/responses/Error' - operationId: - Get_v1_iam_organizations_OrganizationUuid_members_OrganizationMemberUuid - put: - summary: Update OrganizationMember - tags: - - OrganizationMember - parameters: - - name: OrganizationUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - - name: OrganizationMemberUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: OrganizationMember_Update - content: - application/json: - schema: - $ref: '#/components/schemas/OrganizationMember_Update' - default: - $ref: '#/components/responses/Error' - operationId: - Update_v1_iam_organizations_OrganizationUuid_members_OrganizationMemberUuid - requestBody: - description: OrganizationMember_Update - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/OrganizationMember_Update' - delete: - summary: Delete OrganizationMember - tags: - - OrganizationMember - parameters: - - name: OrganizationUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - - name: OrganizationMemberUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '204': - description: OrganizationMember_Delete - default: - $ref: '#/components/responses/Error' - operationId: - Delete_v1_iam_organizations_OrganizationUuid_members_OrganizationMemberUuid - /v1/iam/permission_bindings/: - get: - summary: Get PermissionBindings - tags: - - PermissionBinding - parameters: - - name: uuid - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - - name: created_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: updated_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: project_id - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - - name: role - in: query - schema: - type: string - - name: permission - in: query - schema: - type: string - responses: - '200': - description: PermissionBinding_Filter - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/PermissionBinding_Filter' - default: - $ref: '#/components/responses/Error' - operationId: Filter_v1_iam_permission_bindings - post: - summary: Create PermissionBinding - tags: - - PermissionBinding - parameters: [] - responses: - '201': - description: PermissionBinding_Create - content: - application/json: - schema: - $ref: '#/components/schemas/PermissionBinding_Create' - default: - $ref: '#/components/responses/Error' - operationId: Create_v1_iam_permission_bindings - requestBody: - description: PermissionBinding_Create - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/PermissionBinding_Create' - /v1/iam/permission_bindings/{PermissionBindingUuid}: - get: - summary: Get PermissionBinding - tags: - - PermissionBinding - parameters: - - name: PermissionBindingUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: PermissionBinding_Get - content: - application/json: - schema: - $ref: '#/components/schemas/PermissionBinding_Get' - default: - $ref: '#/components/responses/Error' - operationId: Get_v1_iam_permission_bindings_PermissionBindingUuid - put: - summary: Update PermissionBinding - tags: - - PermissionBinding - parameters: - - name: PermissionBindingUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: PermissionBinding_Update - content: - application/json: - schema: - $ref: '#/components/schemas/PermissionBinding_Update' - default: - $ref: '#/components/responses/Error' - operationId: Update_v1_iam_permission_bindings_PermissionBindingUuid - requestBody: - description: PermissionBinding_Update - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/PermissionBinding_Update' - delete: - summary: Delete PermissionBinding - tags: - - PermissionBinding - parameters: - - name: PermissionBindingUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '204': - description: PermissionBinding_Delete - default: - $ref: '#/components/responses/Error' - operationId: Delete_v1_iam_permission_bindings_PermissionBindingUuid - /v1/iam/permissions/: - get: - summary: Get Permissions - tags: - - Permission - parameters: - - name: uuid - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - - name: name - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: description - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: created_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: updated_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: status - in: query - schema: - type: string - enum: - - ACTIVE - - ERROR - - IN_PROGRESS - - NEW - example: NEW - readOnly: true - default: NEW - responses: - '200': - description: Permission_Filter - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/Permission_Filter' - default: - $ref: '#/components/responses/Error' - operationId: Filter_v1_iam_permissions - post: - summary: Create Permission - tags: - - Permission - parameters: [] - responses: - '201': - description: Permission_Create - content: - application/json: - schema: - $ref: '#/components/schemas/Permission_Create' - default: - $ref: '#/components/responses/Error' - operationId: Create_v1_iam_permissions - requestBody: - description: Permission_Create - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/Permission_Create' - /v1/iam/permissions/{PermissionUuid}: - get: - summary: Get Permission - tags: - - Permission - parameters: - - name: PermissionUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Permission_Get - content: - application/json: - schema: - $ref: '#/components/schemas/Permission_Get' - default: - $ref: '#/components/responses/Error' - operationId: Get_v1_iam_permissions_PermissionUuid - put: - summary: Update Permission - tags: - - Permission - parameters: - - name: PermissionUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Permission_Update - content: - application/json: - schema: - $ref: '#/components/schemas/Permission_Update' - default: - $ref: '#/components/responses/Error' - operationId: Update_v1_iam_permissions_PermissionUuid - requestBody: - description: Permission_Update - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/Permission_Update' - delete: - summary: Delete Permission - tags: - - Permission - parameters: - - name: PermissionUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '204': - description: Permission_Delete - default: - $ref: '#/components/responses/Error' - operationId: Delete_v1_iam_permissions_PermissionUuid - /v1/iam/projects/: - get: - summary: Get Projects - tags: - - Project - parameters: - - name: uuid - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - - name: name - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: description - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: created_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: updated_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: status - in: query - schema: - type: string - enum: - - ACTIVE - - ERROR - - IN_PROGRESS - - NEW - example: NEW - readOnly: true - default: NEW - - name: organization - in: query - schema: - type: string - responses: - '200': - description: Project_Filter - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/Project_Filter' - default: - $ref: '#/components/responses/Error' - operationId: Filter_v1_iam_projects - post: - summary: Create Project - tags: - - Project - parameters: [] - responses: - '201': - description: Project_Create - content: - application/json: - schema: - $ref: '#/components/schemas/Project_Create' - default: - $ref: '#/components/responses/Error' - operationId: Create_v1_iam_projects - requestBody: - description: Project_Create - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/Project_Create' - /v1/iam/projects/{ProjectUuid}: - get: - summary: Get Project - tags: - - Project - parameters: - - name: ProjectUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Project_Get - content: - application/json: - schema: - $ref: '#/components/schemas/Project_Get' - default: - $ref: '#/components/responses/Error' - operationId: Get_v1_iam_projects_ProjectUuid - put: - summary: Update Project - tags: - - Project - parameters: - - name: ProjectUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Project_Update - content: - application/json: - schema: - $ref: '#/components/schemas/Project_Update' - default: - $ref: '#/components/responses/Error' - operationId: Update_v1_iam_projects_ProjectUuid - requestBody: - description: Project_Update - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/Project_Update' - delete: - summary: Delete Project - tags: - - Project - parameters: - - name: ProjectUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '204': - description: Project_Delete - default: - $ref: '#/components/responses/Error' - operationId: Delete_v1_iam_projects_ProjectUuid - /v1/iam/role_bindings/: - get: - summary: Get RoleBindings - tags: - - RoleBinding - parameters: - - name: uuid - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - - name: created_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: updated_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: status - in: query - schema: - type: string - enum: - - ACTIVE - - ERROR - - IN_PROGRESS - - NEW - example: NEW - readOnly: true - default: NEW - - name: project - in: query - schema: - type: string - default: - - name: user - in: query - schema: - type: string - minLength: 1 - maxLength: 64 - example: any_string - - name: role - in: query - schema: - type: string - responses: - '200': - description: RoleBinding_Filter - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/RoleBinding_Filter' - default: - $ref: '#/components/responses/Error' - operationId: Filter_v1_iam_role_bindings - post: - summary: Create RoleBinding - tags: - - RoleBinding - parameters: [] - responses: - '201': - description: RoleBinding_Create - content: - application/json: - schema: - $ref: '#/components/schemas/RoleBinding_Create' - default: - $ref: '#/components/responses/Error' - operationId: Create_v1_iam_role_bindings - requestBody: - description: RoleBinding_Create - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/RoleBinding_Create' - /v1/iam/role_bindings/{RoleBindingUuid}: - get: - summary: Get RoleBinding - tags: - - RoleBinding - parameters: - - name: RoleBindingUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: RoleBinding_Get - content: - application/json: - schema: - $ref: '#/components/schemas/RoleBinding_Get' - default: - $ref: '#/components/responses/Error' - operationId: Get_v1_iam_role_bindings_RoleBindingUuid - put: - summary: Update RoleBinding - tags: - - RoleBinding - parameters: - - name: RoleBindingUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: RoleBinding_Update - content: - application/json: - schema: - $ref: '#/components/schemas/RoleBinding_Update' - default: - $ref: '#/components/responses/Error' - operationId: Update_v1_iam_role_bindings_RoleBindingUuid - requestBody: - description: RoleBinding_Update - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/RoleBinding_Update' - delete: - summary: Delete RoleBinding - tags: - - RoleBinding - parameters: - - name: RoleBindingUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '204': - description: RoleBinding_Delete - default: - $ref: '#/components/responses/Error' - operationId: Delete_v1_iam_role_bindings_RoleBindingUuid - /v1/iam/roles/: - get: - summary: Get Roles - tags: - - Role - parameters: - - name: uuid - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - - name: name - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: description - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: created_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: updated_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: status - in: query - schema: - type: string - enum: - - ACTIVE - - ERROR - - IN_PROGRESS - - NEW - example: NEW - readOnly: true - default: NEW - - name: project_id - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - responses: - '200': - description: Role_Filter - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/Role_Filter' - default: - $ref: '#/components/responses/Error' - operationId: Filter_v1_iam_roles - post: - summary: Create Role - tags: - - Role - parameters: [] - responses: - '201': - description: Role_Create - content: - application/json: - schema: - $ref: '#/components/schemas/Role_Create' - default: - $ref: '#/components/responses/Error' - operationId: Create_v1_iam_roles - requestBody: - description: Role_Create - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/Role_Create' - /v1/iam/roles/{RoleUuid}: - get: - summary: Get Role - tags: - - Role - parameters: - - name: RoleUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Role_Get - content: - application/json: - schema: - $ref: '#/components/schemas/Role_Get' - default: - $ref: '#/components/responses/Error' - operationId: Get_v1_iam_roles_RoleUuid - put: - summary: Update Role - tags: - - Role - parameters: - - name: RoleUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Role_Update - content: - application/json: - schema: - $ref: '#/components/schemas/Role_Update' - default: - $ref: '#/components/responses/Error' - operationId: Update_v1_iam_roles_RoleUuid - requestBody: - description: Role_Update - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/Role_Update' - delete: - summary: Delete Role - tags: - - Role - parameters: - - name: RoleUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '204': - description: Role_Delete - default: - $ref: '#/components/responses/Error' - operationId: Delete_v1_iam_roles_RoleUuid - /v1/iam/users/: - get: - summary: Get Users - tags: - - User - parameters: - - name: uuid - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - - name: username - in: query - schema: - type: string - pattern: ^(?!\s)[\w!#$%& \'*+/=?^_`{|}~.-]+(?!\s)$ - example: ^(?!\s)[\w!#$%& \'*+/=?^_`{|}~.-]+(?!\s)$ - - name: description - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: created_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: updated_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: salt - in: query - schema: - type: string - minLength: 24 - maxLength: 24 - example: ssssssssssssssssssssssss - - name: secret_hash - in: query - schema: - type: string - minLength: 128 - maxLength: 128 - example: - ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss - - name: status - in: query - schema: - type: string - enum: - - ACTIVE - - ERROR - - IN_PROGRESS - - NEW - example: NEW - readOnly: true - default: NEW - - name: first_name - in: query - schema: - type: string - pattern: ^.*$ - example: ^.*$ - nullable: true - - name: last_name - in: query - schema: - type: string - pattern: ^.*$ - example: ^.*$ - nullable: true - - name: surname - in: query - schema: - type: string - pattern: ^.*$ - example: ^.*$ - default: '' - - name: phone - in: query - schema: - type: string - minLength: 0 - maxLength: 15 - example: any_string - default: - - name: email - in: query - schema: - type: string - minLength: 5 - maxLength: 254 - example: user@example.com - - name: email_verified - in: query - schema: - type: boolean - example: true - default: false - - name: registration_client - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - nullable: true - - name: confirmation_code - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - nullable: true - - name: confirmation_code_made_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - nullable: true - - name: otp_secret - in: query - schema: - type: string - minLength: 0 - maxLength: 128 - example: any_string - default: '' - - name: otp_enabled - in: query - schema: - type: boolean - example: true - default: false - - name: password - in: query - schema: - type: string - minLength: 5 - maxLength: 128 - example: any_string - responses: - '200': - description: User_Filter - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/User_Filter' - default: - $ref: '#/components/responses/Error' - operationId: Filter_v1_iam_users - post: - summary: Create User - tags: - - User - parameters: [] - responses: - '201': - description: User_Create - content: - application/json: - schema: - $ref: '#/components/schemas/User_Create' - default: - $ref: '#/components/responses/Error' - operationId: Create_v1_iam_users - requestBody: - description: User_Create - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/User_Create' - /v1/iam/users/{UserUuid}: - get: - summary: Get User - tags: - - User - parameters: - - name: UserUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: User_Get - content: - application/json: - schema: - $ref: '#/components/schemas/User_Get' - default: - $ref: '#/components/responses/Error' - operationId: Get_v1_iam_users_UserUuid - put: - summary: Update User - tags: - - User - parameters: - - name: UserUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: User_Update - content: - application/json: - schema: - $ref: '#/components/schemas/User_Update' - default: - $ref: '#/components/responses/Error' - operationId: Update_v1_iam_users_UserUuid - requestBody: - description: User_Update - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/User_Update' - delete: - summary: Delete User - tags: - - User - parameters: - - name: UserUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '204': - description: User_Delete - default: - $ref: '#/components/responses/Error' - operationId: Delete_v1_iam_users_UserUuid - /v1/iam/users/{UserUuid}/actions/activate_otp/invoke: - post: - summary: Activate_otp User - tags: - - User - parameters: - - name: UserUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Get nested urls - content: - application/json: - schema: {} - default: - $ref: '#/components/responses/Error' - operationId: - Activate_otp_v1_iam_users_UserUuid_actions_activate_otp_invoke - /v1/iam/users/{UserUuid}/actions/change_password/invoke: - post: - summary: Change_password User - tags: - - User - parameters: - - name: UserUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Get nested urls - content: - application/json: - schema: {} - default: - $ref: '#/components/responses/Error' - operationId: - Change_password_v1_iam_users_UserUuid_actions_change_password_invoke - /v1/iam/users/{UserUuid}/actions/confirm_email/invoke: - post: - summary: Confirm_email User - tags: - - User - parameters: - - name: UserUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Get nested urls - content: - application/json: - schema: {} - default: - $ref: '#/components/responses/Error' - operationId: - Confirm_email_v1_iam_users_UserUuid_actions_confirm_email_invoke - /v1/iam/users/{UserUuid}/actions/disable_otp/invoke: - post: - summary: Disable_otp User - tags: - - User - parameters: - - name: UserUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Get nested urls - content: - application/json: - schema: {} - default: - $ref: '#/components/responses/Error' - operationId: Disable_otp_v1_iam_users_UserUuid_actions_disable_otp_invoke - /v1/iam/users/{UserUuid}/actions/enable_otp/invoke: - post: - summary: Enable_otp User - tags: - - User - parameters: - - name: UserUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Get nested urls - content: - application/json: - schema: {} - default: - $ref: '#/components/responses/Error' - operationId: Enable_otp_v1_iam_users_UserUuid_actions_enable_otp_invoke - /v1/iam/users/{UserUuid}/actions/force_confirm_email/invoke: - post: - summary: Force_confirm_email User - tags: - - User - parameters: - - name: UserUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Get nested urls - content: - application/json: - schema: {} - default: - $ref: '#/components/responses/Error' - operationId: - Force_confirm_email_v1_iam_users_UserUuid_actions_force_confirm_email_invoke - /v1/iam/users/{UserUuid}/actions/get_my_roles: - get: - summary: Get_my_roles User - tags: - - User - parameters: - - name: UserUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Get nested urls - content: - application/json: - schema: {} - default: - $ref: '#/components/responses/Error' - operationId: Get_my_roles_v1_iam_users_UserUuid_actions_get_my_roles - /v1/iam/users/{UserUuid}/actions/resend_email_confirmation/invoke: - post: - summary: Resend_email_confirmation User - tags: - - User - parameters: - - name: UserUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Get nested urls - content: - application/json: - schema: {} - default: - $ref: '#/components/responses/Error' - operationId: - Resend_email_confirmation_v1_iam_users_UserUuid_actions_resend_email_confirmation_invoke - /v1/iam/users/{UserUuid}/actions/reset_password/invoke: - post: - summary: Reset user password - tags: - - User - parameters: - - name: UserUuid - description: '' - in: path - schema: - type: string - required: true - responses: - '200': - description: User - content: - application/json: - schema: - $ref: '#/components/schemas/User' - default: - $ref: '#/components/responses/Error' - operationId: - Reset_password_v1_iam_users_UserUuid_actions_reset_password_invoke - requestBody: - description: New password and optional confirmation code. Either a valid - reset code (from email) or the `iam.user.reset_password` permission is - required. - required: true - content: - application/json: - schema: - type: object - required: - - new_password - properties: - new_password: - type: string - description: New password for the user - example: MyNewP@ssw0rd - code: - type: string - format: uuid - description: Confirmation code received via email. Required - when caller does not have `iam.user.reset_password` - permission. - example: 550e8400-e29b-41d4-a716-446655440000 - /v1/network/: - get: - summary: Returns a list of all routes in the main route that are - collection - tags: [] - parameters: - - name: filters - description: "the filters to apply when filtering the routes (Is not\nimplemented - now)\n" - schema: - type: string - in: query - - name: order_by - description: "fields to order the routes by (Is not implemented\nnow)\n" - schema: - type: string - in: query - responses: - '200': - description: Get nested urls - content: - application/json: - schema: - type: array - items: - type: string - default: - $ref: '#/components/responses/Error' - operationId: Filter_v1_network - /v1/network/border/: - get: - summary: Get Borders - tags: - - Border - parameters: - - name: uuid - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - - name: name - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: description - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: created_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: updated_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: project_id - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - - name: status - in: query - schema: - type: string - enum: - - ACTIVE - - ERROR - - IN_PROGRESS - - NEW - example: NEW - readOnly: true - default: NEW - - name: node - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - nullable: true - responses: - '200': - description: Border_Filter - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/Border_Filter' - default: - $ref: '#/components/responses/Error' - operationId: Filter_v1_network_border - post: - summary: Create Border - tags: - - Border - parameters: [] - responses: - '201': - description: Border_Create - content: - application/json: - schema: - $ref: '#/components/schemas/Border_Create' - default: - $ref: '#/components/responses/Error' - operationId: Create_v1_network_border - requestBody: - description: Border_Create - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/Border_Create' - /v1/network/border/{BorderUuid}: - get: - summary: Get Border - tags: - - Border - parameters: - - name: BorderUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Border_Get - content: - application/json: - schema: - $ref: '#/components/schemas/Border_Get' - default: - $ref: '#/components/responses/Error' - operationId: Get_v1_network_border_BorderUuid - put: - summary: Update Border - tags: - - Border - parameters: - - name: BorderUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Border_Update - content: - application/json: - schema: - $ref: '#/components/schemas/Border_Update' - default: - $ref: '#/components/responses/Error' - operationId: Update_v1_network_border_BorderUuid - requestBody: - description: Border_Update - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/Border_Update' - delete: - summary: Delete Border - tags: - - Border - parameters: - - name: BorderUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '204': - description: Border_Delete - default: - $ref: '#/components/responses/Error' - operationId: Delete_v1_network_border_BorderUuid - /v1/network/lb/: - get: - summary: Get LBs - tags: - - LB - parameters: - - name: uuid - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - - name: name - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: description - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: created_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: updated_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: project_id - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - - name: status - in: query - schema: - type: string - enum: - - ACTIVE - - ERROR - - IN_PROGRESS - - NEW - example: NEW - readOnly: true - default: NEW - responses: - '200': - description: LB_Filter - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/LB_Filter' - default: - $ref: '#/components/responses/Error' - operationId: Filter_v1_network_lb - post: - summary: Create LB - tags: - - LB - parameters: [] - responses: - '201': - description: LB_Create - content: - application/json: - schema: - $ref: '#/components/schemas/LB_Create' - default: - $ref: '#/components/responses/Error' - operationId: Create_v1_network_lb - requestBody: - description: LB_Create - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/LB_Create' - /v1/network/lb/{LBUuid}: - get: - summary: Get LB - tags: - - LB - parameters: - - name: LBUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: LB_Get - content: - application/json: - schema: - $ref: '#/components/schemas/LB_Get' - default: - $ref: '#/components/responses/Error' - operationId: Get_v1_network_lb_LBUuid - put: - summary: Update LB - tags: - - LB - parameters: - - name: LBUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: LB_Update - content: - application/json: - schema: - $ref: '#/components/schemas/LB_Update' - default: - $ref: '#/components/responses/Error' - operationId: Update_v1_network_lb_LBUuid - requestBody: - description: LB_Update - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/LB_Update' - delete: - summary: Delete LB - tags: - - LB - parameters: - - name: LBUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '204': - description: LB_Delete - default: - $ref: '#/components/responses/Error' - operationId: Delete_v1_network_lb_LBUuid - /v1/network/lb/{LBUuid}/backend_pools/: - get: - summary: Get BackendPools - tags: - - BackendPool - parameters: - - name: LBUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: BackendPool_Filter - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/BackendPool_Filter' - default: - $ref: '#/components/responses/Error' - operationId: Filter_v1_network_lb_LBUuid_backend_pools - post: - summary: Create BackendPool - tags: - - BackendPool - parameters: - - name: LBUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '201': - description: BackendPool_Create - content: - application/json: - schema: - $ref: '#/components/schemas/BackendPool_Create' - default: - $ref: '#/components/responses/Error' - operationId: Create_v1_network_lb_LBUuid_backend_pools - requestBody: - description: BackendPool_Create - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/BackendPool_Create' - /v1/network/lb/{LBUuid}/backend_pools/{BackendPoolUuid}: - get: - summary: Get BackendPool - tags: - - BackendPool - parameters: - - name: LBUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - - name: BackendPoolUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: BackendPool_Get - content: - application/json: - schema: - $ref: '#/components/schemas/BackendPool_Get' - default: - $ref: '#/components/responses/Error' - operationId: Get_v1_network_lb_LBUuid_backend_pools_BackendPoolUuid - put: - summary: Update BackendPool - tags: - - BackendPool - parameters: - - name: LBUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - - name: BackendPoolUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: BackendPool_Update - content: - application/json: - schema: - $ref: '#/components/schemas/BackendPool_Update' - default: - $ref: '#/components/responses/Error' - operationId: Update_v1_network_lb_LBUuid_backend_pools_BackendPoolUuid - requestBody: - description: BackendPool_Update - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/BackendPool_Update' - delete: - summary: Delete BackendPool - tags: - - BackendPool - parameters: - - name: LBUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - - name: BackendPoolUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '204': - description: BackendPool_Delete - default: - $ref: '#/components/responses/Error' - operationId: Delete_v1_network_lb_LBUuid_backend_pools_BackendPoolUuid - /v1/network/lb/{LBUuid}/vhosts/: - get: - summary: Get Vhosts - tags: - - Vhost - parameters: - - name: LBUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Vhost_Filter - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/Vhost_Filter' - default: - $ref: '#/components/responses/Error' - operationId: Filter_v1_network_lb_LBUuid_vhosts - post: - summary: Create Vhost - tags: - - Vhost - parameters: - - name: LBUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '201': - description: Vhost_Create - content: - application/json: - schema: - $ref: '#/components/schemas/Vhost_Create' - default: - $ref: '#/components/responses/Error' - operationId: Create_v1_network_lb_LBUuid_vhosts - requestBody: - description: Vhost_Create - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/Vhost_Create' - /v1/network/lb/{LBUuid}/vhosts/{VhostUuid}: - get: - summary: Get Vhost - tags: - - Vhost - parameters: - - name: LBUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - - name: VhostUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Vhost_Get - content: - application/json: - schema: - $ref: '#/components/schemas/Vhost_Get' - default: - $ref: '#/components/responses/Error' - operationId: Get_v1_network_lb_LBUuid_vhosts_VhostUuid - put: - summary: Update Vhost - tags: - - Vhost - parameters: - - name: LBUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - - name: VhostUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Vhost_Update - content: - application/json: - schema: - $ref: '#/components/schemas/Vhost_Update' - default: - $ref: '#/components/responses/Error' - operationId: Update_v1_network_lb_LBUuid_vhosts_VhostUuid - requestBody: - description: Vhost_Update - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/Vhost_Update' - delete: - summary: Delete Vhost - tags: - - Vhost - parameters: - - name: LBUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - - name: VhostUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '204': - description: Vhost_Delete - default: - $ref: '#/components/responses/Error' - operationId: Delete_v1_network_lb_LBUuid_vhosts_VhostUuid - /v1/network/lb/{LBUuid}/vhosts/{VhostUuid}/routes/: - get: - summary: Get Routes - tags: - - Route - parameters: - - name: LBUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - - name: VhostUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Route_Filter - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/Route_Filter' - default: - $ref: '#/components/responses/Error' - operationId: Filter_v1_network_lb_LBUuid_vhosts_VhostUuid_routes - post: - summary: Create Route - tags: - - Route - parameters: - - name: LBUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - - name: VhostUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '201': - description: Route_Create - content: - application/json: - schema: - $ref: '#/components/schemas/Route_Create' - default: - $ref: '#/components/responses/Error' - operationId: Create_v1_network_lb_LBUuid_vhosts_VhostUuid_routes - requestBody: - description: Route_Create - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/Route_Create' - /v1/network/lb/{LBUuid}/vhosts/{VhostUuid}/routes/{RouteUuid}: - get: - summary: Get Route - tags: - - Route - parameters: - - name: LBUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - - name: VhostUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - - name: RouteUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Route_Get - content: - application/json: - schema: - $ref: '#/components/schemas/Route_Get' - default: - $ref: '#/components/responses/Error' - operationId: Get_v1_network_lb_LBUuid_vhosts_VhostUuid_routes_RouteUuid - put: - summary: Update Route - tags: - - Route - parameters: - - name: LBUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - - name: VhostUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - - name: RouteUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Route_Update - content: - application/json: - schema: - $ref: '#/components/schemas/Route_Update' - default: - $ref: '#/components/responses/Error' - operationId: Update_v1_network_lb_LBUuid_vhosts_VhostUuid_routes_RouteUuid - requestBody: - description: Route_Update - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/Route_Update' - delete: - summary: Delete Route - tags: - - Route - parameters: - - name: LBUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - - name: VhostUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - - name: RouteUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '204': - description: Route_Delete - default: - $ref: '#/components/responses/Error' - operationId: Delete_v1_network_lb_LBUuid_vhosts_VhostUuid_routes_RouteUuid - /v1/repo/: - get: - summary: Returns a list of all routes in the main route that are - collection - tags: [] - parameters: - - name: filters - description: "the filters to apply when filtering the routes (Is not\nimplemented - now)\n" - schema: - type: string - in: query - - name: order_by - description: "fields to order the routes by (Is not implemented\nnow)\n" - schema: - type: string - in: query - responses: - '200': - description: Get nested urls - content: - application/json: - schema: - type: array - items: - type: string - default: - $ref: '#/components/responses/Error' - operationId: Filter_v1_repo - /v1/repo/elements/: - get: - summary: Get RepoElements - tags: - - RepoElement - parameters: - - name: uuid - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - - name: name - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: description - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: created_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: updated_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: project_id - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - - name: repository - in: query - schema: - type: string - - name: version - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - - name: status - in: query - schema: - type: string - enum: - - ACTIVE - - ERROR - - IN_PROGRESS - - NEW - example: NEW - readOnly: true - default: NEW - - name: installation_state - in: query - schema: - type: string - enum: - - INSTALLED - - UNINSTALLED - example: INSTALLED - default: UNINSTALLED - - name: element - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - nullable: true - responses: - '200': - description: RepoElement_Filter - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/RepoElement_Filter' - default: - $ref: '#/components/responses/Error' - operationId: Filter_v1_repo_elements - /v1/repo/elements/{RepoElementUuid}: - get: - summary: Get RepoElement - tags: - - RepoElement - parameters: - - name: RepoElementUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: RepoElement_Get - content: - application/json: - schema: - $ref: '#/components/schemas/RepoElement_Get' - default: - $ref: '#/components/responses/Error' - operationId: Get_v1_repo_elements_RepoElementUuid - delete: - summary: Delete RepoElement - tags: - - RepoElement - parameters: - - name: RepoElementUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '204': - description: RepoElement_Delete - default: - $ref: '#/components/responses/Error' - operationId: Delete_v1_repo_elements_RepoElementUuid - /v1/repo/elements/{RepoElementUuid}/actions/edit/invoke: - post: - summary: Edit RepoElement - tags: - - RepoElement - parameters: - - name: RepoElementUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Get nested urls - content: - application/json: - schema: {} - default: - $ref: '#/components/responses/Error' - operationId: Edit_v1_repo_elements_RepoElementUuid_actions_edit_invoke - /v1/repo/elements/{RepoElementUuid}/actions/install/invoke: - post: - summary: Install RepoElement - tags: - - RepoElement - parameters: - - name: RepoElementUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Get nested urls - content: - application/json: - schema: {} - default: - $ref: '#/components/responses/Error' - operationId: - Install_v1_repo_elements_RepoElementUuid_actions_install_invoke - /v1/repo/elements/{RepoElementUuid}/actions/uninstall/invoke: - post: - summary: Uninstall RepoElement - tags: - - RepoElement - parameters: - - name: RepoElementUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Get nested urls - content: - application/json: - schema: {} - default: - $ref: '#/components/responses/Error' - operationId: - Uninstall_v1_repo_elements_RepoElementUuid_actions_uninstall_invoke - /v1/repo/elements/{RepoElementUuid}/actions/upgrade/invoke: - post: - summary: Upgrade RepoElement - tags: - - RepoElement - parameters: - - name: RepoElementUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Get nested urls - content: - application/json: - schema: {} - default: - $ref: '#/components/responses/Error' - operationId: - Upgrade_v1_repo_elements_RepoElementUuid_actions_upgrade_invoke - /v1/repo/repositories/: - get: - summary: Get Repositorys - tags: - - Repository - parameters: - - name: uuid - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - - name: name - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: description - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: created_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: updated_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: project_id - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - - name: status - in: query - schema: - type: string - enum: - - ACTIVE - - ERROR - - IN_PROGRESS - - NEW - example: NEW - readOnly: true - default: NEW - - name: priority - in: query - schema: - type: integer - minimum: 0 - maximum: 16384 - example: 8192 - default: 8192 - - name: refresh_rate - in: query - schema: - type: integer - minimum: 0 - maximum: 9223372036854775807 - example: 0 - default: 3600 - - name: sync_mode - in: query - schema: - type: string - enum: - - copy - - lazy - example: copy - default: lazy - - name: next_refresh - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - default: '2006-01-02T15:04:05.000576Z' - responses: - '200': - description: Repository_Filter - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/Repository_Filter' - default: - $ref: '#/components/responses/Error' - operationId: Filter_v1_repo_repositories - post: - summary: Create Repository - tags: - - Repository - parameters: [] - responses: - '201': - description: Repository_Create - content: - application/json: - schema: - $ref: '#/components/schemas/Repository_Create' - default: - $ref: '#/components/responses/Error' - operationId: Create_v1_repo_repositories - requestBody: - description: Repository_Create - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/Repository_Create' - /v1/repo/repositories/{RepositoryUuid}: - get: - summary: Get Repository - tags: - - Repository - parameters: - - name: RepositoryUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Repository_Get - content: - application/json: - schema: - $ref: '#/components/schemas/Repository_Get' - default: - $ref: '#/components/responses/Error' - operationId: Get_v1_repo_repositories_RepositoryUuid - put: - summary: Update Repository - tags: - - Repository - parameters: - - name: RepositoryUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Repository_Update - content: - application/json: - schema: - $ref: '#/components/schemas/Repository_Update' - default: - $ref: '#/components/responses/Error' - operationId: Update_v1_repo_repositories_RepositoryUuid - requestBody: - description: Repository_Update - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/Repository_Update' - delete: - summary: Delete Repository - tags: - - Repository - parameters: - - name: RepositoryUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '204': - description: Repository_Delete - default: - $ref: '#/components/responses/Error' - operationId: Delete_v1_repo_repositories_RepositoryUuid - /v1/repo/repositories/{RepositoryUuid}/actions/refresh/invoke: - post: - summary: Refresh Repository - tags: - - Repository - parameters: - - name: RepositoryUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Get nested urls - content: - application/json: - schema: {} - default: - $ref: '#/components/responses/Error' - operationId: - Refresh_v1_repo_repositories_RepositoryUuid_actions_refresh_invoke - /v1/repo/repositories/{RepositoryUuid}/actions/upload/invoke: - post: - summary: Upload Repository - tags: - - Repository - parameters: - - name: RepositoryUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Get nested urls - content: - application/json: - schema: {} - default: - $ref: '#/components/responses/Error' - operationId: - Upload_v1_repo_repositories_RepositoryUuid_actions_upload_invoke - /v1/secret/: - get: - summary: Returns a list of all routes in the main route that are - collection - tags: [] - parameters: - - name: filters - description: "the filters to apply when filtering the routes (Is not\nimplemented - now)\n" - schema: - type: string - in: query - - name: order_by - description: "fields to order the routes by (Is not implemented\nnow)\n" - schema: - type: string - in: query - responses: - '200': - description: Get nested urls - content: - application/json: - schema: - type: array - items: - type: string - default: - $ref: '#/components/responses/Error' - operationId: Filter_v1_secret - /v1/secret/certificates/: - get: - summary: Get Certificates - tags: - - Certificate - parameters: - - name: uuid - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - - name: created_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: updated_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: project_id - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - - name: name - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: description - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: status - in: query - schema: - type: string - enum: - - ACTIVE - - ERROR - - IN_PROGRESS - - NEW - example: NEW - readOnly: true - default: NEW - - name: method - in: query - schema: - type: string - enum: - - AUTO_HEX - - AUTO_URL_SAFE - - MANUAL - example: AUTO_HEX - default: AUTO_HEX - - name: expiration_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - nullable: true - - name: email - in: query - schema: - type: string - minLength: 5 - maxLength: 254 - example: user@example.com - - name: key - in: query - schema: - type: string - minLength: 1 - maxLength: 10240 - example: any_string - readOnly: true - nullable: true - - name: cert - in: query - schema: - type: string - minLength: 1 - maxLength: 10240 - example: any_string - readOnly: true - nullable: true - - name: expiration_threshold - in: query - schema: - type: integer - minimum: 0 - maximum: 9223372036854775807 - example: 0 - default: 14 - - name: overcome_threshold - in: query - schema: - type: boolean - example: true - default: false - responses: - '200': - description: Certificate_Filter - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/Certificate_Filter' - default: - $ref: '#/components/responses/Error' - operationId: Filter_v1_secret_certificates - post: - summary: Create Certificate - tags: - - Certificate - parameters: [] - responses: - '201': - description: Certificate_Create - content: - application/json: - schema: - $ref: '#/components/schemas/Certificate_Create' - default: - $ref: '#/components/responses/Error' - operationId: Create_v1_secret_certificates - requestBody: - description: Certificate_Create - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/Certificate_Create' - /v1/secret/certificates/{CertificateUuid}: - get: - summary: Get Certificate - tags: - - Certificate - parameters: - - name: CertificateUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Certificate_Get - content: - application/json: - schema: - $ref: '#/components/schemas/Certificate_Get' - default: - $ref: '#/components/responses/Error' - operationId: Get_v1_secret_certificates_CertificateUuid - put: - summary: Update Certificate - tags: - - Certificate - parameters: - - name: CertificateUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Certificate_Update - content: - application/json: - schema: - $ref: '#/components/schemas/Certificate_Update' - default: - $ref: '#/components/responses/Error' - operationId: Update_v1_secret_certificates_CertificateUuid - requestBody: - description: Certificate_Update - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/Certificate_Update' - delete: - summary: Delete Certificate - tags: - - Certificate - parameters: - - name: CertificateUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '204': - description: Certificate_Delete - default: - $ref: '#/components/responses/Error' - operationId: Delete_v1_secret_certificates_CertificateUuid - /v1/secret/passwords/: - get: - summary: Get Passwords - tags: - - Password - parameters: - - name: uuid - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - - name: created_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: updated_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: project_id - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - - name: name - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: description - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: status - in: query - schema: - type: string - enum: - - ACTIVE - - ERROR - - IN_PROGRESS - - NEW - example: NEW - readOnly: true - default: NEW - - name: method - in: query - schema: - type: string - enum: - - AUTO_HEX - - AUTO_URL_SAFE - - MANUAL - example: AUTO_HEX - default: AUTO_HEX - - name: default_length - in: query - schema: - type: integer - minimum: 1 - maximum: 512 - example: 256 - default: 32 - - name: value - in: query - schema: - oneOf: - - type: string - - type: integer - - type: array - - type: boolean - - type: object - example: string - readOnly: true - nullable: true + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + unique-field: + name: unique-field + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-after: + name: name-after + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-any: + name: name-any + in: query + schema: + oneOf: + - type: string + - type: integer + - type: array + - type: boolean + - type: object + example: string + permission-field: + name: permission-field + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + IpAddressUuid: + name: IpAddressUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + ip: + name: ip + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + default: 192.168.0.1 + port: + name: port + in: query + schema: + type: string + TagUuid: + name: TagUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + TagName: + name: TagName + in: path + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + required: true + visible: + name: visible + in: query + schema: + type: boolean + example: true + default: true + VMDefSortUuid: + name: VMDefSortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + VMNoProcessFiltersUuid: + name: VMNoProcessFiltersUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + VMNoSortUuid: + name: VMNoSortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true +paths: + /: + get: + summary: Base application url responses: '200': - description: Password_Filter + description: Get nested urls content: application/json: schema: type: array items: - $ref: '#/components/schemas/Password_Filter' + type: string default: $ref: '#/components/responses/Error' - operationId: Filter_v1_secret_passwords - post: - summary: Create Password - tags: - - Password + operationId: Get_urls + /specifications/: + get: + summary: Get OpenApiSpecificationRoute OpenApiSpecificationControllers + tags: [] parameters: [] responses: - '201': - description: Password_Create + '200': + description: Get nested urls content: application/json: schema: - $ref: '#/components/schemas/Password_Create' + type: array + items: + type: string default: $ref: '#/components/responses/Error' - operationId: Create_v1_secret_passwords - requestBody: - description: Password_Create - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/Password_Create' - /v1/secret/passwords/{PasswordUuid}: + operationId: Filter_specifications + /specifications/3.0.3: get: - summary: Get Password - tags: - - Password - parameters: - - name: PasswordUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true + summary: OpenApi specification + tags: [] + parameters: [] responses: '200': - description: Password_Get + description: OpenApi specification content: application/json: schema: - $ref: '#/components/schemas/Password_Get' + type: object + properties: {} default: $ref: '#/components/responses/Error' - operationId: Get_v1_secret_passwords_PasswordUuid - put: - summary: Update Password - tags: - - Password + operationId: Get_OpenApi_specification + /specifications/3.1.0: + get: + summary: OpenApi specification + tags: [] + parameters: [] + responses: + '200': + description: OpenApi specification + content: + application/json: + schema: + type: object + properties: {} + default: + $ref: '#/components/responses/Error' + operationId: Get_OpenApi_specification + /v1/: + get: + summary: Returns a list of all routes in the main route that are + collection + tags: [] parameters: - - name: PasswordUuid - in: path + - name: filters + description: "the filters to apply when filtering the routes (Is not\nimplemented + now)\n" schema: type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true + in: query + - name: order_by + description: "fields to order the routes by (Is not implemented\nnow)\n" + schema: + type: string + in: query + responses: + '200': + description: Get nested urls + content: + application/json: + schema: + type: array + items: + type: string + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1 + /v1/notimplementedmethods/: + get: + summary: method filter was implemented for testing base error message + tags: [] + parameters: [] responses: '200': - description: Password_Update + description: Get nested urls + content: + application/json: + schema: + type: array + items: + type: string + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_notimplementedmethods + post: + summary: Create NotImplementedMethodsRoute NotImplementedMethodsController + tags: [] + parameters: [] + responses: + '201': + description: Unknown_Create content: application/json: schema: - $ref: '#/components/schemas/Password_Update' + $ref: '#/components/schemas/Unknown_Create' default: $ref: '#/components/responses/Error' - operationId: Update_v1_secret_passwords_PasswordUuid + operationId: Create_v1_notimplementedmethods requestBody: - description: Password_Update + description: Unknown_Create required: true content: application/json: schema: - $ref: '#/components/schemas/Password_Update' - delete: - summary: Delete Password - tags: - - Password - parameters: - - name: PasswordUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '204': - description: Password_Delete - default: - $ref: '#/components/responses/Error' - operationId: Delete_v1_secret_passwords_PasswordUuid - /v1/secret/rsa_keys/: + $ref: '#/components/schemas/Unknown_Create' + /v1/vms/: get: - summary: Get RSAKeys + summary: Get VMs tags: - - RSAKey + - VM parameters: - - name: uuid - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - - name: created_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: updated_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: project_id + - name: state in: query schema: type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true + minLength: 0 + maxLength: 10 + example: any_string + default: off - name: name in: query schema: @@ -29528,95 +1553,84 @@ paths: minLength: 0 maxLength: 255 example: any_string - default: '' - - name: description + examples: + - testname + - name: just-none in: query schema: - type: string + type: + - string + - 'null' minLength: 0 - maxLength: 255 + maxLength: 9223372036854775807 example: any_string - default: '' - name: status in: query schema: type: string enum: - - ACTIVE - - ERROR - - IN_PROGRESS - - NEW - example: NEW - readOnly: true - default: NEW - - name: private_key - in: query - schema: - type: string - minLength: 1 - maxLength: 32768 - example: any_string - readOnly: true - - name: public_key + - active + - disabled + example: active + default: active + - name: created in: query schema: type: string - minLength: 1 - maxLength: 16384 - example: any_string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time readOnly: true - - name: bitness + default: '2006-01-02T15:04:05.000576Z' + - name: updated in: query schema: type: string - enum: - - 2048 - - 3072 - - 4096 - example: 2048 - readOnly: true - default: 2048 + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' responses: '200': - description: RSAKey_Filter + description: VM_Filter content: application/json: schema: type: array items: - $ref: '#/components/schemas/RSAKey_Filter' + $ref: '#/components/schemas/VM_Filter' default: $ref: '#/components/responses/Error' - operationId: Filter_v1_secret_rsa_keys + operationId: Filter_v1_vms post: - summary: Create RSAKey + summary: Create VM resource tags: - - RSAKey + - VM parameters: [] responses: '201': - description: RSAKey_Create + description: VM_Create content: application/json: schema: - $ref: '#/components/schemas/RSAKey_Create' + $ref: '#/components/schemas/VM_Create' default: $ref: '#/components/responses/Error' - operationId: Create_v1_secret_rsa_keys + operationId: Create_v1_vms requestBody: - description: RSAKey_Create + description: VM_Create required: true content: application/json: schema: - $ref: '#/components/schemas/RSAKey_Create' - /v1/secret/rsa_keys/{RSAKeyUuid}: + $ref: '#/components/schemas/VM_Create' + /v1/vms/{VMUuid}: get: - summary: Get RSAKey + summary: Get VM tags: - - RSAKey + - VM parameters: - - name: RSAKeyUuid + - name: VMUuid in: path schema: type: string @@ -29626,20 +1640,20 @@ paths: required: true responses: '200': - description: RSAKey_Get + description: VM_Get content: application/json: schema: - $ref: '#/components/schemas/RSAKey_Get' + $ref: '#/components/schemas/VM_Get' default: $ref: '#/components/responses/Error' - operationId: Get_v1_secret_rsa_keys_RSAKeyUuid + operationId: Get_v1_vms_VMUuid put: - summary: Update RSAKey + summary: Update VM tags: - - RSAKey + - VM parameters: - - name: RSAKeyUuid + - name: VMUuid in: path schema: type: string @@ -29649,27 +1663,27 @@ paths: required: true responses: '200': - description: RSAKey_Update + description: VM_Update content: application/json: schema: - $ref: '#/components/schemas/RSAKey_Update' + $ref: '#/components/schemas/VM_Update' default: $ref: '#/components/responses/Error' - operationId: Update_v1_secret_rsa_keys_RSAKeyUuid + operationId: Update_v1_vms_VMUuid requestBody: - description: RSAKey_Update + description: VM_Update required: true content: application/json: schema: - $ref: '#/components/schemas/RSAKey_Update' + $ref: '#/components/schemas/VM_Update' delete: - summary: Delete RSAKey + summary: Delete VM tags: - - RSAKey + - VM parameters: - - name: RSAKeyUuid + - name: VMUuid in: path schema: type: string @@ -29679,140 +1693,81 @@ paths: required: true responses: '204': - description: RSAKey_Delete + description: VM_Delete default: $ref: '#/components/responses/Error' - operationId: Delete_v1_secret_rsa_keys_RSAKeyUuid - /v1/secret/ssh_keys/: + operationId: Delete_v1_vms_VMUuid + /v1/vms/{VMUuid}/none_ports/: get: - summary: Get SSHKeys + summary: Get Ports tags: - - SSHKey + - Port parameters: - - name: uuid - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - - name: created_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: updated_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: project_id - in: query + - name: VMUuid + in: path schema: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true - - name: name - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: description - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: status - in: query - schema: - type: string - enum: - - ACTIVE - - ERROR - - IN_PROGRESS - - NEW - example: NEW - readOnly: true - default: NEW - - name: user - in: query - schema: - type: string - minLength: 1 - maxLength: 64 - example: any_string - - name: authorized_keys - in: query - schema: - type: string - minLength: 1 - maxLength: 256 - example: any_string - default: .ssh/authorized_keys - - name: target_public_key - in: query - schema: - type: string - minLength: 0 - maxLength: 10240 - example: any_string - default: '' + required: true responses: '200': - description: SSHKey_Filter + description: Port_Filter content: application/json: schema: type: array items: - $ref: '#/components/schemas/SSHKey_Filter' + $ref: '#/components/schemas/Port_Filter' default: $ref: '#/components/responses/Error' - operationId: Filter_v1_secret_ssh_keys + operationId: Filter_v1_vms_VMUuid_none_ports post: - summary: Create SSHKey + summary: Create Port tags: - - SSHKey - parameters: [] + - Port + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true responses: '201': - description: SSHKey_Create + description: Port_Create content: application/json: schema: - $ref: '#/components/schemas/SSHKey_Create' + $ref: '#/components/schemas/Port_Create' default: $ref: '#/components/responses/Error' - operationId: Create_v1_secret_ssh_keys + operationId: Create_v1_vms_VMUuid_none_ports requestBody: - description: SSHKey_Create + description: Port_Create required: true content: application/json: schema: - $ref: '#/components/schemas/SSHKey_Create' - /v1/secret/ssh_keys/{SSHKeyUuid}: + $ref: '#/components/schemas/Port_Create' + /v1/vms/{VMUuid}/none_ports/{PortUuid}: get: - summary: Get SSHKey + summary: Get Port tags: - - SSHKey + - Port parameters: - - name: SSHKeyUuid + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid in: path schema: type: string @@ -29822,20 +1777,28 @@ paths: required: true responses: '200': - description: SSHKey_Get + description: Port_Get content: application/json: schema: - $ref: '#/components/schemas/SSHKey_Get' + $ref: '#/components/schemas/Port_Get' default: $ref: '#/components/responses/Error' - operationId: Get_v1_secret_ssh_keys_SSHKeyUuid + operationId: Get_v1_vms_VMUuid_none_ports_PortUuid put: - summary: Update SSHKey + summary: Update Port tags: - - SSHKey + - Port parameters: - - name: SSHKeyUuid + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid in: path schema: type: string @@ -29845,27 +1808,27 @@ paths: required: true responses: '200': - description: SSHKey_Update + description: Port_Update content: application/json: schema: - $ref: '#/components/schemas/SSHKey_Update' + $ref: '#/components/schemas/Port_Update' default: $ref: '#/components/responses/Error' - operationId: Update_v1_secret_ssh_keys_SSHKeyUuid + operationId: Update_v1_vms_VMUuid_none_ports_PortUuid requestBody: - description: SSHKey_Update + description: Port_Update required: true content: application/json: schema: - $ref: '#/components/schemas/SSHKey_Update' + $ref: '#/components/schemas/Port_Update' delete: - summary: Delete SSHKey + summary: Delete Port tags: - - SSHKey + - Port parameters: - - name: SSHKeyUuid + - name: VMUuid in: path schema: type: string @@ -29873,157 +1836,60 @@ paths: format: uuid readOnly: true required: true - responses: - '204': - description: SSHKey_Delete - default: - $ref: '#/components/responses/Error' - operationId: Delete_v1_secret_ssh_keys_SSHKeyUuid - /v1/security/: - get: - summary: Returns a list of all routes in the main route that are - collection - tags: [] - parameters: - - name: filters - description: "the filters to apply when filtering the routes (Is not\nimplemented - now)\n" - schema: - type: string - in: query - - name: order_by - description: "fields to order the routes by (Is not implemented\nnow)\n" + - name: PortUuid + in: path schema: type: string - in: query + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true responses: - '200': - description: Get nested urls - content: - application/json: - schema: - type: array - items: - type: string + '204': + description: Port_Delete default: $ref: '#/components/responses/Error' - operationId: Filter_v1_security - /v1/security/rules/: + operationId: Delete_v1_vms_VMUuid_none_ports_PortUuid + /v1/vms/{VMUuid}/none_ports/{PortUuid}/ip_addresses/: get: - summary: Get Rules + summary: Get IpAddresss tags: - - Rule + - IpAddress_tag parameters: - - name: uuid - in: query + - name: VMUuid + in: path schema: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true - - name: name - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: description - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: created_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: updated_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: status - in: query - schema: - type: string - enum: - - ACTIVE - - ERROR - - IN_PROGRESS - - NEW - example: NEW - readOnly: true - default: NEW - - name: operator - in: query - schema: - type: string - enum: - - AND - - OR - example: OR - default: OR - - name: project_id - in: query + required: true + - name: PortUuid + in: path schema: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true + required: true responses: '200': - description: Rule_Filter + description: IpAddress_Filter content: application/json: schema: type: array items: - $ref: '#/components/schemas/Rule_Filter' + $ref: '#/components/schemas/IpAddress_Filter' default: $ref: '#/components/responses/Error' - operationId: Filter_v1_security_rules + operationId: Filter_v1_vms_VMUuid_none_ports_PortUuid_ip_addresses post: - summary: Create Rule - tags: - - Rule - parameters: [] - responses: - '201': - description: Rule_Create - content: - application/json: - schema: - $ref: '#/components/schemas/Rule_Create' - default: - $ref: '#/components/responses/Error' - operationId: Create_v1_security_rules - requestBody: - description: Rule_Create - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/Rule_Create' - /v1/security/rules/{RuleUuid}: - get: - summary: Get Rule + summary: Create IpAddress tags: - - Rule + - IpAddress_tag parameters: - - name: RuleUuid + - name: VMUuid in: path schema: type: string @@ -30031,22 +1897,7 @@ paths: format: uuid readOnly: true required: true - responses: - '200': - description: Rule_Get - content: - application/json: - schema: - $ref: '#/components/schemas/Rule_Get' - default: - $ref: '#/components/responses/Error' - operationId: Get_v1_security_rules_RuleUuid - put: - summary: Update Rule - tags: - - Rule - parameters: - - name: RuleUuid + - name: PortUuid in: path schema: type: string @@ -30055,28 +1906,29 @@ paths: readOnly: true required: true responses: - '200': - description: Rule_Update + '201': + description: IpAddress_Create content: application/json: schema: - $ref: '#/components/schemas/Rule_Update' + $ref: '#/components/schemas/IpAddress_Create' default: $ref: '#/components/responses/Error' - operationId: Update_v1_security_rules_RuleUuid + operationId: Create_v1_vms_VMUuid_none_ports_PortUuid_ip_addresses requestBody: - description: Rule_Update + description: IpAddress_Create required: true content: application/json: schema: - $ref: '#/components/schemas/Rule_Update' - delete: - summary: Delete Rule + $ref: '#/components/schemas/IpAddress_Create' + /v1/vms/{VMUuid}/none_ports/{PortUuid}/ip_addresses/{IpAddressUuid}: + get: + summary: Get IpAddress tags: - - Rule + - IpAddress_tag parameters: - - name: RuleUuid + - name: VMUuid in: path schema: type: string @@ -30084,148 +1936,140 @@ paths: format: uuid readOnly: true required: true - responses: - '204': - description: Rule_Delete - default: - $ref: '#/components/responses/Error' - operationId: Delete_v1_security_rules_RuleUuid - /v1/ua/: - get: - summary: Returns a list of all routes in the main route that are - collection - tags: [] - parameters: - - name: filters - description: "the filters to apply when filtering the routes (Is not\nimplemented - now)\n" + - name: PortUuid + in: path schema: type: string - in: query - - name: order_by - description: "fields to order the routes by (Is not implemented\nnow)\n" + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: IpAddressUuid + in: path schema: type: string - in: query + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true responses: '200': - description: Get nested urls + description: IpAddress_Get content: application/json: schema: - type: array - items: - type: string + $ref: '#/components/schemas/IpAddress_Get' default: $ref: '#/components/responses/Error' - operationId: Filter_v1_ua - /v1/ua/agents/: - get: - summary: Get UniversalAgents + operationId: + Get_v1_vms_VMUuid_none_ports_PortUuid_ip_addresses_IpAddressUuid + delete: + summary: Delete IpAddress tags: - - UniversalAgent + - IpAddress_tag parameters: - - name: uuid - in: query + - name: VMUuid + in: path schema: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true - - name: name - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: description - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: created_at - in: query + required: true + - name: PortUuid + in: path schema: type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time + example: 00000000-0000-0000-0000-000000000000 + format: uuid readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: updated_at - in: query + required: true + - name: IpAddressUuid + in: path schema: type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time + example: 00000000-0000-0000-0000-000000000000 + format: uuid readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: node - in: query + required: true + responses: + '204': + description: IpAddress_Delete + default: + $ref: '#/components/responses/Error' + operationId: + Delete_v1_vms_VMUuid_none_ports_PortUuid_ip_addresses_IpAddressUuid + /v1/vms/{VMUuid}/ports/: + get: + summary: Get Ports + tags: + - PortTestTag + parameters: + - name: VMUuid + in: path schema: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid - nullable: true - - name: status - in: query - schema: - type: string - enum: - - ACTIVE - - ERROR - - IN_PROGRESS - - NEW - example: NEW readOnly: true - default: NEW + required: true responses: '200': - description: UniversalAgent_Filter + description: Port_Filter content: application/json: schema: type: array items: - $ref: '#/components/schemas/UniversalAgent_Filter' + $ref: '#/components/schemas/Port_Filter' default: $ref: '#/components/responses/Error' - operationId: Filter_v1_ua_agents + operationId: Filter_v1_vms_VMUuid_ports post: - summary: Create UniversalAgent + summary: Create Port tags: - - UniversalAgent - parameters: [] + - PortTestTag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true responses: '201': - description: UniversalAgent_Create + description: Port_Create content: application/json: schema: - $ref: '#/components/schemas/UniversalAgent_Create' + $ref: '#/components/schemas/Port_Create' default: $ref: '#/components/responses/Error' - operationId: Create_v1_ua_agents + operationId: Create_v1_vms_VMUuid_ports requestBody: - description: UniversalAgent_Create + description: Port_Create required: true content: application/json: schema: - $ref: '#/components/schemas/UniversalAgent_Create' - /v1/ua/agents/{UniversalAgentUuid}: + $ref: '#/components/schemas/Port_Create' + /v1/vms/{VMUuid}/ports/{PortUuid}: get: - summary: Get UniversalAgent + summary: Get Port tags: - - UniversalAgent + - PortTestTag parameters: - - name: UniversalAgentUuid + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid in: path schema: type: string @@ -30235,21 +2079,28 @@ paths: required: true responses: '200': - description: UniversalAgent_Get + description: Port_Get content: application/json: schema: - $ref: '#/components/schemas/UniversalAgent_Get' + $ref: '#/components/schemas/Port_Get' default: $ref: '#/components/responses/Error' - operationId: Get_v1_ua_agents_UniversalAgentUuid - /v1/ua/agents/{UniversalAgentUuid}/actions/issue_key/invoke: - post: - summary: Issue_key UniversalAgent + operationId: Get_v1_vms_VMUuid_ports_PortUuid + put: + summary: Update Port tags: - - UniversalAgent + - PortTestTag parameters: - - name: UniversalAgentUuid + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid in: path schema: type: string @@ -30259,443 +2110,328 @@ paths: required: true responses: '200': - description: Get nested urls + description: Port_Update content: application/json: - schema: {} + schema: + $ref: '#/components/schemas/Port_Update' default: $ref: '#/components/responses/Error' - operationId: - Issue_key_v1_ua_agents_UniversalAgentUuid_actions_issue_key_invoke - /v1/ua/resources/: - get: - summary: Get Resources - tags: - - Resource - parameters: - - name: created_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: updated_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: uuid - in: query + operationId: Update_v1_vms_VMUuid_ports_PortUuid + requestBody: + description: Port_Update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Update' + delete: + summary: Delete Port + tags: + - PortTestTag + parameters: + - name: VMUuid + in: path schema: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true - - name: kind - in: query + required: true + - name: PortUuid + in: path schema: type: string - minLength: 0 - maxLength: 64 - example: any_string - - name: value - in: query - schema: - oneOf: - - type: string - - type: integer - - type: array - - type: boolean - - type: object - example: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid readOnly: true - nullable: true - - name: hash - in: query - schema: - type: string - minLength: 0 - maxLength: 256 - example: any_string - default: '' - - name: full_hash - in: query - schema: - type: string - minLength: 0 - maxLength: 256 - example: any_string - default: '' - - name: status - in: query + required: true + responses: + '204': + description: Port_Delete + default: + $ref: '#/components/responses/Error' + operationId: Delete_v1_vms_VMUuid_ports_PortUuid + /v1/vms/{VMUuid}/ports/{PortUuid}/ip_addresses/: + get: + summary: Get IpAddresss + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path schema: type: string - enum: - - ACTIVE - - ERROR - - IN_PROGRESS - - NEW - example: NEW + example: 00000000-0000-0000-0000-000000000000 + format: uuid readOnly: true - default: NEW - - name: node - in: query + required: true + - name: PortUuid + in: path schema: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid - nullable: true + readOnly: true + required: true responses: '200': - description: Resource_Filter + description: IpAddress_Filter content: application/json: schema: type: array items: - $ref: '#/components/schemas/Resource_Filter' + $ref: '#/components/schemas/IpAddress_Filter' default: $ref: '#/components/responses/Error' - operationId: Filter_v1_ua_resources - /v1/ua/resources/{ResourceRes_uuid}: - get: - summary: Get Resource + operationId: Filter_v1_vms_VMUuid_ports_PortUuid_ip_addresses + post: + summary: Create IpAddress tags: - - Resource + - IpAddress_tag parameters: - - name: ResourceRes_uuid + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid in: path schema: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid + readOnly: true required: true responses: - '200': - description: Resource_Get + '201': + description: IpAddress_Create content: application/json: schema: - $ref: '#/components/schemas/Resource_Get' + $ref: '#/components/schemas/IpAddress_Create' default: $ref: '#/components/responses/Error' - operationId: Get_v1_ua_resources_ResourceRes_uuid - /v1/ua/target_resources/: + operationId: Create_v1_vms_VMUuid_ports_PortUuid_ip_addresses + requestBody: + description: IpAddress_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Create' + /v1/vms/{VMUuid}/ports/{PortUuid}/ip_addresses/{IpAddressUuid}: get: - summary: Get TargetResources + summary: Get IpAddress tags: - - TargetResource + - IpAddress_tag parameters: - - name: created_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: updated_at - in: query + - name: VMUuid + in: path schema: type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time + example: 00000000-0000-0000-0000-000000000000 + format: uuid readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: uuid - in: query + required: true + - name: PortUuid + in: path schema: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true - - name: kind - in: query + required: true + - name: IpAddressUuid + in: path schema: type: string - minLength: 0 - maxLength: 64 - example: any_string - - name: value - in: query - schema: - oneOf: - - type: string - - type: integer - - type: array - - type: boolean - - type: object - example: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid readOnly: true - nullable: true - - name: hash - in: query - schema: - type: string - minLength: 0 - maxLength: 256 - example: any_string - default: '' - - name: full_hash - in: query - schema: - type: string - minLength: 0 - maxLength: 256 - example: any_string - default: '' - - name: status - in: query + required: true + responses: + '200': + description: IpAddress_Get + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vms_VMUuid_ports_PortUuid_ip_addresses_IpAddressUuid + delete: + summary: Delete IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path schema: type: string - enum: - - ACTIVE - - ERROR - - IN_PROGRESS - - NEW - example: NEW + example: 00000000-0000-0000-0000-000000000000 + format: uuid readOnly: true - default: NEW - - name: node - in: query + required: true + - name: PortUuid + in: path schema: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid - nullable: true - - name: agent - in: query + readOnly: true + required: true + - name: IpAddressUuid + in: path schema: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid - nullable: true - - name: master - in: query + readOnly: true + required: true + responses: + '204': + description: IpAddress_Delete + default: + $ref: '#/components/responses/Error' + operationId: + Delete_v1_vms_VMUuid_ports_PortUuid_ip_addresses_IpAddressUuid + /v1/vms/{VMUuid}/tags/: + get: + summary: Get Tags + tags: + - Tag + parameters: + - name: VMUuid + in: path schema: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid - nullable: true - - name: tracked_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - default: '2006-01-02T15:04:05.000576Z' - - name: master_hash - in: query - schema: - type: string - minLength: 0 - maxLength: 256 - example: any_string - default: '' - - name: master_full_hash - in: query - schema: - type: string - minLength: 0 - maxLength: 256 - example: any_string - default: '' + readOnly: true + required: true responses: '200': - description: TargetResource_Filter + description: Tag_Filter content: application/json: schema: type: array items: - $ref: '#/components/schemas/TargetResource_Filter' + $ref: '#/components/schemas/Tag_Filter' default: $ref: '#/components/responses/Error' - operationId: Filter_v1_ua_target_resources - /v1/ua/target_resources/{TargetResourceRes_uuid}: - get: - summary: Get TargetResource + operationId: Filter_v1_vms_VMUuid_tags + post: + summary: Create Tag tags: - - TargetResource + - Tag parameters: - - name: TargetResourceRes_uuid + - name: VMUuid in: path schema: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid + readOnly: true required: true responses: - '200': - description: TargetResource_Get + '201': + description: Tag_Create content: application/json: schema: - $ref: '#/components/schemas/TargetResource_Get' + $ref: '#/components/schemas/Tag_Create' default: $ref: '#/components/responses/Error' - operationId: Get_v1_ua_target_resources_TargetResourceRes_uuid - /v1/vs/: + operationId: Create_v1_vms_VMUuid_tags + requestBody: + description: Tag_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Tag_Create' + /v1/vms/{VMUuid}/tags/{TagName}: get: - summary: Returns a list of all routes in the main route that are - collection - tags: [] + summary: Get Tag + tags: + - Tag parameters: - - name: filters - description: "the filters to apply when filtering the routes (Is not\nimplemented - now)\n" + - name: VMUuid + in: path schema: type: string - in: query - - name: order_by - description: "fields to order the routes by (Is not implemented\nnow)\n" + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: TagName + in: path schema: type: string - in: query + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + required: true responses: '200': - description: Get nested urls + description: Tag_Get content: application/json: schema: - type: array - items: - type: string + $ref: '#/components/schemas/Tag_Get' default: $ref: '#/components/responses/Error' - operationId: Filter_v1_vs - /v1/vs/profiles/: - get: - summary: Get Profiles + operationId: Get_v1_vms_VMUuid_tags_TagName + put: + summary: Update Tag tags: - - Profile + - Tag parameters: - - name: uuid - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - - name: project_id - in: query + - name: VMUuid + in: path schema: type: string example: 00000000-0000-0000-0000-000000000000 format: uuid readOnly: true - - name: name - in: query - schema: - type: string - minLength: 0 - maxLength: 255 - example: any_string - default: '' - - name: description - in: query + required: true + - name: TagName + in: path schema: type: string minLength: 0 - maxLength: 255 + maxLength: 9223372036854775807 example: any_string - default: '' - - name: created_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: updated_at - in: query - schema: - type: string - x-ogen-time-format: '2006-01-02T15:04:05.000576Z' - example: '2006-01-02T15:04:05.000576Z' - format: date-time - readOnly: true - default: '2006-01-02T15:04:05.000576Z' - - name: profile_type - in: query - schema: - type: string - enum: - - ELEMENT - - GLOBAL - example: GLOBAL - default: ELEMENT - - name: active - in: query - schema: - type: boolean - example: true - default: false - - name: status - in: query - schema: - type: string - enum: - - ACTIVE - - ERROR - - IN_PROGRESS - - NEW - example: NEW - readOnly: true - default: NEW - responses: - '200': - description: Profile_Filter - content: - application/json: - schema: - type: array - items: - $ref: '#/components/schemas/Profile_Filter' - default: - $ref: '#/components/responses/Error' - operationId: Filter_v1_vs_profiles - post: - summary: Create Profile - tags: - - Profile - parameters: [] + required: true responses: - '201': - description: Profile_Create + '200': + description: Tag_Update content: application/json: schema: - $ref: '#/components/schemas/Profile_Create' + $ref: '#/components/schemas/Tag_Update' default: $ref: '#/components/responses/Error' - operationId: Create_v1_vs_profiles + operationId: Update_v1_vms_VMUuid_tags_TagName requestBody: - description: Profile_Create + description: Tag_Update required: true content: application/json: schema: - $ref: '#/components/schemas/Profile_Create' - /v1/vs/profiles/{ProfileUuid}: - get: - summary: Get Profile + $ref: '#/components/schemas/Tag_Update' + delete: + summary: Delete Tag tags: - - Profile + - Tag parameters: - - name: ProfileUuid + - name: VMUuid in: path schema: type: string @@ -30703,22 +2439,27 @@ paths: format: uuid readOnly: true required: true + - name: TagName + in: path + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + required: true responses: - '200': - description: Profile_Get - content: - application/json: - schema: - $ref: '#/components/schemas/Profile_Get' + '204': + description: Tag_Delete default: $ref: '#/components/responses/Error' - operationId: Get_v1_vs_profiles_ProfileUuid - put: - summary: Update Profile + operationId: Delete_v1_vms_VMUuid_tags_TagName + /v1/vms/{VMUuid}/actions/ip_addresses: + get: + summary: Ip_addresses IpAddress tags: - - Profile + - VM parameters: - - name: ProfileUuid + - name: VMUuid in: path schema: type: string @@ -30728,27 +2469,20 @@ paths: required: true responses: '200': - description: Profile_Update + description: Get nested urls content: application/json: - schema: - $ref: '#/components/schemas/Profile_Update' + schema: {} default: $ref: '#/components/responses/Error' - operationId: Update_v1_vs_profiles_ProfileUuid - requestBody: - description: Profile_Update - required: true - content: - application/json: - schema: - $ref: '#/components/schemas/Profile_Update' - delete: - summary: Delete Profile + operationId: Ip_addresses_v1_vms_VMUuid_actions_ip_addresses + /v1/vms/{VMUuid}/actions/power/invoke: + post: + summary: Power VM tags: - - Profile + - VM parameters: - - name: ProfileUuid + - name: VMUuid in: path schema: type: string @@ -30757,18 +2491,21 @@ paths: readOnly: true required: true responses: - '204': - description: Profile_Delete + '200': + description: Get nested urls + content: + application/json: + schema: {} default: $ref: '#/components/responses/Error' - operationId: Delete_v1_vs_profiles_ProfileUuid - /v1/vs/profiles/{ProfileUuid}/actions/activate/invoke: - post: - summary: Activate Profile + operationId: Power_v1_vms_VMUuid_actions_power_invoke + /v1/vms/{VMUuid}/actions/power_state: + get: + summary: Power_state VM tags: - - Profile + - VM parameters: - - name: ProfileUuid + - name: VMUuid in: path schema: type: string @@ -30784,27 +2521,65 @@ paths: schema: {} default: $ref: '#/components/responses/Error' - operationId: Activate_v1_vs_profiles_ProfileUuid_actions_activate_invoke - /v1/vs/values/: - get: - summary: Get Values + operationId: Power_state_v1_vms_VMUuid_actions_power_state + /v1/vms/{VMUuid}/actions/poweroff/invoke: + post: + summary: Power off virtual machine tags: - - Value + - VM parameters: - - name: uuid - in: query + - name: VMUuid + description: '' + in: path schema: type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - - name: project_id + required: true + responses: + '200': + description: VM_Create + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Create' + default: + $ref: '#/components/responses/Error' + operationId: Poweroff_v1_vms_VMUuid_actions_poweroff_invoke + /v1/vms/{VMUuid}/actions/poweron/invoke: + post: + summary: Power on virtual machine + tags: + - VM + parameters: + - name: VMUuid + description: '' + in: path + schema: + type: string + required: true + responses: + '200': + description: VM_Create + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Create' + default: + $ref: '#/components/responses/Error' + operationId: Poweron_v1_vms_VMUuid_actions_poweron_invoke + /v1/vmsdefsort/: + get: + summary: Get VMDefSorts + tags: + - VMDefSort + parameters: + - name: state in: query schema: type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true + minLength: 0 + maxLength: 10 + example: any_string + default: off - name: name in: query schema: @@ -30812,16 +2587,27 @@ paths: minLength: 0 maxLength: 255 example: any_string - default: '' - - name: description + examples: + - testname + - name: just-none in: query schema: - type: string + type: + - string + - 'null' minLength: 0 - maxLength: 255 + maxLength: 9223372036854775807 example: any_string - default: '' - - name: created_at + - name: status + in: query + schema: + type: string + enum: + - active + - disabled + example: active + default: active + - name: created in: query schema: type: string @@ -30830,96 +2616,55 @@ paths: format: date-time readOnly: true default: '2006-01-02T15:04:05.000576Z' - - name: updated_at + - name: updated in: query schema: type: string x-ogen-time-format: '2006-01-02T15:04:05.000576Z' example: '2006-01-02T15:04:05.000576Z' format: date-time - readOnly: true default: '2006-01-02T15:04:05.000576Z' - - name: value - in: query - schema: - oneOf: - - type: string - - type: integer - - type: array - - type: boolean - - type: object - example: string - readOnly: true - nullable: true - - name: read_only - in: query - schema: - type: boolean - example: true - default: false - - name: variable - in: query - schema: - type: string - - name: manual_selected - in: query - schema: - type: boolean - example: true - default: false - - name: status - in: query - schema: - type: string - enum: - - ACTIVE - - ERROR - - IN_PROGRESS - - NEW - example: NEW - readOnly: true - default: NEW responses: '200': - description: Value_Filter + description: VMDefSort_Filter content: application/json: schema: type: array items: - $ref: '#/components/schemas/Value_Filter' + $ref: '#/components/schemas/VMDefSort_Filter' default: $ref: '#/components/responses/Error' - operationId: Filter_v1_vs_values + operationId: Filter_v1_vmsdefsort post: - summary: Create Value + summary: Create VM resource tags: - - Value + - VMDefSort parameters: [] responses: '201': - description: Value_Create + description: VMDefSort_Create content: application/json: schema: - $ref: '#/components/schemas/Value_Create' + $ref: '#/components/schemas/VMDefSort_Create' default: $ref: '#/components/responses/Error' - operationId: Create_v1_vs_values + operationId: Create_v1_vmsdefsort requestBody: - description: Value_Create + description: VMDefSort_Create required: true content: application/json: schema: - $ref: '#/components/schemas/Value_Create' - /v1/vs/values/{ValueUuid}: + $ref: '#/components/schemas/VMDefSort_Create' + /v1/vmsdefsort/{VMDefSortUuid}: get: - summary: Get Value + summary: Get VMDefSort tags: - - Value + - VMDefSort parameters: - - name: ValueUuid + - name: VMDefSortUuid in: path schema: type: string @@ -30929,20 +2674,20 @@ paths: required: true responses: '200': - description: Value_Get + description: VMDefSort_Get content: application/json: schema: - $ref: '#/components/schemas/Value_Get' + $ref: '#/components/schemas/VMDefSort_Get' default: $ref: '#/components/responses/Error' - operationId: Get_v1_vs_values_ValueUuid + operationId: Get_v1_vmsdefsort_VMDefSortUuid put: - summary: Update Value + summary: Update VMDefSort tags: - - Value + - VMDefSort parameters: - - name: ValueUuid + - name: VMDefSortUuid in: path schema: type: string @@ -30952,27 +2697,27 @@ paths: required: true responses: '200': - description: Value_Update + description: VMDefSort_Update content: application/json: schema: - $ref: '#/components/schemas/Value_Update' + $ref: '#/components/schemas/VMDefSort_Update' default: $ref: '#/components/responses/Error' - operationId: Update_v1_vs_values_ValueUuid + operationId: Update_v1_vmsdefsort_VMDefSortUuid requestBody: - description: Value_Update + description: VMDefSort_Update required: true content: application/json: schema: - $ref: '#/components/schemas/Value_Update' + $ref: '#/components/schemas/VMDefSort_Update' delete: - summary: Delete Value + summary: Delete VMDefSort tags: - - Value + - VMDefSort parameters: - - name: ValueUuid + - name: VMDefSortUuid in: path schema: type: string @@ -30982,30 +2727,24 @@ paths: required: true responses: '204': - description: Value_Delete + description: VMDefSort_Delete default: $ref: '#/components/responses/Error' - operationId: Delete_v1_vs_values_ValueUuid - /v1/vs/variables/: + operationId: Delete_v1_vmsdefsort_VMDefSortUuid + /v1/vmsnoproccessfilters/: get: - summary: Get Variables + summary: Get VMNoProcessFilterss tags: - - Variable + - VMNoProcessFilters parameters: - - name: uuid - in: query - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - - name: project_id + - name: state in: query schema: type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true + minLength: 0 + maxLength: 10 + example: any_string + default: off - name: name in: query schema: @@ -31013,16 +2752,27 @@ paths: minLength: 0 maxLength: 255 example: any_string - default: '' - - name: description + examples: + - testname + - name: just-none in: query schema: - type: string + type: + - string + - 'null' minLength: 0 - maxLength: 255 + maxLength: 9223372036854775807 example: any_string - default: '' - - name: created_at + - name: status + in: query + schema: + type: string + enum: + - active + - disabled + example: active + default: active + - name: created in: query schema: type: string @@ -31031,80 +2781,149 @@ paths: format: date-time readOnly: true default: '2006-01-02T15:04:05.000576Z' - - name: updated_at + - name: updated in: query schema: type: string x-ogen-time-format: '2006-01-02T15:04:05.000576Z' example: '2006-01-02T15:04:05.000576Z' format: date-time - readOnly: true default: '2006-01-02T15:04:05.000576Z' + responses: + '200': + description: VMNoProcessFilters_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/VMNoProcessFilters_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vmsnoproccessfilters + /v1/vmsnoproccessfilters/{VMNoProcessFiltersUuid}: + get: + summary: Get VMNoProcessFilters + tags: + - VMNoProcessFilters + parameters: + - name: VMNoProcessFiltersUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: VMNoProcessFilters_Get + content: + application/json: + schema: + $ref: '#/components/schemas/VMNoProcessFilters_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vmsnoproccessfilters_VMNoProcessFiltersUuid + /v1/vmsnosort/: + get: + summary: Get VMNoSorts + tags: + - VMNoSort + parameters: + - name: state + in: query + schema: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + - name: name + in: query + schema: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + - name: just-none + in: query + schema: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string - name: status in: query schema: type: string enum: - - ACTIVE - - ERROR - - IN_PROGRESS - - NEW - example: NEW - readOnly: true - default: NEW - - name: value + - active + - disabled + example: active + default: active + - name: created in: query schema: - oneOf: - - type: string - - type: integer - - type: array - - type: boolean - - type: object - example: string + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time readOnly: true - nullable: true + default: '2006-01-02T15:04:05.000576Z' + - name: updated + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' responses: '200': - description: Variable_Filter + description: VMNoSort_Filter content: application/json: schema: type: array items: - $ref: '#/components/schemas/Variable_Filter' + $ref: '#/components/schemas/VMNoSort_Filter' default: $ref: '#/components/responses/Error' - operationId: Filter_v1_vs_variables + operationId: Filter_v1_vmsnosort post: - summary: Create Variable + summary: Create VM resource tags: - - Variable + - VMNoSort parameters: [] responses: '201': - description: Variable_Create + description: VMNoSort_Create content: application/json: schema: - $ref: '#/components/schemas/Variable_Create' + $ref: '#/components/schemas/VMNoSort_Create' default: $ref: '#/components/responses/Error' - operationId: Create_v1_vs_variables + operationId: Create_v1_vmsnosort requestBody: - description: Variable_Create + description: VMNoSort_Create required: true content: application/json: schema: - $ref: '#/components/schemas/Variable_Create' - /v1/vs/variables/{VariableUuid}: + $ref: '#/components/schemas/VMNoSort_Create' + /v1/vmsnosort/{VMNoSortUuid}: get: - summary: Get Variable + summary: Get VMNoSort tags: - - Variable + - VMNoSort parameters: - - name: VariableUuid + - name: VMNoSortUuid in: path schema: type: string @@ -31114,20 +2933,20 @@ paths: required: true responses: '200': - description: Variable_Get + description: VMNoSort_Get content: application/json: schema: - $ref: '#/components/schemas/Variable_Get' + $ref: '#/components/schemas/VMNoSort_Get' default: $ref: '#/components/responses/Error' - operationId: Get_v1_vs_variables_VariableUuid + operationId: Get_v1_vmsnosort_VMNoSortUuid put: - summary: Update Variable + summary: Update VMNoSort tags: - - Variable + - VMNoSort parameters: - - name: VariableUuid + - name: VMNoSortUuid in: path schema: type: string @@ -31137,27 +2956,27 @@ paths: required: true responses: '200': - description: Variable_Update + description: VMNoSort_Update content: application/json: schema: - $ref: '#/components/schemas/Variable_Update' + $ref: '#/components/schemas/VMNoSort_Update' default: $ref: '#/components/responses/Error' - operationId: Update_v1_vs_variables_VariableUuid + operationId: Update_v1_vmsnosort_VMNoSortUuid requestBody: - description: Variable_Update + description: VMNoSort_Update required: true content: application/json: schema: - $ref: '#/components/schemas/Variable_Update' + $ref: '#/components/schemas/VMNoSort_Update' delete: - summary: Delete Variable + summary: Delete VMNoSort tags: - - Variable + - VMNoSort parameters: - - name: VariableUuid + - name: VMNoSortUuid in: path schema: type: string @@ -31167,58 +2986,10 @@ paths: required: true responses: '204': - description: Variable_Delete - default: - $ref: '#/components/responses/Error' - operationId: Delete_v1_vs_variables_VariableUuid - /v1/vs/variables/{VariableUuid}/actions/release_value/invoke: - post: - summary: Release_value Variable - tags: - - Variable - parameters: - - name: VariableUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Get nested urls - content: - application/json: - schema: {} - default: - $ref: '#/components/responses/Error' - operationId: - Release_value_v1_vs_variables_VariableUuid_actions_release_value_invoke - /v1/vs/variables/{VariableUuid}/actions/select_value/invoke: - post: - summary: Select_value Variable - tags: - - Variable - parameters: - - name: VariableUuid - in: path - schema: - type: string - example: 00000000-0000-0000-0000-000000000000 - format: uuid - readOnly: true - required: true - responses: - '200': - description: Get nested urls - content: - application/json: - schema: {} + description: VMNoSort_Delete default: $ref: '#/components/responses/Error' - operationId: - Select_value_v1_vs_variables_VariableUuid_actions_select_value_invoke + operationId: Delete_v1_vmsnosort_VMNoSortUuid servers: - url: http://127.0.0.1:11010 description: '' @@ -31228,85 +2999,24 @@ servers: - v1 default: v1 tags: - - name: MachinePool - description: '' - - name: Node - description: '' - - name: NodeSet - description: '' - - name: Volume - description: '' - - name: Config - description: '' - - name: Record - description: '' - - name: Domain - description: '' - - name: Element - description: '' - - name: Export - description: '' - - name: Import - description: '' - - name: Manifest - description: '' - - name: Service - description: '' - - name: IdpAuthorizationInfo - description: '' - - name: IamClient - description: '' - - name: Idp - description: '' - - name: OrganizationMember - description: '' - - name: Organization - description: '' - - name: PermissionBinding - description: '' - - name: Permission - description: '' - - name: Project - description: '' - - name: RoleBinding - description: '' - - name: Role - description: '' - - name: User - description: '' - - name: Border - description: '' - - name: BackendPool - description: '' - - name: Route - description: '' - - name: Vhost - description: '' - - name: LB - description: '' - - name: RepoElement - description: '' - - name: Repository - description: '' - - name: Certificate - description: '' - - name: Password - description: '' - - name: RSAKey - description: '' - - name: SSHKey - description: '' - - name: Rule + - name: functional-test + description: Just functional tests + externalDocs: + url: https://https://functional.tests/docs/ + description: Functional tests external documentation + - name: Port description: '' - - name: UniversalAgent + - name: IpAddress_tag description: '' - - name: Resource + - name: PortTestTag + description: port_descr + - name: Tag description: '' - - name: TargetResource + - name: VM description: '' - - name: Profile + - name: VMDefSort description: '' - - name: Value + - name: VMNoProcessFilters description: '' - - name: Variable + - name: VMNoSort description: '' diff --git a/docs/openapi/openapi_user_3.0.3.yaml b/docs/openapi/openapi_user_3.0.3.yaml new file mode 100644 index 00000000..7917f50f --- /dev/null +++ b/docs/openapi/openapi_user_3.0.3.yaml @@ -0,0 +1,2959 @@ +openapi: 3.0.3 +info: + title: REST API Microservice + version: latest + description: REST API Microservice for tests + termsOfService: https://functional.tests/terms/ + license: + name: Apache 2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + contact: + name: Functional Tests + url: https://functional.tests/ + email: functional@tests.local +components: + responses: + Error: + description: Error response. + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + schemas: + Error: + title: error + description: Error occurred while processing request + type: object + required: + - status + - json + properties: + status: + type: integer + description: The HTTP status code + minimum: 400 + exclusiveMaximum: true + example: 503 + json: + type: object + description: Detail error map + required: + - code + - type + - message + properties: + code: + type: integer + description: The HTTP status code + minimum: 400 + exclusiveMaximum: true + example: 503 + type: + type: string + description: Error class name + example: OSError + message: + type: string + description: Error message + example: A human-readable explanation of problem + example: + code: 400 + json: + code: 400 + type: ValidationErrorException + message: Validation error occurred. + VM_Create: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: testname + just-none: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + nullable: true + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VM_Get: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: testname + just-none: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + nullable: true + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VM_Filter: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: testname + just-none: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + nullable: true + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VM_Update: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: testname + just-none: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + nullable: true + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + Port_Create: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + mac: + type: string + pattern: ^([0-9a-fA-F]{2,2}:){5,5}[0-9a-fA-F]{2,2}$ + example: 00:00:00:00:00:00 + default: 00:00:00:00:00:00 + vm: + type: string + some-field2: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field3: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field4: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field5: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + nullable: true + name-after: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-any: + oneOf: + - type: string + - type: integer + - type: array + - type: boolean + - type: object + example: string + permission-field: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + readOnly: true + required: + - vm + Port_Filter: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + mac: + type: string + pattern: ^([0-9a-fA-F]{2,2}:){5,5}[0-9a-fA-F]{2,2}$ + example: 00:00:00:00:00:00 + default: 00:00:00:00:00:00 + vm: + type: string + some-field1: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field3: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field4: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field5: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + nullable: true + unique-field: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-after: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-any: + oneOf: + - type: string + - type: integer + - type: array + - type: boolean + - type: object + example: string + permission-field: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + readOnly: true + required: + - vm + Port_Get: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + mac: + type: string + pattern: ^([0-9a-fA-F]{2,2}:){5,5}[0-9a-fA-F]{2,2}$ + example: 00:00:00:00:00:00 + default: 00:00:00:00:00:00 + vm: + type: string + some-field1: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field2: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field4: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field5: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + nullable: true + name-after: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-any: + oneOf: + - type: string + - type: integer + - type: array + - type: boolean + - type: object + example: string + permission-field: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + readOnly: true + required: + - vm + Port_Update: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + mac: + type: string + pattern: ^([0-9a-fA-F]{2,2}:){5,5}[0-9a-fA-F]{2,2}$ + example: 00:00:00:00:00:00 + default: 00:00:00:00:00:00 + vm: + type: string + some-field1: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field2: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field3: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field5: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + nullable: true + name-after: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-any: + oneOf: + - type: string + - type: integer + - type: array + - type: boolean + - type: object + example: string + permission-field: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + readOnly: true + required: + - vm + IpAddress_Create: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + ip: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + default: 192.168.0.1 + port: + type: string + required: + - port + IpAddress_Filter: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + ip: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + default: 192.168.0.1 + port: + type: string + required: + - port + IpAddress_Get: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + ip: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + default: 192.168.0.1 + port: + type: string + required: + - port + Tag_Create: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + name: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + visible: + type: boolean + example: true + default: true + vm: + type: string + required: + - name + - vm + Tag_Filter: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + name: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + visible: + type: boolean + example: true + default: true + vm: + type: string + required: + - name + - vm + Tag_Get: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + name: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + visible: + type: boolean + example: true + default: true + vm: + type: string + required: + - name + - vm + Tag_Update: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + name: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + visible: + type: boolean + example: true + default: true + vm: + type: string + required: + - name + - vm + VMDefSort_Create: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: testname + just-none: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + nullable: true + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMDefSort_Get: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: testname + just-none: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + nullable: true + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMDefSort_Filter: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: testname + just-none: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + nullable: true + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMDefSort_Update: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: testname + just-none: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + nullable: true + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoProcessFilters_Get: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: testname + just-none: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + nullable: true + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoProcessFilters_Filter: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: testname + just-none: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + nullable: true + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoSort_Create: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: testname + just-none: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + nullable: true + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoSort_Get: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: testname + just-none: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + nullable: true + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoSort_Filter: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: testname + just-none: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + nullable: true + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoSort_Update: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: testname + just-none: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + nullable: true + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + parameters: + VMUuid: + name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + state: + name: state + in: query + schema: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + name: name + in: query + schema: + type: string + minLength: 0 + maxLength: 255 + example: testname + just-none: + name: just-none + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + nullable: true + status: + name: status + in: query + schema: + type: string + enum: + - active + - disabled + example: active + default: active + created: + name: created + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + name: updated + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + PortUuid: + name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + mac: + name: mac + in: query + schema: + type: string + pattern: ^([0-9a-fA-F]{2,2}:){5,5}[0-9a-fA-F]{2,2}$ + example: 00:00:00:00:00:00 + default: 00:00:00:00:00:00 + vm: + name: vm + in: query + schema: + type: string + never-call: + name: never-call + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + -hidden-field: + name: -hidden-field + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field1: + name: some-field1 + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field2: + name: some-field2 + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field3: + name: some-field3 + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field4: + name: some-field4 + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field5: + name: some-field5 + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + nullable: true + unique-field: + name: unique-field + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-after: + name: name-after + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-any: + name: name-any + in: query + schema: + oneOf: + - type: string + - type: integer + - type: array + - type: boolean + - type: object + example: string + permission-field: + name: permission-field + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + IpAddressUuid: + name: IpAddressUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + ip: + name: ip + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + default: 192.168.0.1 + port: + name: port + in: query + schema: + type: string + TagUuid: + name: TagUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + TagName: + name: TagName + in: path + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + required: true + visible: + name: visible + in: query + schema: + type: boolean + example: true + default: true + VMDefSortUuid: + name: VMDefSortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + VMNoProcessFiltersUuid: + name: VMNoProcessFiltersUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + VMNoSortUuid: + name: VMNoSortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true +paths: + /: + get: + summary: Base application url + responses: + '200': + description: Get nested urls + content: + application/json: + schema: + type: array + items: + type: string + default: + $ref: '#/components/responses/Error' + operationId: Get_urls + /specifications/: + get: + summary: Get OpenApiSpecificationRoute OpenApiSpecificationControllers + tags: [] + parameters: [] + responses: + '200': + description: Get nested urls + content: + application/json: + schema: + type: array + items: + type: string + default: + $ref: '#/components/responses/Error' + operationId: Filter_specifications + /specifications/3.0.3: + get: + summary: OpenApi specification + tags: [] + parameters: [] + responses: + '200': + description: OpenApi specification + content: + application/json: + schema: + type: object + properties: {} + default: + $ref: '#/components/responses/Error' + operationId: Get_OpenApi_specification + /specifications/3.1.0: + get: + summary: OpenApi specification + tags: [] + parameters: [] + responses: + '200': + description: OpenApi specification + content: + application/json: + schema: + type: object + properties: {} + default: + $ref: '#/components/responses/Error' + operationId: Get_OpenApi_specification + /v1/: + get: + summary: Returns a list of all routes in the main route that are + collection + tags: [] + parameters: + - name: filters + description: "the filters to apply when filtering the routes (Is not\nimplemented + now)\n" + schema: + type: string + in: query + - name: order_by + description: "fields to order the routes by (Is not implemented\nnow)\n" + schema: + type: string + in: query + responses: + '200': + description: Get nested urls + content: + application/json: + schema: + type: array + items: + type: string + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1 + /v1/notimplementedmethods/: + get: + summary: method filter was implemented for testing base error message + tags: [] + parameters: [] + responses: + '200': + description: Get nested urls + content: + application/json: + schema: + type: array + items: + type: string + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_notimplementedmethods + post: + summary: Create NotImplementedMethodsRoute NotImplementedMethodsController + tags: [] + parameters: [] + responses: + '201': + description: Unknown_Create + content: + application/json: + schema: + $ref: '#/components/schemas/Unknown_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_notimplementedmethods + requestBody: + description: Unknown_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Unknown_Create' + /v1/vms/: + get: + summary: Get VMs + tags: + - VM + parameters: + - name: state + in: query + schema: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + - name: name + in: query + schema: + type: string + minLength: 0 + maxLength: 255 + example: testname + - name: just-none + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + nullable: true + - name: status + in: query + schema: + type: string + enum: + - active + - disabled + example: active + default: active + - name: created + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + - name: updated + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + responses: + '200': + description: VM_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/VM_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vms + post: + summary: Create VM resource + tags: + - VM + parameters: [] + responses: + '201': + description: VM_Create + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vms + requestBody: + description: VM_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Create' + /v1/vms/{VMUuid}: + get: + summary: Get VM + tags: + - VM + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: VM_Get + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vms_VMUuid + put: + summary: Update VM + tags: + - VM + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: VM_Update + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Update' + default: + $ref: '#/components/responses/Error' + operationId: Update_v1_vms_VMUuid + requestBody: + description: VM_Update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Update' + delete: + summary: Delete VM + tags: + - VM + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: VM_Delete + default: + $ref: '#/components/responses/Error' + operationId: Delete_v1_vms_VMUuid + /v1/vms/{VMUuid}/none_ports/: + get: + summary: Get Ports + tags: + - Port + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Port_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Port_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vms_VMUuid_none_ports + post: + summary: Create Port + tags: + - Port + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '201': + description: Port_Create + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vms_VMUuid_none_ports + requestBody: + description: Port_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Create' + /v1/vms/{VMUuid}/none_ports/{PortUuid}: + get: + summary: Get Port + tags: + - Port + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Port_Get + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vms_VMUuid_none_ports_PortUuid + put: + summary: Update Port + tags: + - Port + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Port_Update + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Update' + default: + $ref: '#/components/responses/Error' + operationId: Update_v1_vms_VMUuid_none_ports_PortUuid + requestBody: + description: Port_Update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Update' + delete: + summary: Delete Port + tags: + - Port + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: Port_Delete + default: + $ref: '#/components/responses/Error' + operationId: Delete_v1_vms_VMUuid_none_ports_PortUuid + /v1/vms/{VMUuid}/none_ports/{PortUuid}/ip_addresses/: + get: + summary: Get IpAddresss + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: IpAddress_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IpAddress_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vms_VMUuid_none_ports_PortUuid_ip_addresses + post: + summary: Create IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '201': + description: IpAddress_Create + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vms_VMUuid_none_ports_PortUuid_ip_addresses + requestBody: + description: IpAddress_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Create' + /v1/vms/{VMUuid}/none_ports/{PortUuid}/ip_addresses/{IpAddressUuid}: + get: + summary: Get IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: IpAddressUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: IpAddress_Get + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Get' + default: + $ref: '#/components/responses/Error' + operationId: + Get_v1_vms_VMUuid_none_ports_PortUuid_ip_addresses_IpAddressUuid + delete: + summary: Delete IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: IpAddressUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: IpAddress_Delete + default: + $ref: '#/components/responses/Error' + operationId: + Delete_v1_vms_VMUuid_none_ports_PortUuid_ip_addresses_IpAddressUuid + /v1/vms/{VMUuid}/ports/: + get: + summary: Get Ports + tags: + - PortTestTag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Port_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Port_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vms_VMUuid_ports + post: + summary: Create Port + tags: + - PortTestTag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '201': + description: Port_Create + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vms_VMUuid_ports + requestBody: + description: Port_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Create' + /v1/vms/{VMUuid}/ports/{PortUuid}: + get: + summary: Get Port + tags: + - PortTestTag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Port_Get + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vms_VMUuid_ports_PortUuid + put: + summary: Update Port + tags: + - PortTestTag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Port_Update + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Update' + default: + $ref: '#/components/responses/Error' + operationId: Update_v1_vms_VMUuid_ports_PortUuid + requestBody: + description: Port_Update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Update' + delete: + summary: Delete Port + tags: + - PortTestTag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: Port_Delete + default: + $ref: '#/components/responses/Error' + operationId: Delete_v1_vms_VMUuid_ports_PortUuid + /v1/vms/{VMUuid}/ports/{PortUuid}/ip_addresses/: + get: + summary: Get IpAddresss + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: IpAddress_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IpAddress_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vms_VMUuid_ports_PortUuid_ip_addresses + post: + summary: Create IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '201': + description: IpAddress_Create + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vms_VMUuid_ports_PortUuid_ip_addresses + requestBody: + description: IpAddress_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Create' + /v1/vms/{VMUuid}/ports/{PortUuid}/ip_addresses/{IpAddressUuid}: + get: + summary: Get IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: IpAddressUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: IpAddress_Get + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vms_VMUuid_ports_PortUuid_ip_addresses_IpAddressUuid + delete: + summary: Delete IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: IpAddressUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: IpAddress_Delete + default: + $ref: '#/components/responses/Error' + operationId: + Delete_v1_vms_VMUuid_ports_PortUuid_ip_addresses_IpAddressUuid + /v1/vms/{VMUuid}/tags/: + get: + summary: Get Tags + tags: + - Tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Tag_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Tag_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vms_VMUuid_tags + post: + summary: Create Tag + tags: + - Tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '201': + description: Tag_Create + content: + application/json: + schema: + $ref: '#/components/schemas/Tag_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vms_VMUuid_tags + requestBody: + description: Tag_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Tag_Create' + /v1/vms/{VMUuid}/tags/{TagName}: + get: + summary: Get Tag + tags: + - Tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: TagName + in: path + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + required: true + responses: + '200': + description: Tag_Get + content: + application/json: + schema: + $ref: '#/components/schemas/Tag_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vms_VMUuid_tags_TagName + put: + summary: Update Tag + tags: + - Tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: TagName + in: path + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + required: true + responses: + '200': + description: Tag_Update + content: + application/json: + schema: + $ref: '#/components/schemas/Tag_Update' + default: + $ref: '#/components/responses/Error' + operationId: Update_v1_vms_VMUuid_tags_TagName + requestBody: + description: Tag_Update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Tag_Update' + delete: + summary: Delete Tag + tags: + - Tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: TagName + in: path + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + required: true + responses: + '204': + description: Tag_Delete + default: + $ref: '#/components/responses/Error' + operationId: Delete_v1_vms_VMUuid_tags_TagName + /v1/vms/{VMUuid}/actions/ip_addresses: + get: + summary: Ip_addresses IpAddress + tags: + - VM + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Get nested urls + content: + application/json: + schema: {} + default: + $ref: '#/components/responses/Error' + operationId: Ip_addresses_v1_vms_VMUuid_actions_ip_addresses + /v1/vms/{VMUuid}/actions/power/invoke: + post: + summary: Power VM + tags: + - VM + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Get nested urls + content: + application/json: + schema: {} + default: + $ref: '#/components/responses/Error' + operationId: Power_v1_vms_VMUuid_actions_power_invoke + /v1/vms/{VMUuid}/actions/power_state: + get: + summary: Power_state VM + tags: + - VM + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Get nested urls + content: + application/json: + schema: {} + default: + $ref: '#/components/responses/Error' + operationId: Power_state_v1_vms_VMUuid_actions_power_state + /v1/vms/{VMUuid}/actions/poweroff/invoke: + post: + summary: Power off virtual machine + tags: + - VM + parameters: + - name: VMUuid + description: '' + in: path + schema: + type: string + required: true + responses: + '200': + description: VM_Create + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Create' + default: + $ref: '#/components/responses/Error' + operationId: Poweroff_v1_vms_VMUuid_actions_poweroff_invoke + /v1/vms/{VMUuid}/actions/poweron/invoke: + post: + summary: Power on virtual machine + tags: + - VM + parameters: + - name: VMUuid + description: '' + in: path + schema: + type: string + required: true + responses: + '200': + description: VM_Create + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Create' + default: + $ref: '#/components/responses/Error' + operationId: Poweron_v1_vms_VMUuid_actions_poweron_invoke + /v1/vmsdefsort/: + get: + summary: Get VMDefSorts + tags: + - VMDefSort + parameters: + - name: state + in: query + schema: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + - name: name + in: query + schema: + type: string + minLength: 0 + maxLength: 255 + example: testname + - name: just-none + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + nullable: true + - name: status + in: query + schema: + type: string + enum: + - active + - disabled + example: active + default: active + - name: created + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + - name: updated + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + responses: + '200': + description: VMDefSort_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/VMDefSort_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vmsdefsort + post: + summary: Create VM resource + tags: + - VMDefSort + parameters: [] + responses: + '201': + description: VMDefSort_Create + content: + application/json: + schema: + $ref: '#/components/schemas/VMDefSort_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vmsdefsort + requestBody: + description: VMDefSort_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/VMDefSort_Create' + /v1/vmsdefsort/{VMDefSortUuid}: + get: + summary: Get VMDefSort + tags: + - VMDefSort + parameters: + - name: VMDefSortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: VMDefSort_Get + content: + application/json: + schema: + $ref: '#/components/schemas/VMDefSort_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vmsdefsort_VMDefSortUuid + put: + summary: Update VMDefSort + tags: + - VMDefSort + parameters: + - name: VMDefSortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: VMDefSort_Update + content: + application/json: + schema: + $ref: '#/components/schemas/VMDefSort_Update' + default: + $ref: '#/components/responses/Error' + operationId: Update_v1_vmsdefsort_VMDefSortUuid + requestBody: + description: VMDefSort_Update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/VMDefSort_Update' + delete: + summary: Delete VMDefSort + tags: + - VMDefSort + parameters: + - name: VMDefSortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: VMDefSort_Delete + default: + $ref: '#/components/responses/Error' + operationId: Delete_v1_vmsdefsort_VMDefSortUuid + /v1/vmsnoproccessfilters/: + get: + summary: Get VMNoProcessFilterss + tags: + - VMNoProcessFilters + parameters: + - name: state + in: query + schema: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + - name: name + in: query + schema: + type: string + minLength: 0 + maxLength: 255 + example: testname + - name: just-none + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + nullable: true + - name: status + in: query + schema: + type: string + enum: + - active + - disabled + example: active + default: active + - name: created + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + - name: updated + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + responses: + '200': + description: VMNoProcessFilters_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/VMNoProcessFilters_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vmsnoproccessfilters + /v1/vmsnoproccessfilters/{VMNoProcessFiltersUuid}: + get: + summary: Get VMNoProcessFilters + tags: + - VMNoProcessFilters + parameters: + - name: VMNoProcessFiltersUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: VMNoProcessFilters_Get + content: + application/json: + schema: + $ref: '#/components/schemas/VMNoProcessFilters_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vmsnoproccessfilters_VMNoProcessFiltersUuid + /v1/vmsnosort/: + get: + summary: Get VMNoSorts + tags: + - VMNoSort + parameters: + - name: state + in: query + schema: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + - name: name + in: query + schema: + type: string + minLength: 0 + maxLength: 255 + example: testname + - name: just-none + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + nullable: true + - name: status + in: query + schema: + type: string + enum: + - active + - disabled + example: active + default: active + - name: created + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + - name: updated + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + responses: + '200': + description: VMNoSort_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/VMNoSort_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vmsnosort + post: + summary: Create VM resource + tags: + - VMNoSort + parameters: [] + responses: + '201': + description: VMNoSort_Create + content: + application/json: + schema: + $ref: '#/components/schemas/VMNoSort_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vmsnosort + requestBody: + description: VMNoSort_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/VMNoSort_Create' + /v1/vmsnosort/{VMNoSortUuid}: + get: + summary: Get VMNoSort + tags: + - VMNoSort + parameters: + - name: VMNoSortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: VMNoSort_Get + content: + application/json: + schema: + $ref: '#/components/schemas/VMNoSort_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vmsnosort_VMNoSortUuid + put: + summary: Update VMNoSort + tags: + - VMNoSort + parameters: + - name: VMNoSortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: VMNoSort_Update + content: + application/json: + schema: + $ref: '#/components/schemas/VMNoSort_Update' + default: + $ref: '#/components/responses/Error' + operationId: Update_v1_vmsnosort_VMNoSortUuid + requestBody: + description: VMNoSort_Update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/VMNoSort_Update' + delete: + summary: Delete VMNoSort + tags: + - VMNoSort + parameters: + - name: VMNoSortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: VMNoSort_Delete + default: + $ref: '#/components/responses/Error' + operationId: Delete_v1_vmsnosort_VMNoSortUuid +servers: + - url: http://127.0.0.1:11010 + description: '' + variables: + version: + enum: + - v1 + default: v1 +tags: + - name: functional-test + description: Just functional tests + externalDocs: + url: https://https://functional.tests/docs/ + description: Functional tests external documentation + - name: Port + description: '' + - name: IpAddress_tag + description: '' + - name: PortTestTag + description: port_descr + - name: Tag + description: '' + - name: VM + description: '' + - name: VMDefSort + description: '' + - name: VMNoProcessFilters + description: '' + - name: VMNoSort + description: '' diff --git a/docs/openapi/openapi_user_3.1.0.yaml b/docs/openapi/openapi_user_3.1.0.yaml new file mode 100644 index 00000000..ea0aaa8b --- /dev/null +++ b/docs/openapi/openapi_user_3.1.0.yaml @@ -0,0 +1,3022 @@ +openapi: 3.1.0 +jsonSchemaDialect: https://spec.openapis.org/oas/3.1/dialect/base +info: + title: REST API Microservice + version: latest + description: REST API Microservice for tests + termsOfService: https://functional.tests/terms/ + license: + name: Apache 2.0 + url: https://www.apache.org/licenses/LICENSE-2.0.html + contact: + name: Functional Tests + url: https://functional.tests/ + email: functional@tests.local +components: + responses: + Error: + description: Error response. + content: + application/json: + schema: + $ref: '#/components/schemas/Error' + schemas: + Error: + title: error + description: Error occurred while processing request + type: object + required: + - status + - json + properties: + status: + type: integer + description: The HTTP status code + minimum: 400 + exclusiveMaximum: true + example: 503 + json: + type: object + description: Detail error map + required: + - code + - type + - message + properties: + code: + type: integer + description: The HTTP status code + minimum: 400 + exclusiveMaximum: true + example: 503 + type: + type: string + description: Error class name + example: OSError + message: + type: string + description: Error message + example: A human-readable explanation of problem + example: + code: 400 + json: + code: 400 + type: ValidationErrorException + message: Validation error occurred. + VM_Create: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VM_Get: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VM_Filter: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VM_Update: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + Port_Create: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + mac: + type: string + pattern: ^([0-9a-fA-F]{2,2}:){5,5}[0-9a-fA-F]{2,2}$ + example: 00:00:00:00:00:00 + default: 00:00:00:00:00:00 + vm: + type: string + some-field2: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field3: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field4: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field5: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-after: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-any: + oneOf: + - type: string + - type: integer + - type: array + - type: boolean + - type: object + example: string + permission-field: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + readOnly: true + required: + - vm + Port_Filter: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + mac: + type: string + pattern: ^([0-9a-fA-F]{2,2}:){5,5}[0-9a-fA-F]{2,2}$ + example: 00:00:00:00:00:00 + default: 00:00:00:00:00:00 + vm: + type: string + some-field1: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field3: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field4: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field5: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + unique-field: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-after: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-any: + oneOf: + - type: string + - type: integer + - type: array + - type: boolean + - type: object + example: string + permission-field: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + readOnly: true + required: + - vm + Port_Get: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + mac: + type: string + pattern: ^([0-9a-fA-F]{2,2}:){5,5}[0-9a-fA-F]{2,2}$ + example: 00:00:00:00:00:00 + default: 00:00:00:00:00:00 + vm: + type: string + some-field1: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field2: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field4: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field5: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-after: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-any: + oneOf: + - type: string + - type: integer + - type: array + - type: boolean + - type: object + example: string + permission-field: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + readOnly: true + required: + - vm + Port_Update: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + mac: + type: string + pattern: ^([0-9a-fA-F]{2,2}:){5,5}[0-9a-fA-F]{2,2}$ + example: 00:00:00:00:00:00 + default: 00:00:00:00:00:00 + vm: + type: string + some-field1: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field2: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field3: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field5: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-after: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-any: + oneOf: + - type: string + - type: integer + - type: array + - type: boolean + - type: object + example: string + permission-field: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + readOnly: true + required: + - vm + IpAddress_Create: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + ip: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + default: 192.168.0.1 + port: + type: string + required: + - port + IpAddress_Filter: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + ip: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + default: 192.168.0.1 + port: + type: string + required: + - port + IpAddress_Get: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + ip: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + default: 192.168.0.1 + port: + type: string + required: + - port + Tag_Create: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + name: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + visible: + type: boolean + example: true + default: true + vm: + type: string + required: + - name + - vm + Tag_Filter: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + name: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + visible: + type: boolean + example: true + default: true + vm: + type: string + required: + - name + - vm + Tag_Get: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + name: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + visible: + type: boolean + example: true + default: true + vm: + type: string + required: + - name + - vm + Tag_Update: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + name: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + visible: + type: boolean + example: true + default: true + vm: + type: string + required: + - name + - vm + VMDefSort_Create: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMDefSort_Get: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMDefSort_Filter: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMDefSort_Update: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoProcessFilters_Get: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoProcessFilters_Filter: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoSort_Create: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoSort_Get: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoSort_Filter: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + VMNoSort_Update: + type: object + properties: + uuid: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + state: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + type: string + enum: + - active + - disabled + example: active + default: active + created: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + required: + - name + parameters: + VMUuid: + name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + state: + name: state + in: query + schema: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + name: + name: name + in: query + schema: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + just-none: + name: just-none + in: query + schema: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + status: + name: status + in: query + schema: + type: string + enum: + - active + - disabled + example: active + default: active + created: + name: created + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + updated: + name: updated + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + PortUuid: + name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + mac: + name: mac + in: query + schema: + type: string + pattern: ^([0-9a-fA-F]{2,2}:){5,5}[0-9a-fA-F]{2,2}$ + example: 00:00:00:00:00:00 + default: 00:00:00:00:00:00 + vm: + name: vm + in: query + schema: + type: string + never-call: + name: never-call + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + -hidden-field: + name: -hidden-field + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field1: + name: some-field1 + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field2: + name: some-field2 + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field3: + name: some-field3 + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field4: + name: some-field4 + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + some-field5: + name: some-field5 + in: query + schema: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + unique-field: + name: unique-field + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-after: + name: name-after + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + name-any: + name: name-any + in: query + schema: + oneOf: + - type: string + - type: integer + - type: array + - type: boolean + - type: object + example: string + permission-field: + name: permission-field + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + IpAddressUuid: + name: IpAddressUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + ip: + name: ip + in: query + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + default: 192.168.0.1 + port: + name: port + in: query + schema: + type: string + TagUuid: + name: TagUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + TagName: + name: TagName + in: path + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + required: true + visible: + name: visible + in: query + schema: + type: boolean + example: true + default: true + VMDefSortUuid: + name: VMDefSortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + VMNoProcessFiltersUuid: + name: VMNoProcessFiltersUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + VMNoSortUuid: + name: VMNoSortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true +paths: + /: + get: + summary: Base application url + responses: + '200': + description: Get nested urls + content: + application/json: + schema: + type: array + items: + type: string + default: + $ref: '#/components/responses/Error' + operationId: Get_urls + /specifications/: + get: + summary: Get OpenApiSpecificationRoute OpenApiSpecificationControllers + tags: [] + parameters: [] + responses: + '200': + description: Get nested urls + content: + application/json: + schema: + type: array + items: + type: string + default: + $ref: '#/components/responses/Error' + operationId: Filter_specifications + /specifications/3.0.3: + get: + summary: OpenApi specification + tags: [] + parameters: [] + responses: + '200': + description: OpenApi specification + content: + application/json: + schema: + type: object + properties: {} + default: + $ref: '#/components/responses/Error' + operationId: Get_OpenApi_specification + /specifications/3.1.0: + get: + summary: OpenApi specification + tags: [] + parameters: [] + responses: + '200': + description: OpenApi specification + content: + application/json: + schema: + type: object + properties: {} + default: + $ref: '#/components/responses/Error' + operationId: Get_OpenApi_specification + /v1/: + get: + summary: Returns a list of all routes in the main route that are + collection + tags: [] + parameters: + - name: filters + description: "the filters to apply when filtering the routes (Is not\nimplemented + now)\n" + schema: + type: string + in: query + - name: order_by + description: "fields to order the routes by (Is not implemented\nnow)\n" + schema: + type: string + in: query + responses: + '200': + description: Get nested urls + content: + application/json: + schema: + type: array + items: + type: string + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1 + /v1/notimplementedmethods/: + get: + summary: method filter was implemented for testing base error message + tags: [] + parameters: [] + responses: + '200': + description: Get nested urls + content: + application/json: + schema: + type: array + items: + type: string + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_notimplementedmethods + post: + summary: Create NotImplementedMethodsRoute NotImplementedMethodsController + tags: [] + parameters: [] + responses: + '201': + description: Unknown_Create + content: + application/json: + schema: + $ref: '#/components/schemas/Unknown_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_notimplementedmethods + requestBody: + description: Unknown_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Unknown_Create' + /v1/vms/: + get: + summary: Get VMs + tags: + - VM + parameters: + - name: state + in: query + schema: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + - name: name + in: query + schema: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + - name: just-none + in: query + schema: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + - name: status + in: query + schema: + type: string + enum: + - active + - disabled + example: active + default: active + - name: created + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + - name: updated + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + responses: + '200': + description: VM_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/VM_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vms + post: + summary: Create VM resource + tags: + - VM + parameters: [] + responses: + '201': + description: VM_Create + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vms + requestBody: + description: VM_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Create' + /v1/vms/{VMUuid}: + get: + summary: Get VM + tags: + - VM + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: VM_Get + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vms_VMUuid + put: + summary: Update VM + tags: + - VM + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: VM_Update + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Update' + default: + $ref: '#/components/responses/Error' + operationId: Update_v1_vms_VMUuid + requestBody: + description: VM_Update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Update' + delete: + summary: Delete VM + tags: + - VM + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: VM_Delete + default: + $ref: '#/components/responses/Error' + operationId: Delete_v1_vms_VMUuid + /v1/vms/{VMUuid}/none_ports/: + get: + summary: Get Ports + tags: + - Port + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Port_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Port_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vms_VMUuid_none_ports + post: + summary: Create Port + tags: + - Port + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '201': + description: Port_Create + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vms_VMUuid_none_ports + requestBody: + description: Port_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Create' + /v1/vms/{VMUuid}/none_ports/{PortUuid}: + get: + summary: Get Port + tags: + - Port + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Port_Get + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vms_VMUuid_none_ports_PortUuid + put: + summary: Update Port + tags: + - Port + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Port_Update + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Update' + default: + $ref: '#/components/responses/Error' + operationId: Update_v1_vms_VMUuid_none_ports_PortUuid + requestBody: + description: Port_Update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Update' + delete: + summary: Delete Port + tags: + - Port + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: Port_Delete + default: + $ref: '#/components/responses/Error' + operationId: Delete_v1_vms_VMUuid_none_ports_PortUuid + /v1/vms/{VMUuid}/none_ports/{PortUuid}/ip_addresses/: + get: + summary: Get IpAddresss + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: IpAddress_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IpAddress_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vms_VMUuid_none_ports_PortUuid_ip_addresses + post: + summary: Create IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '201': + description: IpAddress_Create + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vms_VMUuid_none_ports_PortUuid_ip_addresses + requestBody: + description: IpAddress_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Create' + /v1/vms/{VMUuid}/none_ports/{PortUuid}/ip_addresses/{IpAddressUuid}: + get: + summary: Get IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: IpAddressUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: IpAddress_Get + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Get' + default: + $ref: '#/components/responses/Error' + operationId: + Get_v1_vms_VMUuid_none_ports_PortUuid_ip_addresses_IpAddressUuid + delete: + summary: Delete IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: IpAddressUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: IpAddress_Delete + default: + $ref: '#/components/responses/Error' + operationId: + Delete_v1_vms_VMUuid_none_ports_PortUuid_ip_addresses_IpAddressUuid + /v1/vms/{VMUuid}/ports/: + get: + summary: Get Ports + tags: + - PortTestTag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Port_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Port_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vms_VMUuid_ports + post: + summary: Create Port + tags: + - PortTestTag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '201': + description: Port_Create + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vms_VMUuid_ports + requestBody: + description: Port_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Create' + /v1/vms/{VMUuid}/ports/{PortUuid}: + get: + summary: Get Port + tags: + - PortTestTag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Port_Get + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vms_VMUuid_ports_PortUuid + put: + summary: Update Port + tags: + - PortTestTag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Port_Update + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Update' + default: + $ref: '#/components/responses/Error' + operationId: Update_v1_vms_VMUuid_ports_PortUuid + requestBody: + description: Port_Update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Port_Update' + delete: + summary: Delete Port + tags: + - PortTestTag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: Port_Delete + default: + $ref: '#/components/responses/Error' + operationId: Delete_v1_vms_VMUuid_ports_PortUuid + /v1/vms/{VMUuid}/ports/{PortUuid}/ip_addresses/: + get: + summary: Get IpAddresss + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: IpAddress_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/IpAddress_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vms_VMUuid_ports_PortUuid_ip_addresses + post: + summary: Create IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '201': + description: IpAddress_Create + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vms_VMUuid_ports_PortUuid_ip_addresses + requestBody: + description: IpAddress_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Create' + /v1/vms/{VMUuid}/ports/{PortUuid}/ip_addresses/{IpAddressUuid}: + get: + summary: Get IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: IpAddressUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: IpAddress_Get + content: + application/json: + schema: + $ref: '#/components/schemas/IpAddress_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vms_VMUuid_ports_PortUuid_ip_addresses_IpAddressUuid + delete: + summary: Delete IpAddress + tags: + - IpAddress_tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: PortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: IpAddressUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: IpAddress_Delete + default: + $ref: '#/components/responses/Error' + operationId: + Delete_v1_vms_VMUuid_ports_PortUuid_ip_addresses_IpAddressUuid + /v1/vms/{VMUuid}/tags/: + get: + summary: Get Tags + tags: + - Tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Tag_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/Tag_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vms_VMUuid_tags + post: + summary: Create Tag + tags: + - Tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '201': + description: Tag_Create + content: + application/json: + schema: + $ref: '#/components/schemas/Tag_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vms_VMUuid_tags + requestBody: + description: Tag_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Tag_Create' + /v1/vms/{VMUuid}/tags/{TagName}: + get: + summary: Get Tag + tags: + - Tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: TagName + in: path + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + required: true + responses: + '200': + description: Tag_Get + content: + application/json: + schema: + $ref: '#/components/schemas/Tag_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vms_VMUuid_tags_TagName + put: + summary: Update Tag + tags: + - Tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: TagName + in: path + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + required: true + responses: + '200': + description: Tag_Update + content: + application/json: + schema: + $ref: '#/components/schemas/Tag_Update' + default: + $ref: '#/components/responses/Error' + operationId: Update_v1_vms_VMUuid_tags_TagName + requestBody: + description: Tag_Update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/Tag_Update' + delete: + summary: Delete Tag + tags: + - Tag + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + - name: TagName + in: path + schema: + type: string + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + required: true + responses: + '204': + description: Tag_Delete + default: + $ref: '#/components/responses/Error' + operationId: Delete_v1_vms_VMUuid_tags_TagName + /v1/vms/{VMUuid}/actions/ip_addresses: + get: + summary: Ip_addresses IpAddress + tags: + - VM + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Get nested urls + content: + application/json: + schema: {} + default: + $ref: '#/components/responses/Error' + operationId: Ip_addresses_v1_vms_VMUuid_actions_ip_addresses + /v1/vms/{VMUuid}/actions/power/invoke: + post: + summary: Power VM + tags: + - VM + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Get nested urls + content: + application/json: + schema: {} + default: + $ref: '#/components/responses/Error' + operationId: Power_v1_vms_VMUuid_actions_power_invoke + /v1/vms/{VMUuid}/actions/power_state: + get: + summary: Power_state VM + tags: + - VM + parameters: + - name: VMUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: Get nested urls + content: + application/json: + schema: {} + default: + $ref: '#/components/responses/Error' + operationId: Power_state_v1_vms_VMUuid_actions_power_state + /v1/vms/{VMUuid}/actions/poweroff/invoke: + post: + summary: Power off virtual machine + tags: + - VM + parameters: + - name: VMUuid + description: '' + in: path + schema: + type: string + required: true + responses: + '200': + description: VM_Create + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Create' + default: + $ref: '#/components/responses/Error' + operationId: Poweroff_v1_vms_VMUuid_actions_poweroff_invoke + /v1/vms/{VMUuid}/actions/poweron/invoke: + post: + summary: Power on virtual machine + tags: + - VM + parameters: + - name: VMUuid + description: '' + in: path + schema: + type: string + required: true + responses: + '200': + description: VM_Create + content: + application/json: + schema: + $ref: '#/components/schemas/VM_Create' + default: + $ref: '#/components/responses/Error' + operationId: Poweron_v1_vms_VMUuid_actions_poweron_invoke + /v1/vmsdefsort/: + get: + summary: Get VMDefSorts + tags: + - VMDefSort + parameters: + - name: state + in: query + schema: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + - name: name + in: query + schema: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + - name: just-none + in: query + schema: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + - name: status + in: query + schema: + type: string + enum: + - active + - disabled + example: active + default: active + - name: created + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + - name: updated + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + responses: + '200': + description: VMDefSort_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/VMDefSort_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vmsdefsort + post: + summary: Create VM resource + tags: + - VMDefSort + parameters: [] + responses: + '201': + description: VMDefSort_Create + content: + application/json: + schema: + $ref: '#/components/schemas/VMDefSort_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vmsdefsort + requestBody: + description: VMDefSort_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/VMDefSort_Create' + /v1/vmsdefsort/{VMDefSortUuid}: + get: + summary: Get VMDefSort + tags: + - VMDefSort + parameters: + - name: VMDefSortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: VMDefSort_Get + content: + application/json: + schema: + $ref: '#/components/schemas/VMDefSort_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vmsdefsort_VMDefSortUuid + put: + summary: Update VMDefSort + tags: + - VMDefSort + parameters: + - name: VMDefSortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: VMDefSort_Update + content: + application/json: + schema: + $ref: '#/components/schemas/VMDefSort_Update' + default: + $ref: '#/components/responses/Error' + operationId: Update_v1_vmsdefsort_VMDefSortUuid + requestBody: + description: VMDefSort_Update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/VMDefSort_Update' + delete: + summary: Delete VMDefSort + tags: + - VMDefSort + parameters: + - name: VMDefSortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: VMDefSort_Delete + default: + $ref: '#/components/responses/Error' + operationId: Delete_v1_vmsdefsort_VMDefSortUuid + /v1/vmsnoproccessfilters/: + get: + summary: Get VMNoProcessFilterss + tags: + - VMNoProcessFilters + parameters: + - name: state + in: query + schema: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + - name: name + in: query + schema: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + - name: just-none + in: query + schema: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + - name: status + in: query + schema: + type: string + enum: + - active + - disabled + example: active + default: active + - name: created + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + - name: updated + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + responses: + '200': + description: VMNoProcessFilters_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/VMNoProcessFilters_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vmsnoproccessfilters + /v1/vmsnoproccessfilters/{VMNoProcessFiltersUuid}: + get: + summary: Get VMNoProcessFilters + tags: + - VMNoProcessFilters + parameters: + - name: VMNoProcessFiltersUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: VMNoProcessFilters_Get + content: + application/json: + schema: + $ref: '#/components/schemas/VMNoProcessFilters_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vmsnoproccessfilters_VMNoProcessFiltersUuid + /v1/vmsnosort/: + get: + summary: Get VMNoSorts + tags: + - VMNoSort + parameters: + - name: state + in: query + schema: + type: string + minLength: 0 + maxLength: 10 + example: any_string + default: off + - name: name + in: query + schema: + type: string + minLength: 0 + maxLength: 255 + example: any_string + examples: + - testname + - name: just-none + in: query + schema: + type: + - string + - 'null' + minLength: 0 + maxLength: 9223372036854775807 + example: any_string + - name: status + in: query + schema: + type: string + enum: + - active + - disabled + example: active + default: active + - name: created + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + readOnly: true + default: '2006-01-02T15:04:05.000576Z' + - name: updated + in: query + schema: + type: string + x-ogen-time-format: '2006-01-02T15:04:05.000576Z' + example: '2006-01-02T15:04:05.000576Z' + format: date-time + default: '2006-01-02T15:04:05.000576Z' + responses: + '200': + description: VMNoSort_Filter + content: + application/json: + schema: + type: array + items: + $ref: '#/components/schemas/VMNoSort_Filter' + default: + $ref: '#/components/responses/Error' + operationId: Filter_v1_vmsnosort + post: + summary: Create VM resource + tags: + - VMNoSort + parameters: [] + responses: + '201': + description: VMNoSort_Create + content: + application/json: + schema: + $ref: '#/components/schemas/VMNoSort_Create' + default: + $ref: '#/components/responses/Error' + operationId: Create_v1_vmsnosort + requestBody: + description: VMNoSort_Create + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/VMNoSort_Create' + /v1/vmsnosort/{VMNoSortUuid}: + get: + summary: Get VMNoSort + tags: + - VMNoSort + parameters: + - name: VMNoSortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: VMNoSort_Get + content: + application/json: + schema: + $ref: '#/components/schemas/VMNoSort_Get' + default: + $ref: '#/components/responses/Error' + operationId: Get_v1_vmsnosort_VMNoSortUuid + put: + summary: Update VMNoSort + tags: + - VMNoSort + parameters: + - name: VMNoSortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '200': + description: VMNoSort_Update + content: + application/json: + schema: + $ref: '#/components/schemas/VMNoSort_Update' + default: + $ref: '#/components/responses/Error' + operationId: Update_v1_vmsnosort_VMNoSortUuid + requestBody: + description: VMNoSort_Update + required: true + content: + application/json: + schema: + $ref: '#/components/schemas/VMNoSort_Update' + delete: + summary: Delete VMNoSort + tags: + - VMNoSort + parameters: + - name: VMNoSortUuid + in: path + schema: + type: string + example: 00000000-0000-0000-0000-000000000000 + format: uuid + readOnly: true + required: true + responses: + '204': + description: VMNoSort_Delete + default: + $ref: '#/components/responses/Error' + operationId: Delete_v1_vmsnosort_VMNoSortUuid +servers: + - url: http://127.0.0.1:11010 + description: '' + variables: + version: + enum: + - v1 + default: v1 +tags: + - name: functional-test + description: Just functional tests + externalDocs: + url: https://https://functional.tests/docs/ + description: Functional tests external documentation + - name: Port + description: '' + - name: IpAddress_tag + description: '' + - name: PortTestTag + description: port_descr + - name: Tag + description: '' + - name: VM + description: '' + - name: VMDefSort + description: '' + - name: VMNoProcessFilters + description: '' + - name: VMNoSort + description: '' diff --git a/exordos_core/tests/manual/openapi/test_openapi.py b/exordos_core/tests/manual/openapi/test_openapi.py index 7048be0d..ee1654f8 100644 --- a/exordos_core/tests/manual/openapi/test_openapi.py +++ b/exordos_core/tests/manual/openapi/test_openapi.py @@ -22,7 +22,11 @@ from exordos_core.common.utils import PROJECT_PATH -SPECIFICATIONS_PATH = "specifications/3.0.3" + +OPENAPI_VERSION_3_0_3 = "3.0.3" +OPENAPI_VERSION_3_1_0 = "3.1.0" +OPENAPI_VERSIONS = [OPENAPI_VERSION_3_0_3, OPENAPI_VERSION_3_1_0] +SPECIFICATIONS_PATH = "specifications/" yaml = ruamel.yaml.YAML() yaml.indent(sequence=4, offset=2) @@ -43,19 +47,20 @@ def test_user_openapi( ): # User API client = user_api_client(auth_user_admin) - url = f"{user_api.get_endpoint()}{SPECIFICATIONS_PATH}" - response = client.get(url, timeout=30) - assert response.status_code == 200 + for version in OPENAPI_VERSIONS: + url = f"{user_api.get_endpoint()}{SPECIFICATIONS_PATH}{version}" + response = client.get(url, timeout=30) + assert response.status_code == 200 - path = os.path.join(PROJECT_PATH, "docs", "openapi", "openapi_user.yaml") - spec = response.json() - spec["servers"][0]["url"] = "http://127.0.0.1:11010" - spec["info"]["version"] = "latest" - with open(path, "w") as f: - yaml.dump(spec, f) + path = os.path.join(PROJECT_PATH, "docs", "openapi", f"openapi_user_{version}.yaml") + spec = response.json() + spec["servers"][0]["url"] = "http://127.0.0.1:11010" + spec["info"]["version"] = "latest" + with open(path, "w") as f: + yaml.dump(spec, f) # Boot API - url = f"{boot_api_service.get_endpoint()}{SPECIFICATIONS_PATH}" + url = f"{boot_api_service.get_endpoint()}{SPECIFICATIONS_PATH}{OPENAPI_VERSION_3_1_0}" response = boot_api_noauth_client.get( url, ) @@ -68,7 +73,7 @@ def test_user_openapi( yaml.dump(spec, f) # Orch API - url = f"{orch_api_service.get_endpoint()}{SPECIFICATIONS_PATH}" + url = f"{orch_api_service.get_endpoint()}{SPECIFICATIONS_PATH}{OPENAPI_VERSION_3_1_0}" response = orch_api_noauth_client.get( url, headers={ @@ -86,7 +91,7 @@ def test_user_openapi( yaml.dump(spec, f) # Status API - url = f"{status_api_service.get_endpoint()}{SPECIFICATIONS_PATH}" + url = f"{status_api_service.get_endpoint()}{SPECIFICATIONS_PATH}{OPENAPI_VERSION_3_1_0}" response = status_api_noauth_client.get( url, headers={