From 4c9a1be48942f83ebff699f8d20c4fbdcb236fd9 Mon Sep 17 00:00:00 2001 From: Documentation Updater Date: Fri, 12 Sep 2025 22:38:09 +0000 Subject: [PATCH] Updating documentation --- signal-server-openapi.yaml | 62 ++++++++++++++++++++++++++++---------- 1 file changed, 46 insertions(+), 16 deletions(-) diff --git a/signal-server-openapi.yaml b/signal-server-openapi.yaml index 71d476673..32ac5c158 100644 --- a/signal-server-openapi.yaml +++ b/signal-server-openapi.yaml @@ -739,6 +739,25 @@ paths: security: - authenticatedAccount: [] - {} + /v1/archives/backupid/limits: + get: + tags: + - Archive + summary: Retrieve limits + description: | + Determine whether the backup-id can currently be rotated + operationId: checkLimits + responses: + "200": + description: Successfully retrieved backup-id rotation limits + content: + application/json: + schema: + $ref: "#/components/schemas/BackupIdLimitResponse" + "403": + description: Invalid account authentication + security: + - authenticatedAccount: [] /v1/archives/media/batch: put: tags: @@ -2399,15 +2418,15 @@ paths: schema: type: object properties: + done: + type: boolean + cancelled: + type: boolean completedExceptionally: type: boolean numberOfDependents: type: integer format: int32 - done: - type: boolean - cancelled: - type: boolean security: - authenticatedAccount: [] /v1/messages/uuid/{uuid}: @@ -2644,15 +2663,15 @@ paths: schema: type: object properties: + done: + type: boolean + cancelled: + type: boolean completedExceptionally: type: boolean numberOfDependents: type: integer format: int32 - done: - type: boolean - cancelled: - type: boolean security: - authenticatedAccount: [] - {} @@ -2735,15 +2754,15 @@ paths: schema: type: object properties: + done: + type: boolean + cancelled: + type: boolean completedExceptionally: type: boolean numberOfDependents: type: integer format: int32 - done: - type: boolean - cancelled: - type: boolean security: - authenticatedAccount: [] - {} @@ -2771,15 +2790,15 @@ paths: schema: type: object properties: + done: + type: boolean + cancelled: + type: boolean completedExceptionally: type: boolean numberOfDependents: type: integer format: int32 - done: - type: boolean - cancelled: - type: boolean security: - authenticatedAccount: [] - {} @@ -4556,6 +4575,17 @@ components: type: integer description: The amount of space used to store media format: int64 + BackupIdLimitResponse: + type: object + properties: + hasPermitsRemaining: + type: boolean + description: "If true, a call to PUT /v1/archive/backupid may succeed without\ + \ waiting" + retryAfterSeconds: + type: integer + description: "How long to wait before a permit becomes available, in seconds" + format: int64 CopyMediaBatchResponse: type: object properties: