curl --request POST \
--url https://api.klavis.ai/sandbox/confluence/{sandbox_id}/initialize \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"spaces": [
{
"identifier": "TEAM",
"name": "Team Space",
"description": "Space for team collaboration",
"pages": [
{
"title": "Welcome to the Team",
"content": "<p>This is the home page for our team.</p>",
"comments": [
{
"content": "<p>Great start!</p>"
}
],
"children": [
{
"title": "Project Alpha",
"content": "<h1>Project Alpha</h1><p>Details about the project.</p>",
"comments": [
{
"content": "<p>Looking forward to this.</p>"
}
]
},
{
"title": "Meeting Notes",
"content": "<p>Weekly meeting notes go here.</p>",
"children": [
{
"title": "2023-10-27 Sync",
"content": "<p>Discussed Q4 goals.</p>"
}
]
}
]
}
]
},
{
"identifier": "DOCS",
"name": "Documentation",
"description": "Product documentation",
"pages": [
{
"title": "Getting Started",
"content": "<p>How to use the product.</p>"
}
]
}
]
}
'