flow-preview-service
v0.0.2
Published
Service for creating flow preview screenshots
Downloads
2
Readme
flow-preview-service
Service for creating flow preview screenshots
Installation
npm install flow-preview-service -g
Run
DEBUG=flow-preview-service:* flow-preview-service
API
stats
GET /
make preview
POST /process
Content-Type: application/json
Payload: { data: <SharedFlowData> }
success response
{
"success": true,
"result": {
"type": "image/png",
"base64": "data:image/png;base64,iVBORw0KGgoAAAA.."
}
}
error response
{
"success": false,
"error": "Something went wrong"
}