all repos — litestore @ a68a5db2149e360351cc45062404424dbb130b1f

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/