Files validation

Validate interior file

This endpoint allows you to validate interior file

post/validate-interior/

Request body

source_urlstring required

Public url of the interior source file

pod_package_idstring

POD Package ID of the book. Required to run extended validation.

Example request

{
  "source_url": "https://www.dropbox.com/sh/p3zh22vzsaegiri/AACOUn3LFKsITDzylh13bQpsa/161025/thesis2.pdf?dl=1"
}

Response

Created

idinteger required
source_urlstring required

The url of the source file.

page_countstring

Detected page count of the file.

errorsstring[]

List of errors detected in the file.

status'VALIDATING' | 'VALIDATED' | 'ERROR'

Status of source file

valid_pod_package_idsstring[]

List of detected valid POD package IDs for source file.

Example response

{
  "id": 1,
  "source_url": "https://www.dropbox.com/sh/p3zh22vzsaegiri/AACOUn3LFKsITDzylh13bQpsa/161025/thesis2.pdf?dl=1",
  "page_count": 210,
  "errors": null,
  "status": "VALIDATING",
  "valid_pod_package_ids": null
}

Changes

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