---
name: barcode-api
description: "Barcode API skill. Use when working with Barcode for barcode. Covers 4 endpoints."
version: 1.0.0
generator: lapsh
---

# Barcode API
API version: 1.5

## Auth
Bearer bearer

## Base URL
http://api.fungenerators.com

## Setup
1. Set Authorization header with Bearer token
2. GET /barcode/encode/types -- get the supported barcode types for encoding / image generation.
3. POST /barcode/decode -- create first decode

## Endpoints
4 endpoints across 1 group. See references/api-spec.lap for full details.

### Barcode
| Method | Path | Description |
|--------|------|-------------|
| GET | /barcode/encode/types | Get the supported barcode types for encoding / image generation. |
| GET | /barcode/encode | Get a Bar Code image for the given barcode number |
| GET | /barcode/decode/types | Get the supported barcode types for the decoding process. |
| POST | /barcode/decode | Decode a Barcode image and return the cotents if successful |

## Common Questions
Match user requests to endpoints in references/api-spec.lap. Key patterns:
- "List all types?" -> GET /barcode/encode/types
- "List all encode?" -> GET /barcode/encode
- "Create a decode?" -> POST /barcode/decode
- "How to authenticate?" -> See Auth section above

## Response Tips
- Check response schemas in references/api-spec.lap for field details
- Create/update endpoints return the modified resource on success
- Error responses include status codes and descriptions in the spec

## References
- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas

> Generated from the official API spec by [LAP](https://lap.sh)
