Query resource options object.
A promise that is resolved once the find action has been performed.
Returns a promise that is resolved once the get action has been performed. Success response returns requested media vault resource.
Media vault id which uniquely identifies media vault resource that needs to be retrieved.
Query resource options object.
A promise that is resolved once the get action has been performed.
Returns a promise that is resolved once the remove action has been performed. This action will remove one or many media vault resources from the system if successfully completed. If derived resource's format is passed, such as width
and height
for the image type of media vault resource, the operation will remove just derived resource. Otherwise, specified media vault and all its accompanying derived resources will be removed from the system. This route uses HAL enabled objects to obtain routes and therefore it doesn't apply baasicMediaVaultRouteService route template. Here is an example of how a route can be obtained from HAL enabled objects:
let params = modelMapper.removeParams(mediaVaultEntry);
let uri = params['model'].links('delete').href;
Media vault object used to delete specific Media vault resource from the system.
Options object.
Returns a promise that is resolved once the update media vault action has been performed; this action will update a media vault resource if successfully completed. This route uses HAL enabled objects to obtain routes and therefore it doesn't apply mediaVaultRoute
route template. Here is an example of how a route can be obtained from HAL enabled objects:
let params = modelMapper.updateParams(mediaVaultEntry);
let uri = params['model'].links('put').href;
A media vault object used to update specified media vault resource.
A promise that is resolved once the update media vault action has been performed.
Generated using TypeDoc
Returns a promise that is resolved once the find action has been performed. Success response returns a list of media vault resources matching the given criteria.
mediaVaultClient.find({ pageNumber : 1, pageSize : 10, orderBy : '',
orderDirection : '',
search : ''
})
.then(function (collection) {
// perform success action here
},
function (response, status, headers, config) {
// perform error handling here
});