GET /api/architectures
List all architectures.

Params

Param Name Description
search
Optional

отфильтровать результаты


Value: Must be String
order
Optional

отсортировать результаты


Value: Must be String
page
Optional

разместить результат на нескольких страницах


Value: Must be String
per_page
Optional

количество записей на запрос


Value: Must be String

GET /api/architectures/:id
Show an architecture.

Params

Param Name Description
id
Required

Value: 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
Create an architecture.

Params

Param Name Description
architecture
Required

Value: Must be a Hash
architecture[name]
Required

Value: Must be String
architecture[operatingsystem_ids]
Optional

Operatingsystem ID's


Value: Must be an array of any type

PUT /api/architectures/:id
Update an architecture.

Params

Param Name Description
id
Required

Value: 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

Value: Must be a Hash
architecture[name]
Optional

Value: Must be String
architecture[operatingsystem_ids]
Optional

Operatingsystem ID's


Value: Must be an array of any type

DELETE /api/architectures/:id
Delete an architecture.

Params

Param Name Description
id
Required

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