Create Report
Issue a proof report: a PDF of a license's verdict, record and linked licenses as they stood at a moment.
The PDF is kept exactly as issued, and its SHA-256 is published at its verify_url, so anyone holding a copy can confirm it wasn't changed. Issuing one counts as a verification of the license (free if you already verified it today). Links are today's links, each license rebuilt as it stood at the moment.
Args: body: The license and the moment (default now). key: Injected: the caller's paid key. licenses: Injected LicenseRepository. history: Injected HistoryRepository, for the record as it stood. reports: Injected ReportRepository. keys: Injected ApiKeyRepository, to count the verification.
Returns: The issued report.
Raises: HTTPException: 404 when the license didn't exist then; 429 for too many reports; 503 if no code could be drawn. LicenseNotFoundError: For an unknown license (a 404).
Request
- Base URL: https://api.licenscheck.com (the document declares no server; this is the origin it was published from)
- URL: https://api.licenscheck.com/reports
- Auth: none declared
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.