GET /api/bookmarks
모든 북마크 목록 나열

Params

Param name Description
search
optional

필터 결과

Validations:

  • Must be a String

order
optional

결과 정렬

Validations:

  • Must be a String

page
optional

페이지네이션 결과

Validations:

  • Must be a String

per_page
optional

요청 당 항목 수

Validations:

  • Must be a String


GET /api/bookmarks/:id
북마크 표시

Params

Param name Description
id
required

Validations:

  • 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

Validations:

  • Must be a Hash

bookmark[name]
required

Validations:

  • Must be a String

bookmark[controller]
required

Validations:

  • Must be a String

bookmark[query]
required

Validations:

  • Must be a String

bookmark[public]
optional , nil allowed

Validations:

  • Must be one of: true, false, 1, 0


PUT /api/bookmarks/:id
북마크 업데이트

Params

Param name Description
id
required

Validations:

  • 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

Validations:

  • Must be a Hash

bookmark[name]
optional

Validations:

  • Must be a String

bookmark[controller]
optional

Validations:

  • Must be a String

bookmark[query]
optional

Validations:

  • Must be a String

bookmark[public]
optional , nil allowed

Validations:

  • Must be one of: true, false, 1, 0


DELETE /api/bookmarks/:id
북마크 삭제

Params

Param name Description
id
required

Validations:

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