From 0b6c6c8377a1090d251dfe9f94d625d2e0f0558d Mon Sep 17 00:00:00 2001 From: Jordan Philyaw Date: Sun, 6 Sep 2026 22:05:01 -0700 Subject: [PATCH] Clarify accepted challenge decline reasons --- .../tags/challenges/api-challenge-challengeId-decline.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/specs/tags/challenges/api-challenge-challengeId-decline.yaml b/doc/specs/tags/challenges/api-challenge-challengeId-decline.yaml index 9ccae62e..6393b353 100644 --- a/doc/specs/tags/challenges/api-challenge-challengeId-decline.yaml +++ b/doc/specs/tags/challenges/api-challenge-challengeId-decline.yaml @@ -24,7 +24,7 @@ post: properties: reason: type: string - description: Reason challenge was declined. It will be translated to the player's language. See [the full list in the translation file](https://github.com/ornicar/lila/blob/master/translation/source/challenge.xml#L14). + description: Reason the challenge was declined. Only the values listed below are accepted; any other value falls back to `generic`. The reason will be translated to the player's language. enum: - generic - later