Technical Documentation
client
server
database
graphql
aaa
build
configuration
fs_utilities
letsencrypt
plugins
pylibc
rest_api
server_rpc
signals
template_extras
web_sockets
web_tools
archive
catalog
color
constants
errors
find
geoip
ics
ipaddress
its
security_keys
serializers
sms
smtp_server
spf
ssh_forward
startup
templates
testing
ua_parser
utilities
version
xor
This module provides the functionality exposed by the server application’s REST API.
REST_API_BASE
The base URI path for REST API requests.
generate_token
Generate the token to be checked when REST API requests are made.
rest_handler
A function for decorating REST API handlers. The function checks the API token in the request and encodes the handler response in JSON to be sent to the client.