Repository navigation
services skillRouteService
Baasic Skill Route Service provides Baasic route templates which can be expanded to Baasic REST URIs. Various services can use Baasic Skill Route Service to obtain needed routes while other routes will be obtained through HAL. By convention, all route services use the same function names as their corresponding services.
Parses find route which can be expanded with additional options. Supported items are:
-
searchQuery- A string referencing skill properties using the phrase or BQL (Baasic Query Language) search. -
page- A value used to set the page number, i.e. to retrieve certain skill subset from the storage. -
rpp- A value used to limit the size of result set per page. -
sort- A string used to set the skill property to sort the result collection by. -
embed- Comma separated list of resources to be contained within the current representation.
Example:
baasicSkillRouteService.find.expand({searchQuery: '<search-phrase>'}); Parses create route; this URI template does not expose any additional options.
Example:
baasicSkillRouteService.create.expand({}); Parses get route; this route doesn't expose any properties.
Example:
baasicSkillRouteService.get.expand({}); Parses create route; this URI template does not expose any additional options.
Example:
baasicSkillRouteService.batch.create.expand({}); Parses remove route; this URI template does not expose any additional options.
Example:
baasicSkillRouteService.batch.remove.expand({}); Parses update route; this URI template does not expose any additional options.
Example:
baasicSkillRouteService.batch.update.expand({}); Notes:
- Refer to the REST API documentation for detailed information about available Baasic REST API end-points.
- URI Template syntax enables expanding the Baasic route templates to Baasic REST URIs providing it with an object that contains URI parameters.
- All end-point objects are transformed by the associated route service.