dragonroll/documentation/docs/server/api.md

43 lines
505 B
Markdown
Raw Normal View History

# ServerApi
## BakcendApi
The BackendApi object is used for interacting with everything related to the Dragonroll backend. It is passed to the `Main` function at the entrypoint defined in the [plugin.json](/plugin/plugin.json) file
### router
### createModel
### createModule
## BackendRouter
### get
### post
### put
### delete
### createModelRoutes
## BackendModule
### router
### createModel
## BackendModel
### find
### findOne
### findById
### create
### updateOne
### updateMany