While toying around with Cloudflare Images I’ve found the following discrepancies between the API docs and the actual API responses:
- The image properties (and all example responses) list a
metadataproperty, but this field is called
metain the actual response from the API.
- The image properties (and all example responses) show the
variantsproperty as an object (map of string to string), but it seems to be actually a list of strings.
- The example response from listing images contains the
metaas it should be) property, but this property is not included in the response of this API. The
metafield is only included when requesting the image details for a single image. It’d actually be cool to include the
metaproperty in the list response, would make it easier to develop third party integrations that rely on data within
While I am at it, when editing an image variant in the UI, the
Fit select always reverts back to
Scale down, regardless of what is actually selected.
Not sure if the community is the best place for reports like that, but couldn’t find another suitable way of reporting that.