Skip to content

Commit 13bbef7

Browse files
sdericksonScott Erickson
and
Scott Erickson
authored
Spec Update 02/02/2022 (#<TODO>) (dropbox#65)
Change Notes: files Namespace - Add MoveIntoFamilyError unions - Add payload_too_large and cant_move_into_family errors sharing_files Namespace - doc update team_log_generated Namespace - Add DataResidencyMigrationRequestSuccessfulDetails, DataResidencyMigrationRequestUnsuccessfulDetails, DataResidencyMigrationRequestSuccessfulType, DataResidencyMigrationRequestUnsuccessfulType structs Co-authored-by: Scott Erickson <serickson@dropbox.com>
1 parent 4c1da47 commit 13bbef7

File tree

3 files changed

+43
-1
lines changed

3 files changed

+43
-1
lines changed

files.stone

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -778,6 +778,8 @@ union UploadError
778778
"Unable to save the uploaded contents to a file."
779779
properties_error file_properties.InvalidPropertyGroupError
780780
"The supplied property group is invalid. The file has uploaded without property groups."
781+
payload_too_large
782+
"The request payload must be at most 150 MB."
781783

782784
struct UploadSessionOffsetError
783785
correct_offset UInt64
@@ -788,6 +790,8 @@ union UploadSessionStartError
788790
"Uploading data not allowed when starting concurrent upload session."
789791
concurrent_session_close_not_allowed
790792
"Can not start a closed concurrent upload session."
793+
payload_too_large
794+
"The request payload must be at most 150 MB."
791795

792796
union UploadSessionLookupError
793797
not_found
@@ -810,6 +814,8 @@ union UploadSessionLookupError
810814
"For concurrent upload sessions, offset needs to be multiple of 4194304 bytes."
811815
concurrent_session_invalid_data_size
812816
"For concurrent upload sessions, only chunks with size multiple of 4194304 bytes can be uploaded."
817+
payload_too_large
818+
"The request payload must be at most 150 MB."
813819

814820
union UploadSessionFinishError
815821
lookup_failed UploadSessionLookupError
@@ -832,6 +838,8 @@ union UploadSessionFinishError
832838
"Concurrent upload sessions need to be closed before finishing."
833839
concurrent_session_missing_data
834840
"Not all pieces of data were uploaded before trying to finish the session."
841+
payload_too_large
842+
"The request payload must be at most 150 MB."
835843

836844
# Req/Resp
837845

@@ -1884,11 +1892,17 @@ union RelocationError
18841892
"Can't move the shared folder to the given destination."
18851893
cant_move_into_vault MoveIntoVaultError
18861894
"Some content cannot be moved into Vault under certain circumstances, see detailed error."
1895+
cant_move_into_family MoveIntoFamilyError
1896+
"Some content cannot be moved into the Family Room folder under certain circumstances, see detailed error."
18871897

18881898
union MoveIntoVaultError
18891899
is_shared_folder
18901900
"Moving shared folder into Vault is not allowed."
18911901

1902+
union MoveIntoFamilyError
1903+
is_shared_folder
1904+
"Moving shared folder into Family Room folder is not allowed."
1905+
18921906
struct RelocationResult extends FileOpsResult
18931907
metadata Metadata
18941908
"Metadata of the relocated object."

sharing_files.stone

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ struct AddFileMemberArgs
268268
"Message to send to added members in their invitation."
269269

270270
quiet Boolean = false
271-
"Whether added members should be notified via device notifications of
271+
"Whether added members should be notified via email and device notifications of
272272
their invitation."
273273

274274
access_level AccessLevel = viewer

team_log_generated.stone

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6300,6 +6300,12 @@ struct WebSessionsChangeIdleLengthPolicyDetails
63006300
new_value = default
63016301
previous_value = default
63026302

6303+
struct DataResidencyMigrationRequestSuccessfulDetails
6304+
"Requested data residency migration for team data."
6305+
6306+
struct DataResidencyMigrationRequestUnsuccessfulDetails
6307+
"Request for data residency migration for team data has failed."
6308+
63036309
struct TeamMergeFromDetails
63046310
"Merged another team into this team."
63056311

@@ -7116,6 +7122,8 @@ union EventDetails
71167122
web_sessions_change_active_session_limit_details WebSessionsChangeActiveSessionLimitDetails
71177123
web_sessions_change_fixed_length_policy_details WebSessionsChangeFixedLengthPolicyDetails
71187124
web_sessions_change_idle_length_policy_details WebSessionsChangeIdleLengthPolicyDetails
7125+
data_residency_migration_request_successful_details DataResidencyMigrationRequestSuccessfulDetails
7126+
data_residency_migration_request_unsuccessful_details DataResidencyMigrationRequestUnsuccessfulDetails
71197127
team_merge_from_details TeamMergeFromDetails
71207128
team_merge_to_details TeamMergeToDetails
71217129
team_profile_add_background_details TeamProfileAddBackgroundDetails
@@ -9773,6 +9781,18 @@ struct WebSessionsChangeIdleLengthPolicyType
97739781
example default
97749782
description = "(team_policies) Changed how long team members can be idle while signed in to Dropbox.com"
97759783

9784+
struct DataResidencyMigrationRequestSuccessfulType
9785+
description String
9786+
9787+
example default
9788+
description = "(team_profile) Requested data residency migration for team data"
9789+
9790+
struct DataResidencyMigrationRequestUnsuccessfulType
9791+
description String
9792+
9793+
example default
9794+
description = "(team_profile) Request for data residency migration for team data has failed"
9795+
97769796
struct TeamMergeFromType
97779797
description String
97789798

@@ -10897,6 +10917,10 @@ union EventType
1089710917
"(team_policies) Changed how long members can stay signed in to Dropbox.com"
1089810918
web_sessions_change_idle_length_policy WebSessionsChangeIdleLengthPolicyType
1089910919
"(team_policies) Changed how long team members can be idle while signed in to Dropbox.com"
10920+
data_residency_migration_request_successful DataResidencyMigrationRequestSuccessfulType
10921+
"(team_profile) Requested data residency migration for team data"
10922+
data_residency_migration_request_unsuccessful DataResidencyMigrationRequestUnsuccessfulType
10923+
"(team_profile) Request for data residency migration for team data has failed"
1090010924
team_merge_from TeamMergeFromType
1090110925
"(team_profile) Merged another team into this team"
1090210926
team_merge_to TeamMergeToType
@@ -11857,6 +11881,10 @@ union EventTypeArg
1185711881
"(team_policies) Changed how long members can stay signed in to Dropbox.com"
1185811882
web_sessions_change_idle_length_policy
1185911883
"(team_policies) Changed how long team members can be idle while signed in to Dropbox.com"
11884+
data_residency_migration_request_successful
11885+
"(team_profile) Requested data residency migration for team data"
11886+
data_residency_migration_request_unsuccessful
11887+
"(team_profile) Request for data residency migration for team data has failed"
1186011888
team_merge_from
1186111889
"(team_profile) Merged another team into this team"
1186211890
team_merge_to

0 commit comments

Comments
 (0)