All Products
Search
Document Center

Intelligent Media Management:WebOffice message example

Last Updated:Oct 29, 2024

This topic provides an example of a WebOffice file saving message.

File saving message example

{
    "events": [{
        "eventName": "OfficeEdit:SaveVersion", // A WebOffice save event.
        "eventSource": "acs:imm",
        "eventTime": "2024-03-26T07:47:30.48323472Z", // The event occurrence time.
        "eventVersion": "1.0",
        "imm": {
            "fileID": "92dbba66ddcb9b06397e52c72884f50c17c7c27c", // The ID of the file.
            "fileSize": 12478,  // The file size.
            "sourceUri": "oss://imm-test-bucket/demo.docx", // The OSS path of the file saved.
            "sourceVersion": "",
            "tgtUri": "",
            "userData": "", // The user information. The user information provided in the GenerateWebofficeToken request is returned.
            "userID": "test_user", // The ID of the user who edited the file.
            "version": 2 // The version.
        }
    }]
}