Update API description

This commit is contained in:
D. Berge
2023-10-23 19:25:48 +02:00
parent b5aafe42ad
commit d9a6c77d0c

View File

@@ -1364,6 +1364,47 @@ paths:
schema:
$ref: "#/components/schemas/SeisExport"
application/yaml:
schema:
type: array
items:
$ref: "#/components/schemas/Event"
example: |
- id: 12042
tstamp: 2023-10-15T12:43:16.000Z
sequence: null
point: null
remarks: New event 5
labels: []
meta: {}
has_edits: true
modified_on: 2023-10-17T08:51:51.069Z
- id: 11727
tstamp: 2023-10-05T06:02:54.664Z
sequence: 80
point: 2364
remarks: LGSP 2051220080S00000
labels:
- LGSP
meta:
auto:
LGSP: final_line
has_edits: false
modified_on: 2023-10-14T19:50:08.429Z
- id: 11728
tstamp: 2023-10-05T06:02:54.664Z
sequence: 80
point: 2364
remarks: LSP 2051220080S00000
labels:
- LSP
meta:
auto:
LSP: final_line
has_edits: false
modified_on: 2023-10-14T19:50:08.429Z
text/csv:
schema:
type: string