From 46d3d5d4d88046da8a680b8256f85de3f4e7748a Mon Sep 17 00:00:00 2001
From: Documentation Updater <github@signal.org>
Date: Fri, 20 Oct 2023 18:34:59 +0000
Subject: [PATCH] Updating documentation

---
 signal-server-openapi.yaml | 25 ++++++++++++++++---------
 1 file changed, 16 insertions(+), 9 deletions(-)

diff --git a/signal-server-openapi.yaml b/signal-server-openapi.yaml
index 9fe8fb63b..8c4b58c06 100644
--- a/signal-server-openapi.yaml
+++ b/signal-server-openapi.yaml
@@ -854,6 +854,11 @@ paths:
         Clients may retry the PUT in the event of an HTTP/5xx response (except HTTP/508) from the server, but must
         implement an exponential back-off system and limit the total number of retries.
       operationId: requestPushChallenge
+      requestBody:
+        content:
+          '*/*':
+            schema:
+              $ref: '#/components/schemas/PushChallengeConfig'
       responses:
         "200":
           description: |
@@ -3180,6 +3185,14 @@ components:
           type: string
       discriminator:
         propertyName: type
+    ScoreThreshold:
+      type: object
+      properties:
+        scoreThreshold:
+          type: number
+          format: float
+    PushChallengeConfig:
+      type: object
     VerificationCode:
       type: object
       properties:
@@ -3284,13 +3297,13 @@ components:
     WebSocketClient:
       type: object
       properties:
-        createdTimestamp:
-          type: integer
-          format: int64
         userAgent:
           type: string
         open:
           type: boolean
+        createdTimestamp:
+          type: integer
+          format: int64
     WebSocketSessionContext:
       type: object
       properties:
@@ -4102,12 +4115,6 @@ components:
           - voice
         client:
           type: string
-    ScoreThreshold:
-      type: object
-      properties:
-        scoreThreshold:
-          type: number
-          format: float
     SubmitVerificationCodeRequest:
       required:
       - code
-- 
GitLab