Repository navigation
v2.72.1
Immutable
release. Only release title and notes can be modified.
- Add
coverImageBase64+coverImageContentType(image/jpegorimage/png) support to/api/books/sync, paired with SagaSAG-31/SAG-32(https://github.com/dgattey/saga/pull/51). - Validate raw standard base64 cover payloads (no
data:prefix, no line breaks, exact padding, <= 3 MiB decoded bytes) and requirecoverImageBase64andcoverImageContentTypeto be supplied together. - Upload binary cover bytes via Contentful CMA Upload API (
POST https://upload.contentful.com/spaces/{space}/uploadswithContent-Type: application/octet-stream), create the Contentful Asset withuploadFrom(linkType: "Upload") and<bookId>.jpg/.pngfilename, process, poll untilfields.file[locale].urlis populated, and publish. - Return
coverImageUrl(normalized to absolutehttps://images.ctfassets.net/...) on eachentries[]item across binary cover uploads, remotecoverImageUrldownloads, and existing linkedcoverAssetIdentries.