Get a build
const url = 'https://digize.com/api/v1/books/builds/example';const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://digize.com/api/v1/books/builds/example \ --header 'x-api-key: <x-api-key>'One of a book’s builds, with signed links to its files once it’s ready.
Needs the books:read permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”Done
object
building while the Workflow sets it, then ready or failed.
The spine’s width, in points.
The whole cover (back, spine and front, with bleed), in points.
A build of the cover alone, for the Cover tab’s preview: no interior or EPUB, the spine sized for the last build’s pages or the words’.
object
object
object
object
object
object
object
object
object
object
object
Words meant for the author left on the page: a writer’s marker, or a note about checking facts or publishing.
object
A figure’s caption or words call the author by name in a book told in the first person.
object
The text mentions a part the book doesn’t have, such as a foreword or a chapter past the last.
object
A chart’s or diagram’s smallest words print under 7 pt at its printed size.
object
object
Example
{ "status": "building", "coverRule": "lulu", "trim": "5x8", "theme": "classic", "warnings": [ { "kind": "sample" } ]}What was sent isn’t valid (invalid).
object
object
object
Example
{ "error": { "code": "invalid" }}No key, or one that’s unknown, off or expired.
object
object
object
Example
{ "error": { "code": "invalid" }}The key doesn’t have the permission this needs.
object
object
object
Example
{ "error": { "code": "invalid" }}Nothing has that id (not_found).
object
object
object
Example
{ "error": { "code": "invalid" }}Over the rate limit; see retry-after.
object
object
object
Example
{ "error": { "code": "invalid" }}