@@ -946,6 +946,10 @@ struct UploadSessionCursor
946
946
session_id = "1234faaf0678bcde"
947
947
offset = 0
948
948
949
+ example another
950
+ session_id = "8dd9d57374911153"
951
+ offset = 1073741824
952
+
949
953
route upload_session/append (UploadSessionCursor, Void, UploadSessionLookupError) deprecated by upload_session/append:2
950
954
"Append more data to an upload session.
951
955
@@ -986,6 +990,10 @@ union_closed WriteMode
986
990
strategy is the same as it is for :field:`add`."
987
991
update Rev
988
992
"Overwrite if the given \"rev\" matches the existing file's \"rev\".
993
+ The supplied value should be the latest known \"rev\" of the file, for example,
994
+ from :type:`FileMetadata`, from when the file was last downloaded by the app.
995
+ This will cause the file on the Dropbox servers to be overwritten if the given \"rev\"
996
+ matches the existing file's current \"rev\" on the Dropbox servers.
989
997
The autorename strategy is to append the string \"conflicted copy\"
990
998
to the file name. For example, \"document.txt\" might become
991
999
\"document (conflicted copy).txt\" or \"document (Panda's conflicted copy).txt\"."
@@ -1032,6 +1040,10 @@ struct CommitInfo
1032
1040
path = "/Homework/math/Matrices.txt"
1033
1041
autorename = true
1034
1042
1043
+ example another
1044
+ path = "/Homework/math/Vectors.txt"
1045
+ autorename = true
1046
+
1035
1047
example update
1036
1048
path = "/Homework/math/Matrices.txt"
1037
1049
mode = with_revision
@@ -1048,6 +1060,10 @@ struct UploadSessionFinishArg
1048
1060
cursor = default
1049
1061
commit = default
1050
1062
1063
+ example another
1064
+ cursor = another
1065
+ commit = another
1066
+
1051
1067
example update
1052
1068
cursor = default
1053
1069
commit = update
@@ -1098,6 +1114,9 @@ struct UploadSessionFinishBatchArg
1098
1114
example default
1099
1115
entries = [default]
1100
1116
1117
+ example multiple
1118
+ entries = [default, another]
1119
+
1101
1120
struct UploadSessionFinishBatchResult
1102
1121
entries List(UploadSessionFinishBatchResultEntry)
1103
1122
"Each entry in :field:`UploadSessionFinishBatchArg.entries` will appear at the same position
0 commit comments