Fix pages that break the margin rule: shrink (default) or crop
Always works from the original upload, so calling it again (e.g. with the other mode) replaces the earlier fix. Compliant pages, and US Letter pages of a mixed document whose placement on A4 keeps the margin, are never changed. shrink scales the affected pages down slightly; nothing is lost. crop keeps pages at 100 % and cuts off everything inside the margin band, which is then not printed; pages of other sizes are first fitted onto A4. A US Letter document keeps its US Letter pages. Mode via JSON body or ?mode=.
post/documents/{id}/fix
Request
- Base URL: https://printandmailcompany.com/api/v1
- URL: https://printandmailcompany.com/api/v1/documents/{id}/fix
- Auth: HTTP bearer
Path parameters
idstring required
Query parameters
mode'shrink' | 'crop'
Request body
Response
Updated document (fixMode, fixedAt, compliant, analysis per page)
Changes
No recorded changes to this operation across all 1 revision of this API.