Skip to content

Commit c496884

Browse files
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
1 parent bf143b0 commit c496884

17 files changed

Lines changed: 2274 additions & 30 deletions

core/build/generated_stone_source/main/refs/javadoc-refs.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

core/build/generated_stone_source/main/src/com/dropbox/core/v2/async/PollErrorException.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
* <p> This exception is raised by {@link
1313
* com.dropbox.core.v2.riviera.DbxAppRivieraRequests#getMarkdownAsyncCheck(String)},
1414
* {@link
15+
* com.dropbox.core.v2.riviera.DbxAppRivieraRequests#getMetadataAsyncCheck(String)},
16+
* {@link
1517
* com.dropbox.core.v2.riviera.DbxAppRivieraRequests#getTranscriptAsyncCheck(String)},
1618
* {@link
1719
* com.dropbox.core.v2.team.DbxTeamTeamRequests#membersAddJobStatusGet(String)},
@@ -50,6 +52,7 @@
5052
public class PollErrorException extends DbxApiException {
5153
// exception for routes:
5254
// 2/riviera/get_markdown_async/check
55+
// 2/riviera/get_metadata_async/check
5356
// 2/riviera/get_transcript_async/check
5457
// 2/team/members/add/job_status/get
5558
// 2/team/members/add/job_status/get_v2
@@ -74,6 +77,8 @@ public class PollErrorException extends DbxApiException {
7477
* The error reported by {@link
7578
* com.dropbox.core.v2.riviera.DbxAppRivieraRequests#getMarkdownAsyncCheck(String)},
7679
* {@link
80+
* com.dropbox.core.v2.riviera.DbxAppRivieraRequests#getMetadataAsyncCheck(String)},
81+
* {@link
7782
* com.dropbox.core.v2.riviera.DbxAppRivieraRequests#getTranscriptAsyncCheck(String)},
7883
* {@link
7984
* com.dropbox.core.v2.team.DbxTeamTeamRequests#membersAddJobStatusGet(String)},

core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/DbxAppGetThumbnailV2Builder.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ public DbxAppGetThumbnailV2Builder withMode(ThumbnailMode mode) {
105105
* <p> If left unset or set to {@code null}, defaults to {@code
106106
* ThumbnailQuality.QUALITY_80}. </p>
107107
*
108-
* @param quality Quality of the thumbnail image. Must not be {@code null}.
109-
* Defaults to {@code ThumbnailQuality.QUALITY_80} when set to {@code
110-
* null}.
108+
* @param quality Field is only returned for "internal" callers. Quality of
109+
* the thumbnail image. Must not be {@code null}. Defaults to {@code
110+
* ThumbnailQuality.QUALITY_80} when set to {@code null}.
111111
*
112112
* @return this builder
113113
*

core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/DbxUserGetThumbnailV2Builder.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ public DbxUserGetThumbnailV2Builder withMode(ThumbnailMode mode) {
105105
* <p> If left unset or set to {@code null}, defaults to {@code
106106
* ThumbnailQuality.QUALITY_80}. </p>
107107
*
108-
* @param quality Quality of the thumbnail image. Must not be {@code null}.
109-
* Defaults to {@code ThumbnailQuality.QUALITY_80} when set to {@code
110-
* null}.
108+
* @param quality Field is only returned for "internal" callers. Quality of
109+
* the thumbnail image. Must not be {@code null}. Defaults to {@code
110+
* ThumbnailQuality.QUALITY_80} when set to {@code null}.
111111
*
112112
* @return this builder
113113
*

core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/GetThumbnailBuilder.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ public GetThumbnailBuilder withMode(ThumbnailMode mode) {
105105
* <p> If left unset or set to {@code null}, defaults to {@code
106106
* ThumbnailQuality.QUALITY_80}. </p>
107107
*
108-
* @param quality Quality of the thumbnail image. Must not be {@code null}.
109-
* Defaults to {@code ThumbnailQuality.QUALITY_80} when set to {@code
110-
* null}.
108+
* @param quality Field is only returned for "internal" callers. Quality of
109+
* the thumbnail image. Must not be {@code null}. Defaults to {@code
110+
* ThumbnailQuality.QUALITY_80} when set to {@code null}.
111111
*
112112
* @return this builder
113113
*

core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ThumbnailArg.java

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ public class ThumbnailArg {
5151
* @param size The size for the thumbnail image. Must not be {@code null}.
5252
* @param mode How to resize and crop the image to achieve the desired
5353
* size. Must not be {@code null}.
54-
* @param quality Quality of the thumbnail image. Must not be {@code null}.
54+
* @param quality Field is only returned for "internal" callers. Quality of
55+
* the thumbnail image. Must not be {@code null}.
5556
* @param excludeMediaInfo Normally, {@link FileMetadata#getMediaInfo} is
5657
* set for photo and video. When this flag is true, {@link
5758
* FileMetadata#getMediaInfo} is not populated. This improves latency
@@ -150,7 +151,8 @@ public ThumbnailMode getMode() {
150151
}
151152

152153
/**
153-
* Quality of the thumbnail image.
154+
* Field is only returned for "internal" callers. Quality of the thumbnail
155+
* image.
154156
*
155157
* @return value for this field, or {@code null} if not present. Defaults to
156158
* ThumbnailQuality.QUALITY_80.
@@ -300,9 +302,10 @@ public Builder withMode(ThumbnailMode mode) {
300302
* <p> If left unset or set to {@code null}, defaults to {@code
301303
* ThumbnailQuality.QUALITY_80}. </p>
302304
*
303-
* @param quality Quality of the thumbnail image. Must not be {@code
304-
* null}. Defaults to {@code ThumbnailQuality.QUALITY_80} when set
305-
* to {@code null}.
305+
* @param quality Field is only returned for "internal" callers.
306+
* Quality of the thumbnail image. Must not be {@code null}.
307+
* Defaults to {@code ThumbnailQuality.QUALITY_80} when set to
308+
* {@code null}.
306309
*
307310
* @return this builder
308311
*

core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ThumbnailSize.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public enum ThumbnailSize {
5555
*/
5656
W2048H1536,
5757
/**
58-
* 3200 by 2400 px.
58+
* Field is only returned for "internal" callers. 3200 by 2400 px.
5959
*/
6060
W3200H2400;
6161

core/build/generated_stone_source/main/src/com/dropbox/core/v2/files/ThumbnailV2Arg.java

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ class ThumbnailV2Arg {
5050
* @param size The size for the thumbnail image. Must not be {@code null}.
5151
* @param mode How to resize and crop the image to achieve the desired
5252
* size. Must not be {@code null}.
53-
* @param quality Quality of the thumbnail image. Must not be {@code null}.
53+
* @param quality Field is only returned for "internal" callers. Quality of
54+
* the thumbnail image. Must not be {@code null}.
5455
* @param excludeMediaInfo Normally, {@link FileMetadata#getMediaInfo} is
5556
* set for photo and video. When this flag is true, {@link
5657
* FileMetadata#getMediaInfo} is not populated. This improves latency
@@ -148,7 +149,8 @@ public ThumbnailMode getMode() {
148149
}
149150

150151
/**
151-
* Quality of the thumbnail image.
152+
* Field is only returned for "internal" callers. Quality of the thumbnail
153+
* image.
152154
*
153155
* @return value for this field, or {@code null} if not present. Defaults to
154156
* ThumbnailQuality.QUALITY_80.
@@ -295,9 +297,10 @@ public Builder withMode(ThumbnailMode mode) {
295297
* <p> If left unset or set to {@code null}, defaults to {@code
296298
* ThumbnailQuality.QUALITY_80}. </p>
297299
*
298-
* @param quality Quality of the thumbnail image. Must not be {@code
299-
* null}. Defaults to {@code ThumbnailQuality.QUALITY_80} when set
300-
* to {@code null}.
300+
* @param quality Field is only returned for "internal" callers.
301+
* Quality of the thumbnail image. Must not be {@code null}.
302+
* Defaults to {@code ThumbnailQuality.QUALITY_80} when set to
303+
* {@code null}.
301304
*
302305
* @return this builder
303306
*

core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/AddFileMemberArgs.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ class AddFileMemberArgs {
6262
* level we want to give new members.
6363
* @param addMessageAsComment If the custom message should be added as a
6464
* comment on the file. Only meant for Paper files.
65-
* @param fpSealedResult The FingerprintJS Sealed Client Result value.
65+
* @param fpSealedResult Field is only returned for "internal" callers. The
66+
* FingerprintJS Sealed Client Result value.
6667
*
6768
* @throws IllegalArgumentException If any argument does not meet its
6869
* preconditions.
@@ -181,7 +182,8 @@ public boolean getAddMessageAsComment() {
181182
}
182183

183184
/**
184-
* The FingerprintJS Sealed Client Result value
185+
* Field is only returned for "internal" callers. The FingerprintJS Sealed
186+
* Client Result value
185187
*
186188
* @return value for this field, or {@code null} if not present.
187189
*/
@@ -324,7 +326,8 @@ public Builder withAddMessageAsComment(Boolean addMessageAsComment) {
324326
/**
325327
* Set value for optional field.
326328
*
327-
* @param fpSealedResult The FingerprintJS Sealed Client Result value.
329+
* @param fpSealedResult Field is only returned for "internal" callers.
330+
* The FingerprintJS Sealed Client Result value.
328331
*
329332
* @return this builder
330333
*/

core/build/generated_stone_source/main/src/com/dropbox/core/v2/sharing/AddFileMemberBuilder.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ public AddFileMemberBuilder withAddMessageAsComment(Boolean addMessageAsComment)
9999
/**
100100
* Set value for optional field.
101101
*
102-
* @param fpSealedResult The FingerprintJS Sealed Client Result value.
102+
* @param fpSealedResult Field is only returned for "internal" callers. The
103+
* FingerprintJS Sealed Client Result value.
103104
*
104105
* @return this builder
105106
*/

0 commit comments

Comments
 (0)