Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
Handler gives every live note as a zip of markdown files, one directory per folder, the images in _files: GET /api/export, or only some items with what they hold: GET /api/export?id=<uuid>&id=<uuid>, or what a folder holds without the folder itself: GET /api/export?parent=<uuid>. files=false leaves the images empty, only named. @Summary Export the notes as markdown files @Tags transfer @Produce application/zip @Param id query []string false "items to export with what they hold, every note when left out" collectionFormat(multi) @Param parent query string false "folder whose content to export, without the folder itself" @Param files query bool false "false: the images in _files are empty, only named" @Success 200 {file} binary @Failure 400 {object} respond.Failure @Failure 404 {object} respond.Failure @Failure 500 {object} respond.Failure @Router /api/export [get]
Types ¶
This section is empty.