all repos

onasty @ ffa032688c546167290f5148938aa07d78f1cdd6

a one-time notes service

onasty/api/components/schemas/Note.yml(view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
type: object
required:
  - slug
  - content
  - read_at
  - keep_before_expiration
  - created_at
  - expires_at
properties:
  slug:
    type: string
    example: f87abf56-3f01-4709-bf54-7aa0e1a6407b
  content:
    type: string
    example: note content
  read_at:
    type: string
    format: date-time
    example: 2025-09-05T16:30:00Z
  keep_before_expiration:
    type: boolean
  created_at:
    type: string
    format: date-time
    example: 2025-09-05T16:30:00Z
  expires_at:
    type: string
    format: date-time
    example: 2025-09-05T16:30:00Z