You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
1000 B
31 lines
1000 B
paths: |
|
api.v1.accounts: |
|
get: |
|
responses: |
|
'200': |
|
description: OK |
|
content: |
|
application/json: |
|
schema: |
|
$ref: "../components.yaml#/components/schemas/accounts" |
|
description: Получение перечня аккаунтов |
|
post: |
|
summary: repo.createAccount() Создание нового аккаунта. |
|
description: Предварительно должны быть созданы организации и должности |
|
requestBody: |
|
content: |
|
application/json: |
|
schema: |
|
type: object |
|
required: |
|
- name |
|
properties: |
|
name: |
|
type: string |
|
responses: |
|
'200': |
|
description: OK |
|
content: |
|
application/json: |
|
schema: |
|
$ref: "../components.yaml#/components/schemas/accounts" |