export

package
v1.3.14 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2026 License: MIT Imports: 9 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler(db bun.IDB, store silo.Store) http.HandlerFunc

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. Each entry of a folder or a note has its last change as its date and its id as its zip comment. @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.

Jump to

Keyboard shortcuts

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