# Functions
AboutEndpointInst creates a new endpoint handler.
RegisterRestEndpoints registers all given REST endpoint handlers.
SwaggerEndpointInst creates a new endpoint handler.
# Constants
APIRoot is the root directory for the REST API
*/.
APIVersion is the version of the REST API
*/.
EndpointAbout is the about endpoint URL (rooted).
EndpointSwagger is the swagger endpoint URL (rooted).
# Variables
APIHost is the host definition for the REST API
*/.
APISchemes is a list of supported protocol schemes
*/.
DD is the DistributedStorage instance which should be used by the REST API.
DDLog is a ringbuffer containing cluster related logs.
GeneralEndpointMap contains general endpoints which should always be available
*/.
GM is the GraphManager instance which should be used by the REST API.
GS is the GraphStorage instance which should be used by the REST API.
HandleFunc to use for registering handlers
Should be of type: func(pattern string, handler func(http.ResponseWriter, *http.Request))
*/.
SI is the ScriptingInterpreter instance which is working with the api.GM GraphManager instance.
# Structs
DefaultEndpointHandler represents the default endpoint handler.
# Interfaces
RestEndpointHandler models a REST endpoint handler.
# Type aliases
RestEndpointInst models a factory function for REST endpoint handlers.