Skip to content

Automated Spec Update - 2026_07_23#474

Open
dropbox-sdk-updater[bot] wants to merge 1 commit into
masterfrom
spec_update_2026_07_23
Open

Automated Spec Update - 2026_07_23#474
dropbox-sdk-updater[bot] wants to merge 1 commit into
masterfrom
spec_update_2026_07_23

Conversation

@dropbox-sdk-updater

Copy link
Copy Markdown

Automated Spec Update
0508ca45302aba8fc7b2968813ffebe38d2c21a2

Co-authored-by: Claude Opus 4.6 noreply@anthropic.com

aa7bd7a402565927065bcd39dd489808eadd69ff

d461e039e9ebfb374a726b28e289f87c58315830

Co-authored-by: Claude Opus 4.6 noreply@anthropic.com

735a331613b476c6ed0670c8746075315eb6905e

c6ab6b6b4feda087241fa377e5d14a84cd3c7092

Use AWS Secrets Manager + GitHub App installation tokens instead of
a classic personal access token. Scoped to dropbox-sdk-python initially.

4a5fa1405ff0b7b5b388eedbbc02a72dd7956ff4

Group all GitHub Actions updates into one PR

7e5f66814d44d53f76b30049068bfb1ca27a0799

This updates the spec dispatch workflow to use peter-evans/repository-dispatch@v4 instead of the older v1 action. The workflow still dispatches the same spec_update event to the existing downstream repositories, but now explicitly disables default GITHUB_TOKEN permissions because remote dispatches are authenticated with SPEC_UPDATE_TOKEN.

This also sets fail-fast: false for the repository matrix so one failed downstream dispatch does not cancel the remaining dispatch attempts, and adds a small client-payload containing the source repository, ref, and commit SHA for downstream workflows that want to inspect where the spec update came from.

66971685d041dd6ea3acabdcfcf6dc77d09cfe40

Change Notes:

common Namespace

  • Add InternalOnly annotation

files Namespace

  • Update ThumbnailSize union to mark w3200h2400 as @common.InternalOnly
  • Update ThumbnailArg struct to mark quality as @common.InternalOnly
  • Update ThumbnailV2Arg struct to mark quality as @common.InternalOnly

riviera Namespace

  • Add get_metadata_async, get_metadata_async/check routes
  • Add GetMetadataArgs, ApiExifGpsMetadata, ApiExifMetadata, ApiMediaStream, ApiMediaMetadata, ApiPdfMetadata, ApiOfficeMetadata, GetMetadataResult, GetMetadataAsyncError structs
  • Add OfficeFileType, MetadataType, MetadataExtractionApiV2Error, GetMetadataAsyncCheckResult unions
  • Update ContentApiV2Error union to include not_found_error, is_a_folder_error
  • Update MarkdownConversionApiV2Error union to include not_found_error, is_a_folder_error
  • Update Comments

sharing Namespace

  • Update AddFileMemberArgs struct to mark fp_sealed_result as @common.InternalOnly
  • Update AddFolderMemberArg struct to mark fp_sealed_result as @common.InternalOnly

team Namespace

  • Update TeamFolderCreateError union to include folder_count_limit_exceeded

team_log Namespace

  • Add MediaHubFileDownloadedDetails, MediaHubProjectTeamAddDetails, MediaHubProjectTeamDeleteDetails, MediaHubProjectTeamRoleChangedDetails, MediaHubSharedLinkAudienceChangedDetails, MediaHubSharedLinkCreatedDetails, MediaHubSharedLinkDownloadSettingChangedDetails, MediaHubSharedLinkRevokedDetails, MediaHubAddingPeoplePolicyChangedDetails, MediaHubDownloadPolicyChangedDetails, MediaHubLinkSharingPolicyChangedDetails, MultiTeamIdentityPolicyChangedDetails, MediaHubFileDownloadedType, MediaHubProjectTeamAddType, MediaHubProjectTeamDeleteType, MediaHubProjectTeamRoleChangedType, MediaHubSharedLinkAudienceChangedType, MediaHubSharedLinkCreatedType, MediaHubSharedLinkDownloadSettingChangedType, MediaHubSharedLinkRevokedType, MediaHubAddingPeoplePolicyChangedType, MediaHubDownloadPolicyChangedType, MediaHubLinkSharingPolicyChangedType, MultiTeamIdentityPolicyChangedType structs
  • Add MediaHubAddingPeoplePolicy, MediaHubDownloadPolicy, MediaHubLinkSharingPolicy, MediaHubProjectRole, MediaHubSharedLinkAudience, MediaHubSharedLinkDownloadSetting, MediaHubSharedLinkTargetType, MultiTeamIdentityPolicy unions
  • Update EventDetails union to include the new Media Hub and multi-team identity detail variants

b5f7dddcebcebbf009cdb0cb5e679909a041014e

Change Notes:

files Namespace:
Update search:2 route to remove app auth
Update search/continue:2 route to remove app auth
Update FileMetadata struct to include is_restorable
Update DeletedMetadata struct to include is_restorable
Update ListFolderArg struct to include include_restorable_info
Update ListRevisionsArg struct to include include_restorable_info

sharing Namespace:
Update get_shared_links route deprecation notice (retirement October 2026)

team_log Namespace:
Update TeamFolderSpaceCapsType union to include hard
Update EventCategory union to include protect
Add ProtectInternalDomainsChangedDetails struct
Add ProtectInternalDomainsChangedType struct
Update EventDetails union to include protect_internal_domains_changed_details
Update EventType union to include protect_internal_domains_changed
Update EventTypeArg union to include protect_internal_domains_changed
Update Examples

Remove rialto Namespace

a4fc0169eda7dc981facd4208ebc7b66a4db00ee

Change Notes:

account Namespace:
Add delete_profile_photo route
Add DeleteProfilePhotoArg, DeleteProfilePhotoResult structs
Add DeleteProfilePhotoError union

riviera Namespace:
Add get_markdown_async, get_markdown_async/check routes
Add GetMarkdownArgs, GetMarkdownResult, GetMarkdownAsyncError structs
Add MarkdownConversionApiV2Error, GetMarkdownAsyncCheckResult unions

sharing Namespace:
Add update_file_policy route
Add UpdateFilePolicyArg struct
Add UpdateFilePolicyError union

files Namespace:
Update Comments

files, sharing, team, team_log Namespaces:
Add @common.Deprecated field annotations

6c68656caafdff65a30943fe186a1800b9f35bbc

Change Notes:

account Namespace:

  • Add get_photo route
  • Add PhotoSourceArg, SetProfilePhotoArg, SetProfilePhotoError structs

auth Namespace:

  • Add token/from_oauth1, token/revoke routes
  • Add AccessError, AuthError, InvalidAccountTypeError, RateLimitError structs/unions

check Namespace:

  • Update app/check and user/check routes to return EchoError instead of Void

common Namespace:

  • Add DropboxDuration struct

file_properties Namespace:

  • Remove properties/remove, properties/template/get, properties/template/list routes
  • Update Comments

file_requests Namespace:

  • Update Comments

files Namespace:

  • Add upload_session/append_batch route
  • Remove properties/remove, properties/template/get, properties/template/list routes
  • Update Comments

paper Namespace:

  • Add docs/get_metadata route
  • Update Comments

riviera Namespace:

  • Add riviera Namespace
  • Add get_transcript_async, get_transcript_async/check routes

sharing Namespace:

  • Add relinquish_access route
  • Add ShareFolderErrorV2, SharePathErrorV2, SharedLinkMetadataError unions
  • Update Comments

team Namespace:

  • Add members/delete_former_member_files, team_folder/restore routes
  • Remove properties/template/list, properties/template/update routes
  • Update Comments

team_log Namespace:

  • Add ~200 new event detail structs and unions
  • Update Comments

team_policies Namespace:

  • Add DefaultLinkExpirationDaysPolicy, EnforceLinkPasswordPolicy,
    SharedLinkDefaultPermissionsPolicy, TopLevelContentPolicy unions

users Namespace:

  • Update Comments

users_common Namespace:

  • Update Comments

Co-authored-by: Claude Opus 4.6 noreply@anthropic.com

 0508ca45302aba8fc7b2968813ffebe38d2c21a2

 Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

 aa7bd7a402565927065bcd39dd489808eadd69ff

 d461e039e9ebfb374a726b28e289f87c58315830

 Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>

 735a331613b476c6ed0670c8746075315eb6905e

 c6ab6b6b4feda087241fa377e5d14a84cd3c7092

 Use AWS Secrets Manager + GitHub App installation tokens instead of
a classic personal access token. Scoped to dropbox-sdk-python initially.

 4a5fa1405ff0b7b5b388eedbbc02a72dd7956ff4

 Group all GitHub Actions updates into one PR

 7e5f66814d44d53f76b30049068bfb1ca27a0799

 This updates the spec dispatch workflow to use `peter-evans/repository-dispatch@v4` instead of the older v1 action. The workflow still dispatches the same `spec_update` event to the existing downstream repositories, but now explicitly disables default `GITHUB_TOKEN` permissions because remote dispatches are authenticated with `SPEC_UPDATE_TOKEN`.

This also sets `fail-fast: false` for the repository matrix so one failed downstream dispatch does not cancel the remaining dispatch attempts, and adds a small `client-payload` containing the source repository, ref, and commit SHA for downstream workflows that want to inspect where the spec update came from.

 66971685d041dd6ea3acabdcfcf6dc77d09cfe40

 Change Notes:

common Namespace
- Add InternalOnly annotation

files Namespace
- Update ThumbnailSize union to mark w3200h2400 as @common.InternalOnly
- Update ThumbnailArg struct to mark quality as @common.InternalOnly
- Update ThumbnailV2Arg struct to mark quality as @common.InternalOnly

riviera Namespace
- Add get_metadata_async, get_metadata_async/check routes
- Add GetMetadataArgs, ApiExifGpsMetadata, ApiExifMetadata, ApiMediaStream, ApiMediaMetadata, ApiPdfMetadata, ApiOfficeMetadata, GetMetadataResult, GetMetadataAsyncError structs
- Add OfficeFileType, MetadataType, MetadataExtractionApiV2Error, GetMetadataAsyncCheckResult unions
- Update ContentApiV2Error union to include not_found_error, is_a_folder_error
- Update MarkdownConversionApiV2Error union to include not_found_error, is_a_folder_error
- Update Comments

sharing Namespace
- Update AddFileMemberArgs struct to mark fp_sealed_result as @common.InternalOnly
- Update AddFolderMemberArg struct to mark fp_sealed_result as @common.InternalOnly

team Namespace
- Update TeamFolderCreateError union to include folder_count_limit_exceeded

team_log Namespace
- Add MediaHubFileDownloadedDetails, MediaHubProjectTeamAddDetails, MediaHubProjectTeamDeleteDetails, MediaHubProjectTeamRoleChangedDetails, MediaHubSharedLinkAudienceChangedDetails, MediaHubSharedLinkCreatedDetails, MediaHubSharedLinkDownloadSettingChangedDetails, MediaHubSharedLinkRevokedDetails, MediaHubAddingPeoplePolicyChangedDetails, MediaHubDownloadPolicyChangedDetails, MediaHubLinkSharingPolicyChangedDetails, MultiTeamIdentityPolicyChangedDetails, MediaHubFileDownloadedType, MediaHubProjectTeamAddType, MediaHubProjectTeamDeleteType, MediaHubProjectTeamRoleChangedType, MediaHubSharedLinkAudienceChangedType, MediaHubSharedLinkCreatedType, MediaHubSharedLinkDownloadSettingChangedType, MediaHubSharedLinkRevokedType, MediaHubAddingPeoplePolicyChangedType, MediaHubDownloadPolicyChangedType, MediaHubLinkSharingPolicyChangedType, MultiTeamIdentityPolicyChangedType structs
- Add MediaHubAddingPeoplePolicy, MediaHubDownloadPolicy, MediaHubLinkSharingPolicy, MediaHubProjectRole, MediaHubSharedLinkAudience, MediaHubSharedLinkDownloadSetting, MediaHubSharedLinkTargetType, MultiTeamIdentityPolicy unions
- Update EventDetails union to include the new Media Hub and multi-team identity detail variants

 b5f7dddcebcebbf009cdb0cb5e679909a041014e

 Change Notes:

files Namespace:
Update search:2 route to remove app auth
Update search/continue:2 route to remove app auth
Update FileMetadata struct to include is_restorable
Update DeletedMetadata struct to include is_restorable
Update ListFolderArg struct to include include_restorable_info
Update ListRevisionsArg struct to include include_restorable_info

sharing Namespace:
Update get_shared_links route deprecation notice (retirement October 2026)

team_log Namespace:
Update TeamFolderSpaceCapsType union to include hard
Update EventCategory union to include protect
Add ProtectInternalDomainsChangedDetails struct
Add ProtectInternalDomainsChangedType struct
Update EventDetails union to include protect_internal_domains_changed_details
Update EventType union to include protect_internal_domains_changed
Update EventTypeArg union to include protect_internal_domains_changed
Update Examples

Remove rialto Namespace

 a4fc0169eda7dc981facd4208ebc7b66a4db00ee

 Change Notes:

account Namespace:
Add delete_profile_photo route
Add DeleteProfilePhotoArg, DeleteProfilePhotoResult structs
Add DeleteProfilePhotoError union

riviera Namespace:
Add get_markdown_async, get_markdown_async/check routes
Add GetMarkdownArgs, GetMarkdownResult, GetMarkdownAsyncError structs
Add MarkdownConversionApiV2Error, GetMarkdownAsyncCheckResult unions

sharing Namespace:
Add update_file_policy route
Add UpdateFilePolicyArg struct
Add UpdateFilePolicyError union

files Namespace:
Update Comments

files, sharing, team, team_log Namespaces:
Add @common.Deprecated field annotations

 6c68656caafdff65a30943fe186a1800b9f35bbc

 Change Notes:

account Namespace:
- Add get_photo route
- Add PhotoSourceArg, SetProfilePhotoArg, SetProfilePhotoError structs

auth Namespace:
- Add token/from_oauth1, token/revoke routes
- Add AccessError, AuthError, InvalidAccountTypeError, RateLimitError structs/unions

check Namespace:
- Update app/check and user/check routes to return EchoError instead of Void

common Namespace:
- Add DropboxDuration struct

file_properties Namespace:
- Remove properties/remove, properties/template/get, properties/template/list routes
- Update Comments

file_requests Namespace:
- Update Comments

files Namespace:
- Add upload_session/append_batch route
- Remove properties/remove, properties/template/get, properties/template/list routes
- Update Comments

paper Namespace:
- Add docs/get_metadata route
- Update Comments

riviera Namespace:
- Add riviera Namespace
- Add get_transcript_async, get_transcript_async/check routes

sharing Namespace:
- Add relinquish_access route
- Add ShareFolderErrorV2, SharePathErrorV2, SharedLinkMetadataError unions
- Update Comments

team Namespace:
- Add members/delete_former_member_files, team_folder/restore routes
- Remove properties/template/list, properties/template/update routes
- Update Comments

team_log Namespace:
- Add ~200 new event detail structs and unions
- Update Comments

team_policies Namespace:
- Add DefaultLinkExpirationDaysPolicy, EnforceLinkPasswordPolicy,
  SharedLinkDefaultPermissionsPolicy, TopLevelContentPolicy unions

users Namespace:
- Update Comments

users_common Namespace:
- Update Comments

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant