GET /api/architectures
Список всех архитектур

GET /api/operatingsystems/:operatingsystem_id/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
operatingsystem_id
Optional

Код операционной системы


Value: Must be String

GET /api/architectures/:id
Показать в архитектурах

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
Создать архитектуру

Params

Param Name Description
architecture
Required

Value: Must be a Hash
architecture[name]
Required

Value: Must be String
architecture[operatingsystem_ids]
Optional , <span class="translation_missing" title="translation missing: ru.apipie.nil_allowed">Nil Allowed</span>

Коды операционных систем


Value: Must be an array of any type

PUT /api/architectures/:id
Изменить архитектуру

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 , <span class="translation_missing" title="translation missing: ru.apipie.nil_allowed">Nil Allowed</span>

Коды операционных систем


Value: Must be an array of any type

DELETE /api/architectures/:id
Удалить архитектуру

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.