mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 08:08:02 +01:00
Update response documentation for PUT /v1/challenge
This commit is contained in:
@@ -78,7 +78,8 @@ public class ChallengeController {
|
||||
AnswerCaptchaChallengeRequest.class}))})
|
||||
)
|
||||
@ApiResponse(responseCode = "200", description = "Indicates the challenge proof was accepted")
|
||||
@ApiResponse(responseCode = "428", description = "Submitted captcha token is invalid")
|
||||
@ApiResponse(responseCode = "400", description = "The request was invalid")
|
||||
@ApiResponse(responseCode = "428", description = "Submitted captcha token was not accepted")
|
||||
@ApiResponse(responseCode = "429", description = "Too many attempts", headers = @Header(
|
||||
name = "Retry-After",
|
||||
description = "If present, an positive integer indicating the number of seconds before a subsequent attempt could succeed"))
|
||||
|
||||
Reference in New Issue
Block a user