CategoryMedia
Kind: Object
A hero/carousel asset for a category.
Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
id |
ID! |
|
alt |
String! |
|
sortOrder |
Int! |
|
mediaType |
MediaType! |
IMAGE or VIDEO. |
url |
String! |
Asset URL. size: 0 = original, otherwise nearest image thumbnail (256/512/1024). Always storage, unlike ProductMedia.url and BrandMedia.url: there is no external-embed branch here, so a VIDEO row returns the stored original rather than a YouTube link. Served from our storage: absolute when object storage is configured, otherwise a path relative to the API origin — resolve it before use. Arguments: size: Int! = 0 |