Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,33 @@ components:
maximum: 23900000
minimum: -100
type: integer
minAgeQuery:
description: >-
Minimum age of the search window (in calibrated years before present, with 0 at 1950CE). Returns records with
any age at or after this age; the record does not need to span the whole window. Usually combined with `maxage`.
in: query
name: minage
required: false
schema:
example: 5000
format: int64
maximum: 23900000
minimum: -100
type: integer
maxAgeQuery:
description: >-
Maximum age of the search window (in calibrated years before present, with 0 at 1950CE). Returns records with
any age at or before this age; the record does not need to span the whole window. Usually combined with
`minage`.
in: query
name: maxage
required: false
schema:
example: 8000
format: int64
maximum: 23900000
minimum: -100
type: integer
altMaxQuery:
description: Maximum altitude of the dataset site location (in meters)
in: query
Expand Down Expand Up @@ -3230,6 +3257,8 @@ paths:
- $ref: '#/components/parameters/ageYoungQuery'
- $ref: '#/components/parameters/ageOldQuery'
- $ref: '#/components/parameters/ageOfQuery'
- $ref: '#/components/parameters/minAgeQuery'
- $ref: '#/components/parameters/maxAgeQuery'
- $ref: '#/components/parameters/limitParam'
- $ref: '#/components/parameters/offsetParam'
responses:
Expand Down Expand Up @@ -3780,6 +3809,8 @@ paths:
- $ref: '#/components/parameters/ageYoungQuery'
- $ref: '#/components/parameters/ageOldQuery'
- $ref: '#/components/parameters/ageOfQuery'
- $ref: '#/components/parameters/minAgeQuery'
- $ref: '#/components/parameters/maxAgeQuery'
- $ref: '#/components/parameters/limitParam'
- $ref: '#/components/parameters/offsetParam'
responses:
Expand Down
28 changes: 28 additions & 0 deletions openapi/components/parameters/parameters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,34 @@ ageYoungQuery:
maximum: 23900000
minimum: -100
type: integer
minAgeQuery:
description: >-
Minimum age of the search window (in calibrated years before present, with 0 at 1950CE). Returns records
with any age at or after this age; the record does not need to span the whole window. Usually combined with
`maxage`.
in: query
name: minage
required: false
schema:
example: 5000
format: int64
maximum: 23900000
minimum: -100
type: integer
maxAgeQuery:
description: >-
Maximum age of the search window (in calibrated years before present, with 0 at 1950CE). Returns records
with any age at or before this age; the record does not need to span the whole window. Usually combined with
`minage`.
in: query
name: maxage
required: false
schema:
example: 8000
format: int64
maximum: 23900000
minimum: -100
type: integer
altMaxQuery:
description: Maximum altitude of the dataset site location (in meters)
in: query
Expand Down
4 changes: 4 additions & 0 deletions openapi/paths/v20/data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,8 @@
- $ref: '#/components/parameters/ageYoungQuery'
- $ref: '#/components/parameters/ageOldQuery'
- $ref: '#/components/parameters/ageOfQuery'
- $ref: '#/components/parameters/minAgeQuery'
- $ref: '#/components/parameters/maxAgeQuery'
- $ref: '#/components/parameters/limitParam'
- $ref: '#/components/parameters/offsetParam'
responses:
Expand Down Expand Up @@ -743,6 +745,8 @@
- $ref: '#/components/parameters/ageYoungQuery'
- $ref: '#/components/parameters/ageOldQuery'
- $ref: '#/components/parameters/ageOfQuery'
- $ref: '#/components/parameters/minAgeQuery'
- $ref: '#/components/parameters/maxAgeQuery'
- $ref: '#/components/parameters/limitParam'
- $ref: '#/components/parameters/offsetParam'
responses:
Expand Down
Loading