Base URL or RFC 6570 URI template for this resource.
OptionalentityClass:
EntityClass<T>
Optional mapper that converts raw JSON objects into entity instances.
Extra backend options merged into every request.
Delete a resource by ID.
Resource identifier appended to the base URL.
A promise that fulfills when the request succeeds.
Fetch a collection.
Parameters are used for URI template expansion and are
also forwarded to $http as query params.
Non-array responses resolve to an empty array.
Typed REST resource client backed by RestBackend.
A
RestServiceis usually created by injecting$restand calling it with a base URL, optional EntityClass, and optional backend request defaults.