GET /api/bookmarks
ブックマーク一覧

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/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: ja.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: ja.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.