Skip to content

Commit eec4b43

Browse files
authored
Spec Update 03/30/2022 (#69)
Change Notes: file_properties Namespace - Update Comments file_tagging Namespace - Update Comments files Namespace - Update Metadata struct to include preview_url - Update Comments team_log_generated Namespace - Add DropboxPasswordsPolicyChangedDetails, DropboxPasswordsPolicyChangedType structs - Add DropboxPasswordsPolicy unions
1 parent 9daf01c commit eec4b43

File tree

4 files changed

+35
-5
lines changed

4 files changed

+35
-5
lines changed

file_properties.stone

+1-2
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,7 @@ union LookupError
146146
not_folder
147147
"We were expecting a folder, but the given path refers to something that isn't a folder."
148148
restricted_content
149-
"The file cannot be transferred because the content is restricted. For example,
150-
sometimes there are legal restrictions due to copyright claims."
149+
"The file cannot be transferred because the content is restricted. For example, we might restrict a file due to legal requirements."
151150

152151
union LookUpPropertiesError
153152
property_group_not_found

file_tagging.stone

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ union AddTagError extends BaseTagError
4545
"The item already has the maximum supported number of tags."
4646

4747
route tags/add(AddTagArg, Void, AddTagError)
48-
"Add a tag to an item. A tag is a string. No more than 20 tags can be added to a given item."
48+
"Add a tag to an item. A tag is a string. The strings are automatically converted to lowercase letters. No more than 20 tags can be added to a given item."
4949

5050
attrs
5151
auth = "user"

files.stone

+4-2
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ struct Metadata
6464
"Please use :field:`FileSharingInfo.parent_shared_folder_id`
6565
or :field:`FolderSharingInfo.parent_shared_folder_id` instead."
6666

67+
preview_url String?
68+
"The preview URL of the file."
69+
6770
example default
6871
file = default
6972

@@ -1553,8 +1556,7 @@ union LookupError
15531556
not_folder
15541557
"We were expecting a folder, but the given path refers to something that isn't a folder."
15551558
restricted_content
1556-
"The file cannot be transferred because the content is restricted. For example,
1557-
sometimes there are legal restrictions due to copyright claims."
1559+
"The file cannot be transferred because the content is restricted. For example, we might restrict a file due to legal requirements."
15581560
unsupported_content_type
15591561
"This operation is not supported for this content type."
15601562
locked

team_log_generated.stone

+29
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,12 @@ union DownloadPolicyType
406406
allow
407407
disallow
408408

409+
union DropboxPasswordsPolicy
410+
"Policy for deciding whether team users can use Dropbox Passwords"
411+
default
412+
disabled
413+
enabled
414+
409415
union EmailIngestPolicy
410416
"Policy for deciding whether a team can use Email to Dropbox feature"
411417
disabled
@@ -5610,6 +5616,18 @@ struct DirectoryRestrictionsAddMembersDetails
56105616
struct DirectoryRestrictionsRemoveMembersDetails
56115617
"Removed members from directory restrictions list."
56125618

5619+
struct DropboxPasswordsPolicyChangedDetails
5620+
"Changed Dropbox Passwords policy for team."
5621+
5622+
new_value DropboxPasswordsPolicy
5623+
"To."
5624+
previous_value DropboxPasswordsPolicy
5625+
"From."
5626+
5627+
example default
5628+
new_value = default
5629+
previous_value = default
5630+
56135631
struct EmailIngestPolicyChangedDetails
56145632
"Changed email to Dropbox policy for team."
56155633

@@ -7057,6 +7075,7 @@ union EventDetails
70577075
device_approvals_remove_exception_details DeviceApprovalsRemoveExceptionDetails
70587076
directory_restrictions_add_members_details DirectoryRestrictionsAddMembersDetails
70597077
directory_restrictions_remove_members_details DirectoryRestrictionsRemoveMembersDetails
7078+
dropbox_passwords_policy_changed_details DropboxPasswordsPolicyChangedDetails
70607079
email_ingest_policy_changed_details EmailIngestPolicyChangedDetails
70617080
emm_add_exception_details EmmAddExceptionDetails
70627081
emm_change_policy_details EmmChangePolicyDetails
@@ -9391,6 +9410,12 @@ struct DirectoryRestrictionsRemoveMembersType
93919410
example default
93929411
description = "(team_policies) Removed members from directory restrictions list"
93939412

9413+
struct DropboxPasswordsPolicyChangedType
9414+
description String
9415+
9416+
example default
9417+
description = "(team_policies) Changed Dropbox Passwords policy for team"
9418+
93949419
struct EmailIngestPolicyChangedType
93959420
description String
93969421

@@ -10787,6 +10812,8 @@ union EventType
1078710812
"(team_policies) Added members to directory restrictions list"
1078810813
directory_restrictions_remove_members DirectoryRestrictionsRemoveMembersType
1078910814
"(team_policies) Removed members from directory restrictions list"
10815+
dropbox_passwords_policy_changed DropboxPasswordsPolicyChangedType
10816+
"(team_policies) Changed Dropbox Passwords policy for team"
1079010817
email_ingest_policy_changed EmailIngestPolicyChangedType
1079110818
"(team_policies) Changed email to Dropbox policy for team"
1079210819
emm_add_exception EmmAddExceptionType
@@ -11751,6 +11778,8 @@ union EventTypeArg
1175111778
"(team_policies) Added members to directory restrictions list"
1175211779
directory_restrictions_remove_members
1175311780
"(team_policies) Removed members from directory restrictions list"
11781+
dropbox_passwords_policy_changed
11782+
"(team_policies) Changed Dropbox Passwords policy for team"
1175411783
email_ingest_policy_changed
1175511784
"(team_policies) Changed email to Dropbox policy for team"
1175611785
emm_add_exception

0 commit comments

Comments
 (0)