{"openapi":"3.1.0","info":{"title":"OnlinePrint.com API","description":"Upload any PDF and dispatch it nationwide in a genuine FedEx Express Envelope/Pak or USPS Envelope.","version":"1.0.0"},"paths":{"/":{"get":{"summary":"Home Page","operationId":"home_page__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}},"head":{"summary":"Home Page","operationId":"home_page__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/order/{public_token}":{"get":{"summary":"Order Status Page","operationId":"order_status_page_order__public_token__get","parameters":[{"name":"public_token","in":"path","required":true,"schema":{"type":"string","title":"Public Token"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/developers":{"get":{"summary":"Developers Page","operationId":"developers_page_developers_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/llms.txt":{"get":{"summary":"Llms Txt","operationId":"llms_txt_llms_txt_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/mcp/onlineprint_mcp.py":{"get":{"summary":"Download Mcp Script","operationId":"download_mcp_script_mcp_onlineprint_mcp_py_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/api/upload":{"post":{"summary":"Api Upload Pdf","operationId":"api_upload_pdf_api_upload_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_api_upload_pdf_api_upload_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/uploads/{upload_id}/preview.png":{"get":{"summary":"Api Upload Preview","operationId":"api_upload_preview_api_uploads__upload_id__preview_png_get","parameters":[{"name":"upload_id","in":"path","required":true,"schema":{"type":"string","title":"Upload Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/quote":{"post":{"summary":"Api Quote","operationId":"api_quote_api_v1_quote_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/checkout":{"post":{"summary":"Api Web Checkout","operationId":"api_web_checkout_api_checkout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/orders":{"post":{"summary":"Api V1 Create Order","operationId":"api_v1_create_order_api_v1_orders_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/orders/{public_token}":{"get":{"summary":"Api V1 Get Order","operationId":"api_v1_get_order_api_v1_orders__public_token__get","parameters":[{"name":"public_token","in":"path","required":true,"schema":{"type":"string","title":"Public Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk":{"get":{"summary":"Desk Page","operationId":"desk_page_desk_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/desk/login":{"post":{"summary":"Desk Login","operationId":"desk_login_desk_login_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_desk_login_desk_login_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/orders/{public_token}/document.pdf":{"get":{"summary":"Desk Download Pdf","operationId":"desk_download_pdf_desk_orders__public_token__document_pdf_get","parameters":[{"name":"public_token","in":"path","required":true,"schema":{"type":"string","title":"Public Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/desk/orders/{public_token}/label.pdf":{"get":{"summary":"Desk Download Label","operationId":"desk_download_label_desk_orders__public_token__label_pdf_get","parameters":[{"name":"public_token","in":"path","required":true,"schema":{"type":"string","title":"Public Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/desk/orders/{public_token}/buy-label":{"post":{"summary":"Desk Buy Shipstation Label","operationId":"desk_buy_shipstation_label_api_desk_orders__public_token__buy_label_post","parameters":[{"name":"public_token","in":"path","required":true,"schema":{"type":"string","title":"Public Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"Body_api_upload_pdf_api_upload_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_api_upload_pdf_api_upload_post"},"Body_desk_login_desk_login_post":{"properties":{"password":{"type":"string","title":"Password"}},"type":"object","required":["password"],"title":"Body_desk_login_desk_login_post"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}