Generic service is used to extend the standard
REST service. It still has inputs and outputs (as a standard service), and can be mapped, but the actual service implementation, or what it does, is entirely up to you. For example, the service can access local browser databases such as IndexedDB or SQLite, or do calculations.
Creating a Generic service
Generic service can be created via
Backspace and then
CTRL+SPACE to autocomplete a service name. Once the service has been added to the function code, click Mapping to map the service to the page.
Each snippet in the drop-down list has a pop-up with its description and code preview (with syntax highlight) and a link to documentation (if available).
More on how to add services to the page can be found here.
Custom implementation can be added by clicking Add custom implementation.
As with the standard
REST service, the
Generic service also has
They set the general structure of the query. Though they can be rewritten with any other structure inside implementation code, it’s highly recommended that you follow the structure you’ve specified.