Upload a chapter file
Uploads a file for the chapter identified by the specified slug.
Authorizations
API key used to authenticate and authorise every request.
Include it in the x-api-key header.
Headers
Defines the response type.
application/vnd.Creative Force.v2.3+json, application/vnd.Creative Force.v2.3+xml Path Parameters
Slug of the chapter.
^[A-Za-z]{8}$Body
Image payload for the chapter upload.
filename and data are required.
Original filename of the uploaded file, including the extension.
Base64-encoded contents of the image file.
The encoded payload must round-trip cleanly through standard base64 decoding; payloads with stray characters, incorrect padding, or other malformed encoding are rejected.
Only image files are accepted: gif, jpeg, jpg, png, tif, tiff, ico, webp, and avif. The file size must not exceed the maximum file size for the account.
Response
Chapter file uploaded.
Receipt returned when a file is uploaded to a category, chapter, entry, or user field.
Carries the original filename, a short opaque token that addresses the stored file, and the canonical URL through which the file can be retrieved.