POST
/mindmaps
curl \
--request POST 'http://localhost:8080/api/mindmaps' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"title":"My First Mindmap","nodes":[{"id":"string","type":"mindmapTextNode","content":"string"}]}'
Request examples
{
"title": "My First Mindmap",
"nodes": [
{
"id": "string",
"type": "mindmapTextNode",
"content": "string"
}
]
}
Response examples (200)
{
"success": true,
"code": 200,
"message": "string",
"data": {
"id": "string",
"title": "string",
"description": "string",
"nodes": [
{
"id": "string",
"type": "mindmapTextNode",
"content": "string"
}
],
"edges": [
{
"id": "string",
"type": "string"
}
],
"createdAt": "2025-08-30T10:30:00Z",
"updatedAt": "2025-08-30T15:45:00Z"
}
}
Response examples (500)
{
"success": false,
"code": 42,
"errorCode": "string",
"message": "string",
"timestamp": "2025-05-04T09:42:00Z"
}