v3
Drive
Restore a Drive file to a prior generation
Restore a Drive file to a previously retained GCS generation.
The restore is atomic: GCS uses `if_generation_match` against the current
live generation, so a half-restored read is impossible. The chosen
generation is copied on top of the live path, becoming the new live
generation while the prior live generation is retained as noncurrent.
post/v3/teams/{team_id}/drive/files/restore
Request
- Base URLhttps://api.definite.app (the document declares no server; this is the origin it was published from)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
team_idstring required
Request body
Response
File restored successfully
Changes
No recorded changes to this operation across all 2 revisions of this API.