Admin API / Types
Image
ObjectA hosted image.
Requires a client key with one of these scopes:admin:media:readThe requirement applies to every field of Image unless that field declares its own scopes.
type Image implements Asset & NodeFields
| Field | Type | Description |
|---|---|---|
alt | NonEmptyString | Alternative text for the image. |
createdAt | DateTime! | When the image was uploaded. |
height | PositiveInt! | Intrinsic pixel height of the original image. |
id | ID! | A globally unique ID. Treat this value as an opaque string. |
mimeType | MimeType! | The image's MIME type. |
thumbhash | Base64String | A Base64-encoded ThumbHash for generating a placeholder while the image loads. |
url | URL! | The absolute URL of the original image. Use an appropriately sized derivative for display. |
width | PositiveInt! | Intrinsic pixel width of the original image. |