Media
ObjectFields returned for media.
#
Fields
- String
altText Alternative text describing the media for accessibility purposes.
- String!
contentType The content type of the media.
- DateTime!
createdAt The date and time the file was created.
- String!
fileExtension The file extension of the media.
- String!
fileName The file name of the media.
- Long!
fileSize The file size in bytes.
- String!
hash The hash of the media.
- ID!
id The unique identifier of the media.
- String!
src Returns the source URL of the media.
- String!
version The Version of the media.
#
Queries
Returns a searchable, paged list of files.
Returns a media item by its ID.
#
Mutations
Creates a new media item.
Deletes a media item.
Updates an existing media item’s filename and alternative text.