Examples

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": []
}

Params

Param Name Description
location_id
Optional

Scope met locaties

Validations:

  • Must be a Integer

organization_id
Optional

Scope met organisaties

Validations:

  • Must be a Integer

architecture
Required

Validations:

  • Must be a Hash

architecture[name]
Required

Validations:

  • Must be a String

architecture[operatingsystem_ids]
Optional , <span class="translation_missing" title="translation missing: nl-NL.apipie.nil_allowed">Nil Allowed</span>

Besturingssysteem IDs

Validations:

  • Must be an array of any type