Files validation

Calculate cover dimensions

This endpoint allows you to calculate required cover dimensions basing on interior data.

post/cover-dimensions/

Request body

pod_package_idstring required

POD Package ID of the book.

interior_page_countinteger required
unit'pt' | 'mm' | 'inch'

Requested unit of cover dimensions. Defaults to print points.

Example request

{
  "pod_package_id": "0600X0900.BW.STD.PB.060UW444.MXX",
  "interior_page_count": 210
}

Response

Created

widthstring required
heightstring required
unit'pt' | 'mm' | 'inch' required

Example response

{
  "width": "920.000",
  "height": "666.000",
  "unit": "pt"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.