Updates a revision with patch semantics. Try it now.
||The ID of the file.|
||The ID of the revision.|
This request requires authorization with at least one of the following scopes (read more about authentication and authorization).
In the request body, supply the relevant portions of a Revisions resource, according to the rules of patch semantics, with the following properties:
||Whether to keep this revision forever, even if it is no longer the head revision. If not set, the revision will be automatically purged 30 days after newer content is uploaded. This can be set on a maximum of 200 revisions for a file.
This field is only applicable to files with binary content in Drive.
||Whether subsequent revisions will be automatically republished. This is only applicable to Google Docs.||writable|
||Whether this revision is published. This is only applicable to Google Docs.||writable|
||Whether this revision is published outside the domain. This is only applicable to Google Docs.||writable|
If successful, this method returns a Revisions resource in the response body.
Use the APIs Explorer below to call this method on live data and see the response.