mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
added missing set contact profile endpoint
This commit is contained in:
parent
5c6080e4e9
commit
982de09eab
32
api.oa3
32
api.oa3
@ -992,6 +992,38 @@ paths:
|
|||||||
description: not found
|
description: not found
|
||||||
'500':
|
'500':
|
||||||
description: internal server error
|
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:
|
/index/contacts/{contactId}/data:
|
||||||
get:
|
get:
|
||||||
|
Loading…
Reference in New Issue
Block a user