readfinder

package
v0.0.0-...-4d14c86 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(db bun.IDB) http.HandlerFunc

Handler lists the direct children of a folder, of the root without parent: GET /api/items?parent=&kind=&limit=&offset=. X-Total-Count counts them all, whatever the page. @Summary List the direct children of a folder, or of the root @Tags items @Produce json @Param parent query string false "folder uuid, the root when left out" @Param kind query string false "folder or note, both when left out" @Param limit query integer false "children in the page, all when left out or 0" @Param offset query integer false "children skipped before the page, folders first then by title" @Success 200 {array} domain.Item @Header 200 {integer} X-Total-Count "every child, not only the page" @Failure 400 {object} respond.Failure @Failure 500 {object} respond.Failure @Router /api/items [get]

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址