onasty/api/paths/note/note-slug-meta.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 | get: |
| 2 | tags: [Notes] |
| 3 | summary: Get note metadata |
| 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/NoteMetadata.yml' |
| 17 | '404': |
| 18 | $ref: '../../components/responses/NoteNotFound.yml' |