all repos — litestore @ 4f6b45c773c9488f8ee6e11ffbabd6c196b4270d

A minimalist nosql document store.

src/admin/md/api_custom.md

 1
 2
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
### custom (LiteStore Custom Resources)

> %note%
> API v6 Required
> 
> This resource has been introduced in version 6 of the LiteStore API.

The **custom** endpoint is used to exposed resources defined by the user by the means of JavaScript handlers.

For example, if a handler is defined in a file called **test.js**, it will be accessible at  the following URL:

http://localhost:9500/custom/test/