{"files":{"SKILL.md":"---\nname: barcode-api\ndescription: \"Barcode API skill. Use when working with Barcode for barcode. Covers 4 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Barcode API\nAPI version: 1.5\n\n## Auth\nBearer bearer\n\n## Base URL\nhttp://api.fungenerators.com\n\n## Setup\n1. Set Authorization header with Bearer token\n2. GET /barcode/encode/types -- get the supported barcode types for encoding / image generation.\n3. POST /barcode/decode -- create first decode\n\n## Endpoints\n4 endpoints across 1 group. See references/api-spec.lap for full details.\n\n### Barcode\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /barcode/encode/types | Get the supported barcode types for encoding / image generation. |\n| GET | /barcode/encode | Get a Bar Code image for the given barcode number |\n| GET | /barcode/decode/types | Get the supported barcode types for the decoding process. |\n| POST | /barcode/decode | Decode a Barcode image and return the cotents if successful |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all types?\" -> GET /barcode/encode/types\n- \"List all encode?\" -> GET /barcode/encode\n- \"Create a decode?\" -> POST /barcode/decode\n- \"How to authenticate?\" -> See Auth section above\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints return the modified resource on success\n- Error responses include status codes and descriptions in the spec\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Barcode API\n@base http://api.fungenerators.com\n@version 1.5\n@auth Bearer bearer\n@endpoints 4\n@toc barcode(4)\n\n@endpoint GET /barcode/encode/types\n@desc Get the supported barcode types for encoding / image generation.\n@returns(200) 200  response\n@errors {401: 401  response}\n\n@endpoint GET /barcode/encode\n@desc Get a Bar Code image for the given barcode number\n@required {number: str(string) # Barcode number}\n@optional {barcodeformat: str(string) # Barcode format default C39. Valid values are the keys to those returned from /barcode/encode/types., outputformat: str(string) # Output image format. Must be one of png/html/jpg/svg, widthfactor: int(integer) # Width factor of the image, totalheight: int(integer) # Total height of the image}\n@returns(200) 200  response\n@errors {401: 401  response}\n\n@endpoint GET /barcode/decode/types\n@desc Get the supported barcode types for the decoding process.\n@returns(200) 200  response\n@errors {401: 401  response}\n\n@endpoint POST /barcode/decode\n@desc Decode a Barcode image and return the cotents if successful\n@returns(200) 200  response\n@errors {401: 401  response}\n\n@end\n"}}