You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/docs/openapi-v2-files-audit.json
+4-12Lines changed: 4 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -5321,15 +5321,8 @@
5321
5321
"description": "Current public-share state, or null when the file has never been shared."
5322
5322
},
5323
5323
"revision": {
5324
-
"anyOf": [
5325
-
{
5326
-
"type": "string"
5327
-
},
5328
-
{
5329
-
"type": "null"
5330
-
}
5331
-
],
5332
-
"description": "Opaque token for the file's current content. Send it back as `expectedRevision` so a write or revert is refused when the content moved on. Null for a file with no recorded content version."
5324
+
"description": "Opaque token for the file's current content. Send it back as `expectedRevision` so a write or revert is refused when the content moved on. Absent for a file with no recorded content version.",
.describe('Current public-share state, or null when the file has never been shared.'),
159
159
revision: z
160
160
.string()
161
-
.nullable()
161
+
.optional()
162
162
.describe(
163
-
"Opaque token for the file's current content. Send it back as `expectedRevision` so a write or revert is refused when the content moved on. Null for a file with no recorded content version."
163
+
"Opaque token for the file's current content. Send it back as `expectedRevision` so a write or revert is refused when the content moved on. Absent for a file with no recorded content version."
164
164
),
165
165
currentVersion: versionNumberSchema.describe(
166
166
'Version number of the current content. List File Versions returns the history; pass this as `expectedCurrentVersion` to revert only if nothing changed since.'
0 commit comments