mirror of
https://gitlab.com/wgp/dougal/software.git
synced 2025-12-06 13:27:08 +00:00
Add GET endpoint for sequence events.
Provides a variety of formats: * JSON * Seis+JSON * GeoJSON * HTML
This commit is contained in:
@@ -816,6 +816,32 @@ paths:
|
||||
|
||||
|
||||
/project/{project}/sequence/{sequence}:
|
||||
get:
|
||||
description: Get a sequence
|
||||
tags: [ "sequences" ]
|
||||
parameters:
|
||||
- $ref: "#/components/parameters/Project"
|
||||
- $ref: "#/components/parameters/Sequence"
|
||||
responses:
|
||||
"200":
|
||||
description: Sequence data.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/Sequence"
|
||||
application/vnd.seis+json:
|
||||
schema:
|
||||
type: object
|
||||
application/geo+json:
|
||||
schema:
|
||||
$ref: "#/components/schemas/GeoJSONFeature"
|
||||
text/html:
|
||||
schema:
|
||||
type: string
|
||||
application/pdf:
|
||||
schema:
|
||||
type: string
|
||||
format: binary
|
||||
patch:
|
||||
summary: Update sequence information.
|
||||
description: All of the properties are optional. Users may specify only the one(s) they need, other properties remain unchanged. An empty object body causes the resource not to be modified at all. Final sequence properties only have effect if a final P1 file exists for the relevant sequence.
|
||||
|
||||
Reference in New Issue
Block a user