Returns a promise that is resolved once the create article rating action has been performed; this action creates a new rating for an article.
An article rating object that needs to be inserted into the system.
A promise that is resolved once the create article rating action has been performed.
Returns a promise that is resolved once the find action has been performed. Success response returns a list of article rating resources matching the given criteria.
Article slug or id which uniquely identifies article whose rating resources need to be retrieved.
Query resource options object.
A promise that is resolved once the find action has been performed.
Returns a promise that is resolved once the findByUser action has been performed. Success response returns a list of article rating resources filtered by username.
Article slug or id which uniquely identifies article whose rating resources need to be retrieved.
Username which uniquely identifies a user which has created an article rating.
Query resource options object.
A promise that is resolved once the findByUser action has been performed.
Returns a promise that is resolved once the get action has been performed. Success response returns the specified article rating resource.
Article slug or id which uniquely identifies article whose rating resources need to be retrieved.
Article slug or id which uniquely identifies article resource that needs to be retrieved.
Options object that contains embed data.
A promise that is resolved once the get action has been performed.
Returns a promise that is resolved once the remove article rating action has been performed. If the action is successfully completed, the article rating resource will be permanently removed from the system. This route uses HAL enabled objects to obtain routes and therefore it doesn't apply articleRatingsRoute
route template. Here is an example of how a route can be obtained from HAL enabled objects:
let params = modelMapper.removeParams(articleRating);
let uri = params['model'].links('delete').href;
Rating resource resource that needs to be deleted.
a promise that is resolved once the remove article rating action has been performed.
Returns a promise that is resolved once the removeAll article rating action has been performed. If the action is successfully completed, the article rating resources will be permanently removed from the system for a specified article resource. This route uses HAL enabled objects to obtain routes and therefore it doesn't apply articleInstanceRouteClient
route template. Here is an example of how a route can be obtained from HAL enabled objects:
let params = modelMapper.removeParams(article);
let uri = params['model'].links('delete-ratings-by-article').href;
Article object whose ratings needs to be deleted.
A promise that is resolved once the removeAll article rating action has been performed.
Returns a promise that is resolved once the update article rating action has been performed; this action updates an article rating. This route uses HAL enabled objects to obtain routes and therefore it doesn't apply articleRatingsRoute
route template. Here is an example of how a route can be obtained from HAL enabled objects:
let params = modelMapper.removeParams(articleRating);
let uri = params['model'].links('put').href;
An article object used to update specified article resource.
A promise that is resolved once the update article rating action has been performed.
Generated using TypeDoc
Provides direct access to
articleRatingsRoute
.articleInstanceRatingsClient.routeDefinition.get(id);