For more information, see Exposing models over REST.
LoopBack provides a number of built-in models that have REST APIs. Many of them inherit endpoints from the generic PersistedModel REST API.
By default, LoopBack uses /api
as the URI root for the application REST API. To change it, set the apiPath
variable in the application app.js
file.
The built-in models are: