Skip to content

Commit d439f00

Browse files
eugeneycheEugene Che
and
Eugene Che
authored
Spec Update 08/26/2021 (dropbox#54) (dropbox#54)
Change Notes: files Namespace Add api_proxy_dev_check_api_v2_service namespace Add api_proxy_dev_check_api_v2_types namespace Co-authored-by: Eugene Che <eugeneyche@dropbox.com>
1 parent 837cc87 commit d439f00

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed
File renamed without changes.
File renamed without changes.

files.stone

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -946,6 +946,10 @@ struct UploadSessionCursor
946946
session_id = "1234faaf0678bcde"
947947
offset = 0
948948

949+
example another
950+
session_id = "8dd9d57374911153"
951+
offset = 1073741824
952+
949953
route upload_session/append (UploadSessionCursor, Void, UploadSessionLookupError) deprecated by upload_session/append:2
950954
"Append more data to an upload session.
951955

@@ -986,6 +990,10 @@ union_closed WriteMode
986990
strategy is the same as it is for :field:`add`."
987991
update Rev
988992
"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.
989997
The autorename strategy is to append the string \"conflicted copy\"
990998
to the file name. For example, \"document.txt\" might become
991999
\"document (conflicted copy).txt\" or \"document (Panda's conflicted copy).txt\"."
@@ -1032,6 +1040,10 @@ struct CommitInfo
10321040
path = "/Homework/math/Matrices.txt"
10331041
autorename = true
10341042

1043+
example another
1044+
path = "/Homework/math/Vectors.txt"
1045+
autorename = true
1046+
10351047
example update
10361048
path = "/Homework/math/Matrices.txt"
10371049
mode = with_revision
@@ -1048,6 +1060,10 @@ struct UploadSessionFinishArg
10481060
cursor = default
10491061
commit = default
10501062

1063+
example another
1064+
cursor = another
1065+
commit = another
1066+
10511067
example update
10521068
cursor = default
10531069
commit = update
@@ -1098,6 +1114,9 @@ struct UploadSessionFinishBatchArg
10981114
example default
10991115
entries = [default]
11001116

1117+
example multiple
1118+
entries = [default, another]
1119+
11011120
struct UploadSessionFinishBatchResult
11021121
entries List(UploadSessionFinishBatchResultEntry)
11031122
"Each entry in :field:`UploadSessionFinishBatchArg.entries` will appear at the same position

0 commit comments

Comments
 (0)