Article slug or id which uniquely identifies article whose article files need to be linked.
A collection of article file objects that need to be inserted into the system.
A promise that is resolved once the link action has been performed.
Returns a promise that is resolved once the unlink action has been performed. This action will remove file resources from the system if successfully completed. If derived resource's format is passed, such as width
and height
for the image type of file resource, the operation will remove just derived resource. Otherwise, specified file and all its accompanying derived resources will be removed from the system.
Article file id of the original article file used to identify article files on which delete action should be performed.
Collection of article delete requests which uniquely identifies article files that need to be deleted.
A promise that is resolved once the unlink action has been performed.
Returns a promise that is resolved once the update action has been performed; this action updates specified file resources.
Article slug or id which uniquely identifies article whose article file need to be updated.
Article file object that need to be updated in the system.
A promise that is resolved once the update action has been performed.
Generated using TypeDoc
Returns a promise that is resolved once the link action has been performed; this action links file resources from other modules into the Files module (For example: file resources from the Media Vault module can be linked directly into the Files module).
articleInstanceFilesBatchClient.link(files) .then(function (data) { // perform success action here }, function (response, status, headers, config) { // perform error handling here });