GET /api/bookmarks
Listar todos os marcadores

Params

Param Name Description
page
Optional

paginar resultados


Value: Must be String
per_page
Optional

número de entradas por requisições


Value: Must be String

GET /api/bookmarks/:id
Mostrar um marcador

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
Criar um favorito

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: pt-BR.apipie.nil_allowed">Nil Allowed</span>

Value: Must be 'true' or 'false'

PUT /api/bookmarks/:id
Atualizar um marcador

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: pt-BR.apipie.nil_allowed">Nil Allowed</span>

Value: Must be 'true' or 'false'

DELETE /api/bookmarks/:id
Apagar favorito

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.