Esempi

POST /api/architectures
{
  "architecture": {
    "name": "i386"
  }
}
201
{
  "created_at": "2019-09-11 14:40:35 UTC",
  "updated_at": "2019-09-11 14:40:35 UTC",
  "name": "i386",
  "id": 578327784,
  "operatingsystems": [],
  "images": []
}

Parametri

Nome parametro Descrizione
location_id
opzionale

Scopo per posizioni

Validations:

  • Must be a Integer

organization_id
opzionale

Scopo per organizzazioni

Validations:

  • Must be a Integer

architecture
richiesto

Validations:

  • Must be a Hash

architecture[name]
richiesto

Validations:

  • Must be a String

architecture[operatingsystem_ids]
opzionale , consentito nil

ID dei sistemi operativi

Validations:

  • Must be an array of any type