GET /api/ptables
Список всех таблиц разделов

GET /api/operatingsystems/:operatingsystem_id/ptables
Список всех таблиц разделов для операционной системы

Params

Param Name Description
operatingsystem_id
Optional

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


Value: Must be String
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/ptables/: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/ptables
Создать таблицу разделов

Params

Param Name Description
ptable
Required

Value: Must be a Hash
ptable[name]
Required

Value: Must be String
ptable[layout]
Required

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

Value: Must be String

PUT /api/ptables/:id
Изменить таблицу разделов

Params

Param Name Description
id
Required

Value: Must be String
ptable
Required

Value: Must be a Hash
ptable[name]
Optional

Value: Must be String
ptable[layout]
Optional

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

Value: Must be String

DELETE /api/ptables/:id
Удалить таблицу разделов

Params

Param Name Description
id
Required

Value: Must be String