Hello, i want to create a document, creating a “Diagram as a Code” with Mermaid on Lucid through a REST API.
From the Documentation, i only see that in order to create a document, i need to send the following body:
{
"product": "lucidchart",
"title": "example",
"parent": 123
}
but how do I send the actual contents of the diagram?
sequenceDiagram
Alice->>John: Hello John, how are you?
John-->>Alice: Great!
Alice-)John: See you later!
I read also that there is an alternative way of sending the information, but the documentation and examples on https://developer.lucid.co/reference/createorcopyorimportdocument are not clear to me.
Thank you!