AVIF image format for the GraphQL Content API

Every schema from the GraphQL Content API contains a type named Asset which represents an asset in your space.

When querying for the asset's URL via the Asset.file field, a transform parameter can be provided to generate a URL for our Image API with all the transforms applied.

One of those transforms is format to allow altering the image's file type. We have added the value AVIF to the ImageFormat enum.

Example usage:

When applied, the resulting URL contains the query parameter fm=avif.

You can read all about the Asset type in our GraphQL developer documentation.