@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api SelectPdf HTML To PDF API
@base https://selectpdf.com/
@version 1.0.0
@endpoints 1
@toc api2(1)

@endpoint POST /api2/convert
@desc Performs a html to pdf conversion
@optional {parameters: map # Conversion parameters}
@returns(200) The API call succeeded. The pdf document is returned.
@errors {400: Bad Request. Url or html string not specified. The body of the response contains an explanation in plain text., 401: Authorization Required. License key not specified or invalid. The body of the response contains an explanation in plain text., 499: Conversion error. The body of the response contains an explanation in plain text.}

@end
