All API endpoints require authentication!
API Token: none
Authentication Methods:
Authorization: Bearer <token>X-API-Token: <token>?token=<token>Generate UML diagrams using PlantUML syntax
| Parameter | Type | Description | Example |
|---|---|---|---|
| format | string | Output format | png, svg, txt, pdf |
| encoded-diagram | string | PlantUML encoded diagram | SyfFKj2rKt3CoKnELR1Io4ZDoSa70000 |
| token | string | API authentication token | ?token=your_token |
curl -H "Authorization: Bearer 6d91318ea80700188359911f0b006e0e9b26bb0f352cac3da2980bbb2fab0463" \
"http://localhost:8888/uml/png/SyfFKj2rKt3CoKnELR1Io4ZDoSa70000"
Generate flowcharts, sequence diagrams and more using Mermaid syntax
| Parameter | Type | Description | Example |
|---|---|---|---|
| body | text/plain | Raw Mermaid diagram syntax | graph TD\nA-->B |
| type | query string | Output format (default: svg) | ?type=png, ?type=svg |
| token | query string | API authentication token | ?token=YOUR_TOKEN |
curl -X POST \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-H "Content-Type: text/plain" \
-d 'graph TD\nA-->B' \
"http://localhost:8888/mermaid/generate?type=svg&token=YOUR_TOKEN"
Test the APIs directly from this page by entering your token and making requests.
๐ GraphDocker Secure Service Running (Port: 8888)