File object for this asset
Details for the file, depending on file type (example: image size in bytes, etc)
Url where the file is available to be downloaded from, into the Contentful asset system. After the asset is processed this field is gone.
Url where the file is available at the Contentful media asset system. This field won't be available until the asset is processed.
Title for this asset
Archives the object
Object returned from the server with updated metadata.
Deletes this object on the server.
Promise for the deletion. It contains no data, but the Promise error case should be handled.
Checks if asset is archived. This means it's not exposed to the Delivery/Preview APIs.
Checks if the asset is in draft mode. This means it is not published.
Checks if the asset is published. A published asset might have unpublished changes
Checks if the asset is updated. This means the asset was previously published but has unpublished changes.
Triggers asset processing after an upload, for the files uploaded to all locales of an asset.
Additional options for processing
Object returned from the server with updated metadata.
Triggers asset processing after an upload, for the file uploaded to a specific locale.
Locale which processing should be triggered for
Object returned from the server with updated metadata.
Publishes the object
Object returned from the server with updated metadata.
Unarchives the object
Object returned from the server with updated metadata.
Unpublishes the object
Object returned from the server with updated metadata.
Sends an update to the server with any changes made to the object's properties
Object returned from the server with updated changes.
Description for this asset