From 4a4b4c41f02f8fa950647f411b120092cd190933 Mon Sep 17 00:00:00 2001 From: Socorro DominguezVidana Date: Tue, 3 Nov 2026 12:11:06 -0700 Subject: [PATCH] fixed some name paths for R --- openapi.yaml | 31 ++++++++++++++++++++ openapi/components/parameters/parameters.yml | 28 ++++++++++++++++++ openapi/paths/v20/data.yml | 4 +++ 3 files changed, 63 insertions(+) diff --git a/openapi.yaml b/openapi.yaml index 915e5c2..4f4571c 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -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 @@ -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: @@ -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: diff --git a/openapi/components/parameters/parameters.yml b/openapi/components/parameters/parameters.yml index c898287..b97bd61 100644 --- a/openapi/components/parameters/parameters.yml +++ b/openapi/components/parameters/parameters.yml @@ -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 diff --git a/openapi/paths/v20/data.yml b/openapi/paths/v20/data.yml index 7501e4d..da5fa11 100644 --- a/openapi/paths/v20/data.yml +++ b/openapi/paths/v20/data.yml @@ -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: @@ -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: