Skip to content

Commit 78e92a9

Browse files
committed
[#328] update oas spec
1 parent 3ba6860 commit 78e92a9

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

src/objects/api/v2/openapi.yaml

+47
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,53 @@ paths:
457457
responses:
458458
'204':
459459
description: No response body
460+
/objects/{uuid}/{index}:
461+
get:
462+
operationId: object_history_detail
463+
description: Retrieve the specified OBJECT given an UUID and INDEX.
464+
parameters:
465+
- in: header
466+
name: Accept-Crs
467+
schema:
468+
type: string
469+
enum:
470+
- EPSG:4326
471+
description: 'The desired ''Coordinate Reference System'' (CRS) of the response
472+
data. According to the GeoJSON spec, WGS84 is the default (EPSG: 4326 is
473+
the same as WGS84).'
474+
- in: path
475+
name: index
476+
schema:
477+
type: string
478+
pattern: ^\d+$
479+
required: true
480+
- in: path
481+
name: uuid
482+
schema:
483+
type: string
484+
format: uuid
485+
description: Unique identifier (UUID4)
486+
required: true
487+
tags:
488+
- objects
489+
security:
490+
- tokenAuth: []
491+
responses:
492+
'200':
493+
headers:
494+
Content-Crs:
495+
schema:
496+
type: string
497+
enum:
498+
- EPSG:4326
499+
description: 'The ''Coordinate Reference System'' (CRS) of the request
500+
data. According to the GeoJSON spec, WGS84 is the default (EPSG: 4326
501+
is the same as WGS84).'
502+
content:
503+
application/json:
504+
schema:
505+
$ref: '#/components/schemas/HistoryRecord'
506+
description: OK
460507
/objects/{uuid}/history:
461508
get:
462509
operationId: object_history

0 commit comments

Comments
 (0)