From 18d7216d15ad0b710d10c3e84fecf927e809d30d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20St=C3=B6ckel?= Date: Fri, 12 Nov 2021 12:53:31 +0100 Subject: [PATCH] Add missing API endpoint to openapi.yaml --- data/web/api/openapi.yaml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/data/web/api/openapi.yaml b/data/web/api/openapi.yaml index 9d34e442..a1e01d64 100644 --- a/data/web/api/openapi.yaml +++ b/data/web/api/openapi.yaml @@ -3583,6 +3583,44 @@ paths: description: You can list mailbox aliases existing in system. operationId: Get aliases summary: Get aliases + "/api/v1/get/time_limited_aliases/{mailbox}": + get: + parameters: + - description: mailbox you want to get aliasses from + example: domain.tld + in: path + schema: + type: string + name: mailbox + required: true + - description: e.g. api-key-string + example: api-key-string + in: header + name: X-API-Key + required: false + schema: + type: string + responses: + "401": + $ref: "#/components/responses/Unauthorized" + "200": + content: + application/json: + examples: + response: + value: + - address: alias@domain.tld + goto: destination@domain.tld + validity: 1668251246 + created: "2021-11-12 12:07:26" + modified: null + description: OK + headers: {} + tags: + - Aliases + description: You can list time limited mailbox aliases existing in system. + operationId: Get time limited aliases + summary: Get time limited aliases "/api/v1/get/app-passwd/all/{mailbox}": get: parameters: