{ "kind": "fileContent", "type": "fileContent", "action": "update", "fileId": "file1", // 接入方文件 ID "userId": "user1", // 接入方用户 ID "fileContent": { "version": 2 // 此事件发生时产生的新版本 }, "timestamp": 1635732089224 // 此事件产生的时间 }
curl --location -g --request POST '/events' \ --header 'X-Shimo-Credential-Type;' \ --header 'X-Shimo-Sdk-Event: FileContent' \ --header 'X-Shimo-Signature;' \ --header 'Content-Type: application/json' \ --data-raw '{ "kind": "fileContent", "type": "fileContent", "action": "update", "fileId": "file1", // 接入方文件 ID "userId": "user1", // 接入方用户 ID "fileContent": { "version": 2 // 此事件发生时产生的新版本 }, "timestamp": 1635732089224 // 此事件产生的时间 }'
{}