Skip to content

Commit 963101f

Browse files
mbogosianposita
authored andcommitted
Update API specification.
Files namespace: - Added Sha256HexHash alias. - Added content_hash to FileMetadata. - Added upload_api_rate_limit feature attribute to upload_session/start, upload_session/append_v2, upload_session/append, upload, upload_session/finish_batch. - Added duplicated_or_nested_paths to RelocationError and removed from RelocationBatchError. - Added properties api_group attribute and is_preview attribute to properties/*. - Added disable_viewer_info and enable_viewer_info to CommitInfoWithProperties. - Added link_metadata to SharedFileMetadata. - Added ViewerInfoPolicy union. - Added no_explicit_access to MemberSelector. - Deprecated change_file_member_access. - Added update_file_member route and UpdateFileMemberArgs struct. Sharing namespace: - Added viewer_info_policy, disable_viewer_info, enable_viewer_info to FolderPolicy. - Added team, is_inside_team_folder, path_lower to SharedLinkPolicy. - Added link_metadata, policy, shared_folder_id, time_invited to SharedFolderMetadata. - Added actions, link_settings, viewer_info_policy to ShareFolderArg and removed default values from policies in ShareFolderArg. - Added viewer_info_policy, link_settings to UpdateFolderPolicyArg. Stone Cfg namespace: - Added attribute api_group, is_preview. - Removed attributes alpha_group, beta_group. Team namespace: - Added joined_on, persistent_id to MemberProfile. - Added team_member_id, external_id to UserSelectorArg. - Added TeamMemberId, MemberExternalId, GroupExternalId, ResellerId aliases. - Added company_managed, system_managed to GroupManagementType. - Added TimeRange. - Added archive_in_progress to TeamFolderStatus, TeamFolderIdArg. - Added BaseTeamFolderError. - Added folder_name_reserved to TeamFolderCreateError. - TeamFolderRenameError, TeamFolderArchiveError, BaseTeamFolderError, TeamFolderPermanentlyDeleteError now extend BaseTeamFolderError. - Added folder_name_reserved to TeamFolderRenameError. - Added GroupSelectorWithTeamGroupError. - GroupMemberSelectorError, GroupMembersSelectorError now extends GroupSelectorWithTeamGroupError. - Removed alpha from alpha/groups/*. - GroupDeleteError, GroupUpdateError, GroupMembersAddError now extends GroupSelectorWithTeamGroupError. - Added members_not_in_team, users_not_found to GroupMembersAddError. - Added joined_on to TeamMemberProfile. - Added member_persistent_id, duplicate_member_persistent_id, persistent_id_disabled, new_persistent_id, persistent_id_disabled, persistent_id_used_by_other_user to MemberSelectorError.
1 parent 7a96736 commit 963101f

File tree

10 files changed

+9140
-802
lines changed

10 files changed

+9140
-802
lines changed

dropbox/auth.py

Lines changed: 446 additions & 0 deletions
Large diffs are not rendered by default.

dropbox/base.py

Lines changed: 515 additions & 26 deletions
Large diffs are not rendered by default.

dropbox/base_team.py

Lines changed: 197 additions & 156 deletions
Large diffs are not rendered by default.

dropbox/common.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
DropboxTimestamp_validator = bv.Timestamp(u'%Y-%m-%dT%H:%M:%SZ')
1515
EmailAddress_validator = bv.String(max_length=255, pattern=u"^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*.[A-Za-z]{2,15}$")
1616
NamePart_validator = bv.String(min_length=1, max_length=100, pattern=u'[^/:?*<>"|]*')
17-
SharedFolderId_validator = bv.String(pattern=u'[-_0-9a-zA-Z:]+')
17+
NamespaceId_validator = bv.String(pattern=u'[-_0-9a-zA-Z:]+')
18+
SharedFolderId_validator = NamespaceId_validator
1819
ROUTES = {
1920
}
2021

0 commit comments

Comments
 (0)