Skip to main content

meta

Updates the meta information of the document for all collaborative editors.

Request example

{
"c": "meta",
"key": "Khirz6zTPdfd7",
"meta": {
"title": "Example Document Title.docx"
}
}

Parameters

ParameterTypePresenceDescription
cstringrequiredDefines the command type.
keystringrequiredDefines the document identifier used to unambiguously identify the document file.
metaobjectrequiredDefines the new meta information of the document.
meta.titlestringrequiredDefines the new document name.

Response example

{
"error": 0,
"key": "Khirz6zTPdfd7"
}

Parameters

ParameterTypePresenceDescription
errorintegerrequiredDefines an error code.
keystringrequiredDefines the document identifier used to unambiguously identify the document file.