CF Images Config Endpoint missing in OpenAPI Spec
Hi,
according to the cloudflare images documentation (https://developers.cloudflare.com/images/cloudflare-images/serve-images/browser-ttl/#browser-ttl) there is a
/config
endpoint where I can set the browser_ttl
. However, it seems to be missing in the OpenAPI REST API Spec here https://developers.cloudflare.com/api/operations/cloudflare-images-list-images - is that correct?
I'm using the spec to generate a client library and I'd rather not have to add that manually. Thanks in advance!Cloudflare API Documentation
Interact with Cloudflare's products and services via the Cloudflare API
Browser TTL · Cloudflare Image Optimization docs
Browser TTL controls how long an image stays in a browser’s cache and specifically configures the cache-control response header.
3 Replies
In addition, the variants Endpoints (for example create / POST here https://developers.cloudflare.com/api/operations/cloudflare-images-variants-variant-details ) is also missing
browser_ttl
in the body (as supposed to the example here https://developers.cloudflare.com/images/cloudflare-images/serve-images/browser-ttl/#browser-ttl-for-a-named-variant)Cloudflare API Documentation
Interact with Cloudflare's products and services via the Cloudflare API
Browser TTL · Cloudflare Image Optimization docs
Browser TTL controls how long an image stays in a browser’s cache and specifically configures the cache-control response header.
Please use the feedback button in the bottom left on the api docs to report these issues.
OK, thanks!