forcesave
Forcibly saves the document being edited without closing it. The document editing might be continued after this command, so this will not be the final saved document version.
Request example
{
"c": "forcesave",
"key": "Khirz6zTPdfd7",
"userdata": "sample userdata"
}
Request parameters
| Parameter | Type | Presence | Description |
|---|---|---|---|
| c | string | required | The command type. |
| key | string | required | The document identifier used to unambiguously identify the document file. |
| userdata | string | optional | Some custom identifier which will help distinguish the specific request in case there were more than one. |
Response example
{
"error": 0,
"key": "Khirz6zTPdfd7"
}
Response parameters
| Parameter | Type | Presence | Description |
|---|---|---|---|
| error | integer | required | An error code. |
| key | string | required | The document identifier used to unambiguously identify the document file. |