{"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/ai:fungenerators-barcode/post-barcode-decode":{"post":{"operationId":"ai_fungenerators_barcode_post_barcode_decode","summary":"Decode a Barcode image and return the cotents if successful","description":"POST /barcode/decode","tags":["ai"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"Form fields as a JSON object"}}}}}},"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/ai:fungenerators-barcode/get-barcode-decode-types":{"get":{"operationId":"ai_fungenerators_barcode_get_barcode_decode_types","summary":"Get the supported barcode types for the decoding process.","description":"GET /barcode/decode/types","tags":["ai"],"parameters":[],"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/ai:fungenerators-barcode/get-barcode-encode":{"get":{"operationId":"ai_fungenerators_barcode_get_barcode_encode","summary":"Get a Bar Code image for the given barcode number","description":"GET /barcode/encode","tags":["ai"],"parameters":[{"name":"number","in":"query","required":true,"description":"Barcode number","schema":{"type":"string","description":"Barcode number"}},{"name":"barcodeformat","in":"query","required":false,"description":"Barcode format default C39. Valid values are the keys to those returned from /barcode/encode/types.","schema":{"type":"string","description":"Barcode format default C39. Valid values are the keys to those returned from /barcode/encode/types."}},{"name":"outputformat","in":"query","required":false,"description":"Output image format. Must be one of png/html/jpg/svg","schema":{"type":"string","description":"Output image format. Must be one of png/html/jpg/svg"}},{"name":"widthfactor","in":"query","required":false,"description":"Width factor of the image","schema":{"type":"integer","description":"Width factor of the image"}},{"name":"totalheight","in":"query","required":false,"description":"Total height of the image","schema":{"type":"integer","description":"Total height of the 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"}},"/v1/ai:fungenerators-barcode/get-barcode-encode-types":{"get":{"operationId":"ai_fungenerators_barcode_get_barcode_encode_types","summary":"Get the supported barcode types for encoding / image generation.","description":"GET /barcode/encode/types","tags":["ai"],"parameters":[],"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"}}}}}}}