Skip to content

Commit 9daf01c

Browse files
sdericksonScott Erickson
andauthored
Spec Update 03/02/2022 (#<TODO>) (#67)
Change Notes: files Namespace - Update UploadArg - content_hash doc string sharing_folders Namespace - Add traverse to AccessLevel team_log_generated Namespace - Example and docstring updates Co-authored-by: Scott Erickson <serickson@dropbox.com>
1 parent 895e08a commit 9daf01c

File tree

3 files changed

+41
-38
lines changed

3 files changed

+41
-38
lines changed

files.stone

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -871,8 +871,8 @@ struct UploadSessionStartArg
871871
:field:`UploadSessionType.sequential`."
872872

873873
content_hash Sha256HexHash?
874-
"NOT YET SUPPORTED. A hash of the file content uploaded in this call. If provided and the
875-
uploaded content does not match this hash, an error will be returned. For more information see our
874+
"A hash of the file content uploaded in this call. If provided and the uploaded content
875+
does not match this hash, an error will be returned. For more information see our
876876
:link:`Content hash https://www.dropbox.com/developers/reference/content-hash` page."
877877

878878
example with_close
@@ -938,8 +938,8 @@ struct UploadSessionAppendArg
938938
you won't be able to call :route:`upload_session/append:2`
939939
anymore with the current session."
940940
content_hash Sha256HexHash?
941-
"NOT YET SUPPORTED. A hash of the file content uploaded in this call. If provided and the
942-
uploaded content does not match this hash, an error will be returned. For more information see our
941+
"A hash of the file content uploaded in this call. If provided and the uploaded content
942+
does not match this hash, an error will be returned. For more information see our
943943
:link:`Content hash https://www.dropbox.com/developers/reference/content-hash` page."
944944

945945
example default
@@ -1087,8 +1087,8 @@ struct UploadSessionFinishArg
10871087
commit CommitInfo
10881088
"Contains the path and other optional modifiers for the commit."
10891089
content_hash Sha256HexHash?
1090-
"NOT YET SUPPORTED. A hash of the file content uploaded in this call. If provided and the
1091-
uploaded content does not match this hash, an error will be returned. For more information see our
1090+
"A hash of the file content uploaded in this call. If provided and the uploaded content
1091+
does not match this hash, an error will be returned. For more information see our
10921092
:link:`Content hash https://www.dropbox.com/developers/reference/content-hash` page."
10931093

10941094
example default
@@ -1123,8 +1123,8 @@ route upload_session/finish (UploadSessionFinishArg, FileMetadata, UploadSession
11231123

11241124
struct UploadArg extends CommitInfo
11251125
content_hash Sha256HexHash?
1126-
"NOT YET SUPPORTED. A hash of the file content uploaded in this call. If provided and the
1127-
uploaded content does not match this hash, an error will be returned. For more information see our
1126+
"A hash of the file content uploaded in this call. If provided and the uploaded content
1127+
does not match this hash, an error will be returned. For more information see our
11281128
:link:`Content hash https://www.dropbox.com/developers/reference/content-hash` page."
11291129

11301130
route upload (UploadArg, FileMetadata, UploadError)

sharing_folders.stone

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ union AccessLevel
2222
viewer_no_comment
2323
"The collaborator can only view the shared folder and does
2424
not have any access to comments."
25+
traverse
26+
"The collaborator can only view the shared folder that they have
27+
access to."
2528

2629
struct FolderPolicy
2730
"A set of policies governing membership and privileges for a shared

team_log_generated.stone

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ union DownloadPolicyType
407407
disallow
408408

409409
union EmailIngestPolicy
410-
"Policy for deciding whether a team can use Email to my Dropbox feature"
410+
"Policy for deciding whether a team can use Email to Dropbox feature"
411411
disabled
412412
enabled
413413

@@ -2934,7 +2934,7 @@ struct UserTagsRemovedDetails
29342934
values = ["abc"]
29352935

29362936
struct EmailIngestReceiveFileDetails
2937-
"Received files via Email to my Dropbox."
2937+
"Received files via Email to Dropbox."
29382938

29392939
inbox_name String
29402940
"Inbox name."
@@ -4476,7 +4476,7 @@ struct SharedContentAddInviteesDetails
44764476
"A list of invitees."
44774477

44784478
example default
4479-
shared_content_access_level = viewer_no_comment
4479+
shared_content_access_level = traverse
44804480
invitees = ["john_smith@acmecorp.com"]
44814481

44824482
struct SharedContentAddLinkExpiryDetails
@@ -4498,7 +4498,7 @@ struct SharedContentAddMemberDetails
44984498
"Shared content access level."
44994499

45004500
example default
4501-
shared_content_access_level = viewer_no_comment
4501+
shared_content_access_level = traverse
45024502

45034503
struct SharedContentChangeDownloadsPolicyDetails
45044504
"Changed whether members can download shared file/folder."
@@ -4523,8 +4523,8 @@ struct SharedContentChangeInviteeRoleDetails
45234523
"The invitee whose role was changed."
45244524

45254525
example default
4526-
previous_access_level = viewer_no_comment
4527-
new_access_level = viewer_no_comment
4526+
previous_access_level = traverse
4527+
new_access_level = traverse
45284528
invitee = "john_smith@acmecorp.com"
45294529

45304530
struct SharedContentChangeLinkAudienceDetails
@@ -4563,8 +4563,8 @@ struct SharedContentChangeMemberRoleDetails
45634563
"New access level."
45644564

45654565
example default
4566-
previous_access_level = viewer_no_comment
4567-
new_access_level = viewer_no_comment
4566+
previous_access_level = traverse
4567+
new_access_level = traverse
45684568

45694569
struct SharedContentChangeViewerInfoPolicyDetails
45704570
"Changed whether members can see who viewed shared file/folder."
@@ -4602,7 +4602,7 @@ struct SharedContentCopyDetails
46024602
example default
46034603
shared_content_link = "abc"
46044604
shared_content_owner = default
4605-
shared_content_access_level = viewer_no_comment
4605+
shared_content_access_level = traverse
46064606
destination_path = "/Contract Work/Product Design"
46074607

46084608
struct SharedContentDownloadDetails
@@ -4618,7 +4618,7 @@ struct SharedContentDownloadDetails
46184618
example default
46194619
shared_content_link = "abc"
46204620
shared_content_owner = default
4621-
shared_content_access_level = viewer_no_comment
4621+
shared_content_access_level = traverse
46224622

46234623
struct SharedContentRelinquishMembershipDetails
46244624
"Left shared file/folder."
@@ -4651,7 +4651,7 @@ struct SharedContentRemoveMemberDetails
46514651
"Shared content access level."
46524652

46534653
example default
4654-
shared_content_access_level = viewer_no_comment
4654+
shared_content_access_level = traverse
46554655

46564656
struct SharedContentRequestAccessDetails
46574657
"Requested access to shared file/folder."
@@ -4671,7 +4671,7 @@ struct SharedContentRestoreInviteesDetails
46714671
"A list of invitees."
46724672

46734673
example default
4674-
shared_content_access_level = viewer_no_comment
4674+
shared_content_access_level = traverse
46754675
invitees = ["john_smith@acmecorp.com"]
46764676

46774677
struct SharedContentRestoreMemberDetails
@@ -4681,7 +4681,7 @@ struct SharedContentRestoreMemberDetails
46814681
"Shared content access level."
46824682

46834683
example default
4684-
shared_content_access_level = viewer_no_comment
4684+
shared_content_access_level = traverse
46854685

46864686
struct SharedContentUnshareDetails
46874687
"Unshared file/folder by clearing membership."
@@ -4702,7 +4702,7 @@ struct SharedContentViewDetails
47024702
example default
47034703
shared_content_link = "abc"
47044704
shared_content_owner = default
4705-
shared_content_access_level = viewer_no_comment
4705+
shared_content_access_level = traverse
47064706

47074707
struct SharedFolderChangeLinkPolicyDetails
47084708
"Changed who can access shared folder via link."
@@ -4889,7 +4889,7 @@ struct SharedLinkSettingsAddExpirationDetails
48894889
"New shared content link expiration date. Might be missing due to historical data gap."
48904890

48914891
example default
4892-
shared_content_access_level = viewer_no_comment
4892+
shared_content_access_level = traverse
48934893
shared_content_link = "abc"
48944894
new_value = "2017-01-25T15:51:30Z"
48954895

@@ -4902,7 +4902,7 @@ struct SharedLinkSettingsAddPasswordDetails
49024902
"Shared content link."
49034903

49044904
example default
4905-
shared_content_access_level = viewer_no_comment
4905+
shared_content_access_level = traverse
49064906
shared_content_link = "abc"
49074907

49084908
struct SharedLinkSettingsAllowDownloadDisabledDetails
@@ -4914,7 +4914,7 @@ struct SharedLinkSettingsAllowDownloadDisabledDetails
49144914
"Shared content link."
49154915

49164916
example default
4917-
shared_content_access_level = viewer_no_comment
4917+
shared_content_access_level = traverse
49184918
shared_content_link = "abc"
49194919

49204920
struct SharedLinkSettingsAllowDownloadEnabledDetails
@@ -4926,7 +4926,7 @@ struct SharedLinkSettingsAllowDownloadEnabledDetails
49264926
"Shared content link."
49274927

49284928
example default
4929-
shared_content_access_level = viewer_no_comment
4929+
shared_content_access_level = traverse
49304930
shared_content_link = "abc"
49314931

49324932
struct SharedLinkSettingsChangeAudienceDetails
@@ -4942,7 +4942,7 @@ struct SharedLinkSettingsChangeAudienceDetails
49424942
"Previous link audience value."
49434943

49444944
example default
4945-
shared_content_access_level = viewer_no_comment
4945+
shared_content_access_level = traverse
49464946
shared_content_link = "abc"
49474947
new_value = no_one
49484948
previous_value = no_one
@@ -4960,7 +4960,7 @@ struct SharedLinkSettingsChangeExpirationDetails
49604960
"Previous shared content link expiration date. Might be missing due to historical data gap."
49614961

49624962
example default
4963-
shared_content_access_level = viewer_no_comment
4963+
shared_content_access_level = traverse
49644964
shared_content_link = "abc"
49654965
new_value = "2017-01-25T15:51:30Z"
49664966
previous_value = "2017-01-25T15:51:30Z"
@@ -4974,7 +4974,7 @@ struct SharedLinkSettingsChangePasswordDetails
49744974
"Shared content link."
49754975

49764976
example default
4977-
shared_content_access_level = viewer_no_comment
4977+
shared_content_access_level = traverse
49784978
shared_content_link = "abc"
49794979

49804980
struct SharedLinkSettingsRemoveExpirationDetails
@@ -4988,7 +4988,7 @@ struct SharedLinkSettingsRemoveExpirationDetails
49884988
"Previous shared link expiration date. Might be missing due to historical data gap."
49894989

49904990
example default
4991-
shared_content_access_level = viewer_no_comment
4991+
shared_content_access_level = traverse
49924992
shared_content_link = "abc"
49934993
previous_value = "2017-01-25T15:51:30Z"
49944994

@@ -5001,7 +5001,7 @@ struct SharedLinkSettingsRemovePasswordDetails
50015001
"Shared content link."
50025002

50035003
example default
5004-
shared_content_access_level = viewer_no_comment
5004+
shared_content_access_level = traverse
50055005
shared_content_link = "abc"
50065006

50075007
struct SharedLinkShareDetails
@@ -5611,7 +5611,7 @@ struct DirectoryRestrictionsRemoveMembersDetails
56115611
"Removed members from directory restrictions list."
56125612

56135613
struct EmailIngestPolicyChangedDetails
5614-
"Changed email to my Dropbox policy for team."
5614+
"Changed email to Dropbox policy for team."
56155615

56165616
new_value EmailIngestPolicy
56175617
"To."
@@ -7775,7 +7775,7 @@ struct EmailIngestReceiveFileType
77757775
description String
77767776

77777777
example default
7778-
description = "(file_requests) Received files via Email to my Dropbox"
7778+
description = "(file_requests) Received files via Email to Dropbox"
77797779

77807780
struct FileRequestChangeType
77817781
description String
@@ -9395,7 +9395,7 @@ struct EmailIngestPolicyChangedType
93959395
description String
93969396

93979397
example default
9398-
description = "(team_policies) Changed email to my Dropbox policy for team"
9398+
description = "(team_policies) Changed email to Dropbox policy for team"
93999399

94009400
struct EmmAddExceptionType
94019401
description String
@@ -10248,7 +10248,7 @@ union EventType
1024810248
user_tags_removed UserTagsRemovedType
1024910249
"(file_operations) Removed tags"
1025010250
email_ingest_receive_file EmailIngestReceiveFileType
10251-
"(file_requests) Received files via Email to my Dropbox"
10251+
"(file_requests) Received files via Email to Dropbox"
1025210252
file_request_change FileRequestChangeType
1025310253
"(file_requests) Changed file request"
1025410254
file_request_close FileRequestCloseType
@@ -10788,7 +10788,7 @@ union EventType
1078810788
directory_restrictions_remove_members DirectoryRestrictionsRemoveMembersType
1078910789
"(team_policies) Removed members from directory restrictions list"
1079010790
email_ingest_policy_changed EmailIngestPolicyChangedType
10791-
"(team_policies) Changed email to my Dropbox policy for team"
10791+
"(team_policies) Changed email to Dropbox policy for team"
1079210792
emm_add_exception EmmAddExceptionType
1079310793
"(team_policies) Added members to EMM exception list"
1079410794
emm_change_policy EmmChangePolicyType
@@ -11212,7 +11212,7 @@ union EventTypeArg
1121211212
user_tags_removed
1121311213
"(file_operations) Removed tags"
1121411214
email_ingest_receive_file
11215-
"(file_requests) Received files via Email to my Dropbox"
11215+
"(file_requests) Received files via Email to Dropbox"
1121611216
file_request_change
1121711217
"(file_requests) Changed file request"
1121811218
file_request_close
@@ -11752,7 +11752,7 @@ union EventTypeArg
1175211752
directory_restrictions_remove_members
1175311753
"(team_policies) Removed members from directory restrictions list"
1175411754
email_ingest_policy_changed
11755-
"(team_policies) Changed email to my Dropbox policy for team"
11755+
"(team_policies) Changed email to Dropbox policy for team"
1175611756
emm_add_exception
1175711757
"(team_policies) Added members to EMM exception list"
1175811758
emm_change_policy

0 commit comments

Comments
 (0)