GET /api/bookmarks
Список всех закладок

Params

Param Name Description
page
Optional

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


Value: Must be String
per_page
Optional

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


Value: Must be String

GET /api/bookmarks/: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/bookmarks
Создать закладку

Params

Param Name Description
bookmark
Required

Value: Must be a Hash
bookmark[name]
Required

Value: Must be String
bookmark[controller]
Required

Value: Must be String
bookmark[query]
Required

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

Value: Must be 'true' or 'false'

PUT /api/bookmarks/: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.
bookmark
Required

Value: Must be a Hash
bookmark[name]
Optional

Value: Must be String
bookmark[controller]
Optional

Value: Must be String
bookmark[query]
Optional

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

Value: Must be 'true' or 'false'

DELETE /api/bookmarks/: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.