From 982de09eab4572e68156355da706ef5bcdebf7c4 Mon Sep 17 00:00:00 2001 From: balzack Date: Sat, 25 Dec 2021 14:58:15 -0800 Subject: [PATCH] added missing set contact profile endpoint --- api.oa3 | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/api.oa3 b/api.oa3 index 40c775b1..4cb8012a 100644 --- a/api.oa3 +++ b/api.oa3 @@ -992,6 +992,38 @@ paths: description: not found '500': description: internal server error + put: + tags: + - index + description: Set profile of contact entry + operationId: set-index-profile + security: + - bearerAuth: [] + parameters: + - name: contactId + in: path + description: specified contact id + required: true + schema: + type: string + responses: + '200': + description: successful operation + content: + application/json: + schema: + $ref: '#/components/schemas/ContactProfile' + '401': + description: invalid password + '404': + description: not found + '500': + description: internal server error + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/Profile' /index/contacts/{contactId}/data: get: