Optional ReadonlybaseRevisionId?: stringThe revision the bytes were derived from. When set and the file's
current revision differs, the provider returns a stale-base
conflict instead of silently making the user's edit the newest
revision over someone else's. Omit to skip the check.
Readonlymode: "new-version"Readonlyref: SourceFileRefThe file to add a revision to; ref.revisionId is ignored.
ReadonlycontainerId: stringDestination container.
ReadonlyfileName: stringName of the file to create.
Readonlymode: "new-file" | "new-location"ReadonlyprojectId: string
Where
uploadFileputs the bytes.modeis checked againstcapabilities.writeBack.