all repos

onasty @ fe34b44ed64971ea123c26077bd570d15d2352f9

a one-time notes service

onasty/api/paths/note/note-slug-view.yml(view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
post:
  tags: [Notes]
  summary: Read note with password
  security:
    - {}

  parameters:
    - name: slug
      in: path
      required: true
      schema:
        type: string

  responses:
    '200':
      $ref: '../../components/responses/NoteGet.yml'
    '400':
      $ref: '../../components/responses/ErrorResponse.yml'
    '404':
      $ref: '../../components/responses/NoteNotFoundMaybeWithContent.yml'