GET /api/compute_resources/:compute_resource_id/images
Lista wszystkich obrazów dla zasobów obliczeniowych

GET /api/operatingsystems/:operatingsystem_id/images
Lista wszystkich obrazów dla systemu operacyjnego

GET /api/architectures/:architecture_id/images
Lista wszystkich obrazów dla architektury

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

compute_resource_id
opcjonalny

ID zasobu obliczeniowego

Validations:

  • Must be a String

architecture_id
opcjonalny

ID architektury

Validations:

  • Must be a String

operatingsystem_id
opcjonalny

ID systemów operacyjnych

Validations:

  • Must be a String

search
opcjonalny

rezultat filtrowania

Validations:

  • Must be a String

order
opcjonalny

Sort field and order, eg. ‘id DESC’

Validations:

  • Must be a String

page
opcjonalny

Page number, starting at 1

Validations:

  • Must be a number.

per_page
opcjonalny

Number of results per page to return

Validations:

  • Must be a number.

Search fields

Field name Typ Possible values
architecture
compute_resource
name
operatingsystem
user_data true, false
username

GET /api/compute_resources/:compute_resource_id/images/:id
Pokaż obraz

GET /api/operatingsystems/:operatingsystem_id/images/:id
Pokaż obraz

GET /api/architectures/:architecture_id/images/:id
Pokaż obraz

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

id
wymagany

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

compute_resource_id
opcjonalny

ID zasobu obliczeniowego

Validations:

  • Must be a String

architecture_id
opcjonalny

ID architektury

Validations:

  • Must be a String

operatingsystem_id
opcjonalny

ID systemów operacyjnych

Validations:

  • Must be a String


POST /api/compute_resources/:compute_resource_id/images
Pokaż obraz

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

compute_resource_id
wymagany

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

image
wymagany

Validations:

  • Must be a Hash

image[name]
wymagany

Validations:

  • Must be a String

image[username]
wymagany

Validations:

  • Must be a String

image[uuid]
wymagany

Template ID in the compute resource

Validations:

  • Must be a String

image[password]
opcjonalny , nil dopuszczalny

Validations:

  • Must be a String

image[compute_resource_id]
opcjonalny , nil dopuszczalny

ID zasobu obliczeniowego

Validations:

  • Must be a String

image[architecture_id]
opcjonalny , nil dopuszczalny

ID architektury

Validations:

  • Must be a String

image[operatingsystem_id]
opcjonalny , nil dopuszczalny

ID systemów operacyjnych

Validations:

  • Must be a String

image[user_data]
opcjonalny , nil dopuszczalny

Obsługuje lub nie dane użytkownika

Validations:

  • Must be one of: true, false, 1, 0.


PUT /api/compute_resources/:compute_resource_id/images/:id
Aktualizuj obraz

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

compute_resource_id
wymagany

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

id
wymagany

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

image
wymagany

Validations:

  • Must be a Hash

image[name]
opcjonalny

Validations:

  • Must be a String

image[username]
opcjonalny

Validations:

  • Must be a String

image[uuid]
opcjonalny

Template ID in the compute resource

Validations:

  • Must be a String

image[password]
opcjonalny , nil dopuszczalny

Validations:

  • Must be a String

image[compute_resource_id]
opcjonalny , nil dopuszczalny

ID zasobu obliczeniowego

Validations:

  • Must be a String

image[architecture_id]
opcjonalny , nil dopuszczalny

ID architektury

Validations:

  • Must be a String

image[operatingsystem_id]
opcjonalny , nil dopuszczalny

ID systemów operacyjnych

Validations:

  • Must be a String

image[user_data]
opcjonalny , nil dopuszczalny

Obsługuje lub nie dane użytkownika

Validations:

  • Must be one of: true, false, 1, 0.


DELETE /api/compute_resources/:compute_resource_id/images/:id
Usuń obraz

Parametry

Nazwa parametru Opis
location_id
opcjonalny

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcjonalny

Set the current organization context for the request

Validations:

  • Must be a Integer

compute_resource_id
wymagany

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

id
wymagany

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.