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
improvement(files): simplify file version history internals
- read metadata and its current version in one statement; drop the retry and 409
- move provenance policy branching into the provenance module
- project stored provenance out of list, head, and get reads; revert reads it on demand
- chunk storage-cleanup enqueues to the outbox bulk limit in one place
- drop the write-only content_updated_at version column (unreleased 0365)
- reuse findCause, the shared cleanup batch constants, and the version-number primitives
- share the v2 text presenter between the file and version routes
Copy file name to clipboardExpand all lines: apps/docs/openapi-v2-files-audit.json
+2-5Lines changed: 2 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -868,7 +868,7 @@
868
868
"get": {
869
869
"operationId": "listFileVersions",
870
870
"summary": "List File Versions",
871
-
"description": "List the versions of a file, newest first by default. Each write that changes the bytes records one; identical rewrites do not, and collaborative edits or repeated workflow writes by one author within ten minutes fold into one. Renames and moves are not versions. An empty file is version 1 until its first content replaces it. Retention keeps the newest ten and removes older versions by plan, so numbers can have gaps.\n\nOAuth scope: `api:read`.",
871
+
"description": "List the versions of a file, newest first by default. Each write that changes the bytes records one; identical rewrites do not. Collaborative edits within ten minutes fold into one version, as do repeated workflow writes by one author. Renames and moves are not versions. An empty file is version 1 until its first content replaces it. Retention keeps the newest ten and removes older versions by plan, so numbers can have gaps.\n\nOAuth scope: `api:read`.",
872
872
"x-sim-operation": "files.versions.list",
873
873
"x-oauth-scope": "api:read",
874
874
"tags": ["Files"],
@@ -2068,7 +2068,7 @@
2068
2068
"get": {
2069
2069
"operationId": "getFile",
2070
2070
"summary": "Get File Metadata",
2071
-
"description": "Get file metadata, its public-share configuration, and the version number of its current content. The `share` field is null when the file has never been shared. `currentVersion` identifies the content in List File Versions and is the precondition Revert File Version accepts. A file rewritten continuously while it is read returns `409`; retry.\n\nOAuth scope: `api:read`.",
2071
+
"description": "Get file metadata, its public-share configuration, and the version number of its current content. The `share` field is null when the file has never been shared. `currentVersion` identifies the content in List File Versions and is the precondition Revert File Version accepts.\n\nOAuth scope: `api:read`.",
0 commit comments