GET /api/compute_resources/:compute_resource_id/images
Alle Abbilder für eine Rechenressource auflisten

GET /api/operatingsystems/:operatingsystem_id/images
Alle Abbilder für das Betriebssystem auflisten

GET /api/architectures/:architecture_id/images
Alle Abbilder für die Architektur auflisten

Beispiele

GET /api/compute_resources/980190962/images
200
{
  "total": 2,
  "subtotal": 2,
  "page": 1,
  "per_page": 20,
  "search": null,
  "sort": {
    "by": null,
    "order": null
  },
  "results": [
    {
      "operatingsystem_id": 309172073,
      "operatingsystem_name": "centos 5.3",
      "compute_resource_id": 980190962,
      "compute_resource_name": "bigcompute",
      "architecture_id": 501905019,
      "architecture_name": "x86_64",
      "uuid": "string-of-uuid",
      "username": "root",
      "created_at": "2019-11-07 08:38:40 UTC",
      "updated_at": "2019-11-07 08:38:40 UTC",
      "id": 980190962,
      "name": "centos-1"
    },
    {
      "operatingsystem_id": 309172073,
      "operatingsystem_name": "centos 5.3",
      "compute_resource_id": 980190962,
      "compute_resource_name": "bigcompute",
      "architecture_id": 501905019,
      "architecture_name": "x86_64",
      "uuid": "MyString2",
      "username": "MyString",
      "created_at": "2019-11-07 08:38:40 UTC",
      "updated_at": "2019-11-07 08:38:40 UTC",
      "id": 298486374,
      "name": "centos-2"
    }
  ]
}

Parameter

Parametername Beschreibung
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

compute_resource_id
optional

Kennung der Rechenressource

Validations:

  • Must be a String

architecture_id
optional

Kennung der Architektur

Validations:

  • Must be a String

operatingsystem_id
optional

Kennung des Betriebssystems

Validations:

  • Must be a String

search
optional

Ergebnisse filtern

Validations:

  • Must be a String

order
optional

Feld und Reihenfolge sortieren, z.B. ‘id DESC’

Validations:

  • Must be a String

page
optional

Seitennummer, beginnend bei 1

Validations:

  • Must be a number.

per_page
optional

Anzahl der angezeigten Ergebnisse pro Seite

Validations:

  • Must be a number.

Suchfelder

Feld Name Typ Mögliche Werte
architecture integer
compute_resource string
name string
operatingsystem integer
user_data true, false
username string

GET /api/compute_resources/:compute_resource_id/images/:id
Abbild anzeigen

GET /api/operatingsystems/:operatingsystem_id/images/:id
Abbild anzeigen

GET /api/architectures/:architecture_id/images/:id
Abbild anzeigen

Beispiele

GET /api/compute_resources/980190962/images/980190962
200
{
  "operatingsystem_id": 309172073,
  "operatingsystem_name": "centos 5.3",
  "compute_resource_id": 980190962,
  "compute_resource_name": "bigcompute",
  "architecture_id": 501905019,
  "architecture_name": "x86_64",
  "uuid": "string-of-uuid",
  "username": "root",
  "created_at": "2019-11-07 08:38:40 UTC",
  "updated_at": "2019-11-07 08:38:40 UTC",
  "id": 980190962,
  "name": "centos-1"
}

Parameter

Parametername Beschreibung
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
verpflichtend

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
optional

Kennung der Rechenressource

Validations:

  • Must be a String

architecture_id
optional

Kennung der Architektur

Validations:

  • Must be a String

operatingsystem_id
optional

Kennung des Betriebssystems

Validations:

  • Must be a String


POST /api/compute_resources/:compute_resource_id/images
Ein Abbild erstellen

Beispiele

POST /api/compute_resources/980190962/images
{
  "image": {
    "name": "TestImage",
    "username": "ec2-user",
    "uuid": "abcdef",
    "password": "password",
    "operatingsystem_id": 309172073,
    "compute_resource_id": 928692541,
    "architecture_id": 331892513,
    "user_data": true
  }
}
201
{
  "operatingsystem_id": 309172073,
  "operatingsystem_name": "centos 5.3",
  "compute_resource_id": 980190962,
  "compute_resource_name": "bigcompute",
  "architecture_id": 331892513,
  "architecture_name": "sparc",
  "uuid": "abcdef",
  "username": "ec2-user",
  "created_at": "2019-11-07 08:38:41 UTC",
  "updated_at": "2019-11-07 08:38:41 UTC",
  "id": 980190963,
  "name": "TestImage"
}

Parameter

Parametername Beschreibung
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

compute_resource_id
verpflichtend

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
verpflichtend

Validations:

  • Must be a Hash

image[name]
verpflichtend

Validations:

  • Must be a String

image[username]
verpflichtend

Validations:

  • Must be a String

image[uuid]
verpflichtend

Vorlagenkennung in der Rechnerressource

Validations:

  • Must be a String

image[password]
optional , nil erlaubt

Validations:

  • Must be a String

image[compute_resource_id]
optional , nil erlaubt

Kennung der Rechenressource

Validations:

  • Must be a String

image[architecture_id]
optional , nil erlaubt

Kennung der Architektur

Validations:

  • Must be a String

image[operatingsystem_id]
optional , nil erlaubt

Kennung des Betriebssystems

Validations:

  • Must be a String

image[user_data]
optional , nil erlaubt

Ob das Abbild Benutzerdaten unterstützt

Validations:

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


PUT /api/compute_resources/:compute_resource_id/images/:id
Abbild aktualisieren

Beispiele

PUT /api/compute_resources/980190962/images/980190962
{
  "image": {}
}
200
{
  "operatingsystem_id": 309172073,
  "operatingsystem_name": "centos 5.3",
  "compute_resource_id": 980190962,
  "compute_resource_name": "bigcompute",
  "architecture_id": 501905019,
  "architecture_name": "x86_64",
  "uuid": "string-of-uuid",
  "username": "root",
  "created_at": "2019-11-07 08:38:40 UTC",
  "updated_at": "2019-11-07 08:38:40 UTC",
  "id": 980190962,
  "name": "centos-1"
}

Parameter

Parametername Beschreibung
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

compute_resource_id
verpflichtend

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
verpflichtend

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
verpflichtend

Validations:

  • Must be a Hash

image[name]
optional

Validations:

  • Must be a String

image[username]
optional

Validations:

  • Must be a String

image[uuid]
optional

Vorlagenkennung in der Rechnerressource

Validations:

  • Must be a String

image[password]
optional , nil erlaubt

Validations:

  • Must be a String

image[compute_resource_id]
optional , nil erlaubt

Kennung der Rechenressource

Validations:

  • Must be a String

image[architecture_id]
optional , nil erlaubt

Kennung der Architektur

Validations:

  • Must be a String

image[operatingsystem_id]
optional , nil erlaubt

Kennung des Betriebssystems

Validations:

  • Must be a String

image[user_data]
optional , nil erlaubt

Ob das Abbild Benutzerdaten unterstützt

Validations:

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


DELETE /api/compute_resources/:compute_resource_id/images/:id
Abbild löschen

Beispiele

DELETE /api/compute_resources/980190962/images/980190962
{
  "image": {}
}
200
{
  "id": 980190962,
  "operatingsystem_id": 309172073,
  "compute_resource_id": 980190962,
  "architecture_id": 501905019,
  "uuid": "string-of-uuid",
  "username": "root",
  "name": "centos-1",
  "created_at": "2019-11-07T08:38:40.931Z",
  "updated_at": "2019-11-07T08:38:40.931Z",
  "iam_role": null,
  "user_data": false,
  "password": null
}

Parameter

Parametername Beschreibung
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

compute_resource_id
verpflichtend

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
verpflichtend

Validations:

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