Stream an EPUB-internal resource (image, CSS, font, …)
GET /assets/{id}/epub/resources/{path}
GET
/assets/{id}/epub/resources/{path}
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string format: uuid
path
required
string
Zip-internal absolute path of the resource (image, CSS, font, etc.). Resolved from the chapter’s relative ref during chapter rewriting; the frontend never constructs these by hand.
Responses
Section titled “ Responses ”Resource bytes
string format: binary
Malformed request
object
error
required
Human-readable error summary
string
Example
the request could not be completedAuthentication required, missing, or invalid
object
error
required
Human-readable error summary
string
Example
the request could not be completedExample
{ "error": "authentication required: sign in and retry with a valid session or API token"}Resource not found
object
error
required
Human-readable error summary
string
Example
the request could not be completedUnexpected server error
object
error
required
Human-readable error summary
string
Example
the request could not be completed