GET /api/architectures
Lista alla arkitekturer

GET /api/operatingsystems/:operatingsystem_id/architectures
Lista alla arkitekturer för operativsystem

Params

Param name Description
search
optional

filtrera resultat

Validations:

  • Must be a String

order
optional

sortera resultat

Validations:

  • Must be a String

page
optional

paginate results

Validations:

  • Must be a String

per_page
optional

antal poster per begäran

Validations:

  • Must be a String

operatingsystem_id
optional

ID of operating system

Validations:

  • Must be a String


GET /api/architectures/:id
Visa en arkitektur

Params

Param name Description
id
required

Validations:

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


POST /api/architectures
Skapa en arkitektur

Params

Param name Description
architecture
required

Validations:

  • Must be a Hash

architecture[name]
required

Validations:

  • Must be a String

architecture[operatingsystem_ids]
optional , nil allowed

Operating system IDs

Validations:

  • Must be an array of any type


PUT /api/architectures/:id
Uppdatera en arkitektur

Params

Param name Description
id
required

Validations:

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

architecture
required

Validations:

  • Must be a Hash

architecture[name]
optional

Validations:

  • Must be a String

architecture[operatingsystem_ids]
optional , nil allowed

Operating system IDs

Validations:

  • Must be an array of any type


DELETE /api/architectures/:id
Radera en arkitektur

Params

Param name Description
id
required

Validations:

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