Video
Requires access scope,
access scope,
access scope,
access scope,
access scope or
access scope.
Represents a Shopify hosted video.
Anchor to FieldsFields
- •String
A word or phrase to share the nature or contents of a media.
- Anchor to createdAtcreated•Date
At Time!non-null The date and time (ISO 8601 format) when the file was created.
- Anchor to durationduration•Int
The video's duration in milliseconds. This value is
null
unless the video's status field is READY.- Anchor to fileErrorsfile•[File
Errors Error!]!non-null Any errors that have occurred on the file.
- Anchor to filenamefilename•String!non-null
The video's filename.
- Anchor to fileStatusfile•File
Status Status!non-null The status of the file.
- •ID!non-null
A globally-unique ID.
- Anchor to mediaContentTypemedia•Media
Content Type Content Type!non-null The media content type.
- Anchor to mediaErrorsmedia•[Media
Errors Error!]!non-null Any errors which have occurred on the media.
- Anchor to mediaWarningsmedia•[Media
Warnings Warning!]!non-null The warnings attached to the media.
- Anchor to originalSourceoriginal•Video
Source Source The video's original source. This value is
null
unless the video's status field is READY.- Anchor to previewpreview•Media
Preview Image The preview image for the media.
- Anchor to sourcessources•[Video
Source!]!non-null The video's sources. This value is empty unless the video's status field is READY.
- Anchor to statusstatus•Media
Status!non-null Current status of the media.
- Anchor to updatedAtupdated•Date
At Time!non-null The date and time (ISO 8601 format) when the file was last updated.