Docs
Dashboard

Media

Object

Fields returned for media.

#

Fields


altText
String

Alternative text describing the media for accessibility purposes.

contentType
String!

The content type of the media.

createdAt
DateTime!

The date and time the file was created.

fileExtension
String!

The file extension of the media.

fileName
String!

The file name of the media.

fileSize
Long!

The file size in bytes.

hash
String!

The hash of the media.

id
ID!

The unique identifier of the media.

src
String!

Returns the source URL of the media.

version
String!

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.