{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/dev-tools:api2pdf/chrome-from-html-post":{"post":{"operationId":"dev_tools_api2pdf_chrome_from_html_post","summary":"Convert raw HTML to PDF","description":"POST /chrome/html","tags":["dev-tools"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:api2pdf/chrome-from-url-get":{"get":{"operationId":"dev_tools_api2pdf_chrome_from_url_get","summary":"Convert URL to PDF","description":"GET /chrome/url","tags":["dev-tools"],"parameters":[{"name":"url","in":"query","required":true,"description":"Url of the page to convert to PDF. Must start with http:// or https://.","schema":{"type":"string","description":"Url of the page to convert to PDF. Must start with http:// or https://."}},{"name":"output","in":"query","required":false,"description":"Specify output=json to receive a JSON output. Defaults to PDF file.","schema":{"type":"string","description":"Specify output=json to receive a JSON output. Defaults to PDF file."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/dev-tools:api2pdf/chrome-from-url-post":{"post":{"operationId":"dev_tools_api2pdf_chrome_from_url_post","summary":"Convert URL to PDF","description":"POST /chrome/url","tags":["dev-tools"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:api2pdf/libre-convert-post":{"post":{"operationId":"dev_tools_api2pdf_libre_convert_post","summary":"Convert office document or image to PDF","description":"POST /libreoffice/convert","tags":["dev-tools"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:api2pdf/merge-post":{"post":{"operationId":"dev_tools_api2pdf_merge_post","summary":"Merge multiple PDFs together","description":"POST /merge","tags":["dev-tools"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:api2pdf/wkhtmltopdf-from-html-post":{"post":{"operationId":"dev_tools_api2pdf_wkhtmltopdf_from_html_post","summary":"Convert raw HTML to PDF","description":"POST /wkhtmltopdf/html","tags":["dev-tools"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:api2pdf/wkhtmltopdf-from-url-get":{"get":{"operationId":"dev_tools_api2pdf_wkhtmltopdf_from_url_get","summary":"Convert URL to PDF","description":"GET /wkhtmltopdf/url","tags":["dev-tools"],"parameters":[{"name":"url","in":"query","required":true,"description":"Url of the page to convert to PDF. Must start with http:// or https://.","schema":{"type":"string","description":"Url of the page to convert to PDF. Must start with http:// or https://."}},{"name":"output","in":"query","required":false,"description":"Specify output=json to receive a JSON output. Defaults to PDF file.","schema":{"type":"string","description":"Specify output=json to receive a JSON output. Defaults to PDF file."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/dev-tools:api2pdf/wkhtmltopdf-from-url-post":{"post":{"operationId":"dev_tools_api2pdf_wkhtmltopdf_from_url_post","summary":"Convert URL to PDF","description":"POST /wkhtmltopdf/url","tags":["dev-tools"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:api2pdf/zebra-get":{"get":{"operationId":"dev_tools_api2pdf_zebra_get","summary":"Generate bar codes and QR codes with ZXING.","description":"GET /zebra","tags":["dev-tools"],"parameters":[{"name":"format","in":"query","required":true,"description":"Most common is CODE_39 or QR_CODE","schema":{"type":"string","description":"Most common is CODE_39 or QR_CODE"}},{"name":"value","in":"query","required":true,"description":"Specify the text value you want to convert","schema":{"type":"string","description":"Specify the text value you want to convert"}},{"name":"showlabel","in":"query","required":false,"description":"Show label of text below barcode","schema":{"type":"boolean","description":"Show label of text below barcode"}},{"name":"height","in":"query","required":false,"description":"Height of the barcode generated image","schema":{"type":"integer","description":"Height of the barcode generated image"}},{"name":"width","in":"query","required":false,"description":"Width of the barcode generated image","schema":{"type":"integer","description":"Width of the barcode generated image"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}