GraphDocker - Chart Generation Service (Port: 8888)

API Authentication

All API endpoints require authentication!

API Token: none

Authentication Methods:

PlantUML Server

Generate UML diagrams using PlantUML syntax

API Endpoints

GET /plantuml/{format}/{encoded-diagram} 200
GET /uml/{format}/{encoded-diagram} 200
Generate diagrams from PlantUML encoded text
ParameterTypeDescriptionExample
formatstringOutput formatpng, svg, txt, pdf
encoded-diagramstringPlantUML encoded diagramSyfFKj2rKt3CoKnELR1Io4ZDoSa70000
tokenstringAPI authentication token?token=your_token
cURL Example:
curl -H "Authorization: Bearer 6d91318ea80700188359911f0b006e0e9b26bb0f352cac3da2980bbb2fab0463" \
  "http://localhost:8888/uml/png/SyfFKj2rKt3CoKnELR1Io4ZDoSa70000"
Supported Formats: PNG, SVG, TXT, PDF
URL Pattern: /uml/{format}/{encoded-diagram}
Authentication: Required for all requests

Mermaid Server

Generate flowcharts, sequence diagrams and more using Mermaid syntax

API Endpoints

GET /mermaid/ 200
Get service information and status
GET /mermaid/health 200
Health check endpoint
POST /mermaid/generate 200
Generate diagrams with plain text payload (TomWright/mermaid-server)

POST Request Parameters

ParameterTypeDescriptionExample
bodytext/plainRaw Mermaid diagram syntaxgraph TD\nA-->B
typequery stringOutput format (default: svg)?type=png, ?type=svg
tokenquery stringAPI authentication token?token=YOUR_TOKEN
Plain Text POST Example:
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"
Supported Formats: PNG, SVG
Supported Chart Types: Flowchart, Sequence, Gantt, Class, State, Journey, Git Graph, Pie Chart, ER Diagram
Authentication: Required for all requests

๐Ÿงช Interactive API Testing

Test the APIs directly from this page by entering your token and making requests.

API Token Configuration

PlantUML Testing
Mermaid Testing

PlantUML API Test

๐Ÿ” GraphDocker Secure Service Running (Port: 8888)

System Health Check | API Token Information