File.edited
Emitted each time a File is edited.
File.edit emits File.edited when it completes on a File.
Payload
Each delivery is an Event record. data holds what File.edit returns.
| Field | Type | Required | Description |
|---|---|---|---|
name | string | required | File.edited. |
at | datetime | required | When it happened. |
seq | integer | Its position in the namespace, one more than the Event before; any seq is a cursor into the history. | |
data | json | required | The Thing as the Action left it. |
data.file | File | required | The new File, which records its source. |
data.file.contentType | string | required | The media type, such as application/. |
data.file.size | integer | required | The size in bytes. |
data.file.name | string | The file name it was uploaded with. | |
data.file.visibility | string | Who may read it: Owner, Customer, or Public. The default is Owner. | |
data.file.uploadUrl | url | The signed URL to upload the bytes to, returned by File.create. |
Example
{
"$id": "https: //api.sb/ tutorloop.com/ events/ event_1",
"$type": "Event",
"name": "File.edited",
"at": "2026-10-22T12: 00: 00Z",
"data": {
"file": {
"$id": "https: //api.sb/ tutorloop.com/ files/ file_1",
"$type": "File",
"contentType": "Example content type",
"size": 1,
"name": "TutorLoop",
"visibility": "Owner",
"uploadUrl": "https: //tutorloop.com"
}
},
"seq": 1
}