GET /api/architectures
Lista wszystkich architektur

GET /api/operatingsystems/:operatingsystem_id/architectures
Wszystkie architektury dla danego systemu

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

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.

operatingsystem_id
opcjonalny

ID systemów operacyjnych

Validations:

  • Must be a String

Search fields

Field name Typ Possible values
name

GET /api/architectures/:id
Pokaż architekturę

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.


POST /api/architectures
Stwórz architekturę

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

architecture
wymagany

Validations:

  • Must be a Hash

architecture[name]
wymagany

Validations:

  • Must be a String

architecture[operatingsystem_ids]
opcjonalny , nil dopuszczalny

ID systemu operacyjnego

Validations:

  • Must be an array of any type


PUT /api/architectures/:id
Zaktualizuj architekturę

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.

architecture
wymagany

Validations:

  • Must be a Hash

architecture[name]
opcjonalny

Validations:

  • Must be a String

architecture[operatingsystem_ids]
opcjonalny , nil dopuszczalny

ID systemu operacyjnego

Validations:

  • Must be an array of any type


DELETE /api/architectures/:id
Usuń architekturę

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.