Article slug or id which uniquely identifies article whose article file need to be inserted.
Article File object that need to be inserted into the system.
A promise that is resolved once the create file stream action has been performed.
Returns a promise that is resolved once the get action has been performed. Success response returns the file stream 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 return a stream of the derived resource. Otherwise, stream of the original file resource will be retrieved.
Article slug or id which uniquely identifies article whose article file need to be retrieved.
Article File object used to identify stream that needs to be retrieved from the system.
A promise that is resolved once the get action has been performed.
Returns a promise that is resolved once the get action has been performed. Success response returns the file stream as a blob. If derived resource's format is passed, such as width
and height
for the image type of file resource, the operation will return a blob of the derived file resource. Otherwise, blob of the original file resource will be retrieved. For more information on Blob objects please see Blob Documentation.
Article slug or id which uniquely identifies article whose article file need to be retrieved.
Article File object used to identify stream that needs to be retrieved from the system.
A promise that is resolved once the get action has been performed.
Returns a promise that is resolved once the update file stream action has been performed; this action will replace the existing stream with a new one. Alternatively, if a derived stream is being updated it will either create a new derived stream or replace the existing one. In order to update a derived stream, format needs to be passed (For example: width
and height
for the image type of file stream data type).
Article slug or id which uniquely identifies article whose article file need to be updated.
Article File object used to identify stream that needs to be updated.
A promise that is resolved once the update file stream action has been performed.
Generated using TypeDoc
Returns a promise that is resolved once the create file stream action has been performed; this action will upload the specified blob. For more information on Blob objects please see Blob Documentation.
articleInstanceFilesStreamsClient.create('', )
.then(function (data) {
// perform success action here
},
function (response, status, headers, config) {
// perform error handling here
});