Error
A valid request URL is required to generate request examples{
"results": {
"action": "create"
},
"status": "ok"
}{
"error": {
"name": "<string>",
"statusCode": 123,
"data": "<unknown>",
"message": "<string>"
},
"status": "error"
}Projects
Upsert Document as code
Create or update a Document, matched by slug, from code representation
POST
/
api
/
v1
/
projects
/
{projectUuid}
/
code
/
documents
/
{slug}
Error
A valid request URL is required to generate request examples{
"results": {
"action": "create"
},
"status": "ok"
}{
"error": {
"name": "<string>",
"statusCode": 123,
"data": "<unknown>",
"message": "<string>"
},
"status": "error"
}Body
application/json
Markdown with a <document-chart id="…"> block wherever a chart sits, and
the charts those blocks reference. On writes, ids that are not c<n> are
temporary keys the server replaces with the next free id.
Available options:
2 Charts by id. Stored ids are sequential per Document (c1, c2, …).
Show child attributes
Show child attributes
Charts saved by a newer release, kept verbatim so saving the Document here doesn't lose them. Omitted when there are none.
Show child attributes
Show child attributes
Was this page helpful?