From 7a916714fef7e93963353e6891b8f8ce28086258 Mon Sep 17 00:00:00 2001 From: github-actions Date: Mon, 15 Apr 2024 13:26:55 +0000 Subject: [PATCH] update api/manager.yaml --- api/manager.yaml | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/api/manager.yaml b/api/manager.yaml index 4d2cf58..e222def 100644 --- a/api/manager.yaml +++ b/api/manager.yaml @@ -364,6 +364,39 @@ paths: summary: Get an account. tags: - Accounts + put: + description: Update the account + operationId: updateAccount + parameters: + - in: path + name: id + required: true + schema: + type: integer + format: int64 + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/UpdateAccountRequest' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: '#/components/schemas/Account' + description: Found + "401": + description: Authentication Failure + "404": + description: Not Found + security: + - BasicAuth: [] + - OAuth2: [] + summary: Update an account. + tags: + - Accounts /addon/configurations: get: description: List the Add-ons configurations @@ -2874,6 +2907,15 @@ components: type: string description: The URLs uniqueItems: true + UpdateAccountRequest: + type: object + properties: + country: + type: string + language: + type: string + url: + type: string VectorSearchQueryRequest: type: object description: A query request.