onasty/api/paths/note/note-slug-view.yml (view raw)
Oleksandr Smirnov
Oleksandr Smirnov
olexsmir@gmail.com api: add openapi docs (#181)..., 9 months ago
olexsmir@gmail.com api: add openapi docs (#181)..., 9 months ago
| 1 | post: |
| 2 | tags: [Notes] |
| 3 | summary: Read note with password |
| 4 | security: |
| 5 | - {} |
| 6 | |
| 7 | parameters: |
| 8 | - name: slug |
| 9 | in: path |
| 10 | required: true |
| 11 | schema: |
| 12 | type: string |
| 13 | |
| 14 | responses: |
| 15 | '200': |
| 16 | $ref: '../../components/responses/NoteGet.yml' |
| 17 | '400': |
| 18 | $ref: '../../components/responses/ErrorResponse.yml' |
| 19 | '404': |
| 20 | $ref: '../../components/responses/NoteNotFoundMaybeWithContent.yml' |