Driftwatch

Cloudflare / Cloudflare API /

Breaking

Response field endTime removed

What changed

Reads of this field return undefined, and the failure surfaces wherever that value is used rather than at the call.

Affects r2_r2_bucket_job reachable from 2 operations.

Who is affected

Code that reads Cloudflare's r2_r2_bucket_job objects, used by 2 Cloudflare operations.

Before and after

WhereBeforeAfter
r2_r2_bucket_job.endTimepresentabsent
r2_r2_bucket_job.startTimepresentabsent
r2_r2_bucket_job.idpresentabsent
r2_r2_bucket_job.jobTypepresentabsent
r2_r2_bucket_job.prefixDeletepresentabsent
r2_r2_bucket_job.statuspresentabsent

Code that breaks

// response.endTime is now undefined
const endTime = response.endTime;

Based on Cloudflare’s published API specification. How severity is decided.