Add documentation for 413 response from /v1/archives/upload/form

This commit is contained in:
ravi-signal authored and GitHub committed 2025-07-18 14:59:26 -07:00
1 parent 73365369df
commit 522ddd4e61
1 file changed
+1
@@ -505,6 +505,7 @@ public class ArchiveController {
description = "Retrieve an upload form that can be used to perform a resumable upload of a message backup.")
@ApiResponse(responseCode = "200", content = @Content(schema = @Schema(implementation = UploadDescriptorResponse.class)))
@ApiResponse(responseCode = "429", description = "Rate limited.")
@ApiResponse(responseCode = "413", description = "The provided uploadLength is larger than the maximum supported upload size. The maximum upload size is subject to change.")
@ApiResponseZkAuth
public CompletionStage<UploadDescriptorResponse> backup(
@Auth final Optional<AuthenticatedDevice> account,