# Radius query
get:
  tags:
    - Collection data queries
  summary: 'Query end point for radius queries  of collection {collectionId}'
  description: Query end point for to return values within a defined radius of a point queries
  operationId: GetDataForRadius
  parameters:
    - $ref: ../../parameters/collections/collectionId.yaml
    - $ref: ../../parameters/core/radiusCoords.yaml
    - $ref: ../../parameters/core/within.yaml
    - $ref: ../../parameters/core/within-units.yaml
    - $ref: ../../parameters/core/z.yaml
    - $ref: https://raw.githubusercontent.com/opengeospatial/ogcapi-common/master/collections/openapi/parameters/datetime.yaml
    - $ref: ../../parameters/core/parameter-name.yaml
    - $ref: ../../parameters/core/crs.yaml
    - $ref: ../../parameters/core/f.yaml
  responses:
    200:
      $ref: ../../responses/queries/200.yaml
    202:
      $ref: ../../responses/queries/202.yaml
    308:
      $ref: ../../responses/queries/308.yaml
    400:
      $ref: ../../responses/queries/400.yaml
    404:
      $ref: ../../responses/queries/404.yaml
    413:
      $ref: ../../responses/queries/413.yaml
    default:
      $ref: ../../responses/core/exception.yaml
post:
  tags:
    - Collection data queries
  summary: 'Query end point for radius queries  of collection {collectionId}'
  description: Query end point for to return values within a defined radius of a point queries
  operationId: PostDataForRadius
  parameters:
    - $ref: ../../parameters/collections/collectionId.yaml
  requestBody:
    $ref: ../../request-bodies/radius.yaml
  responses:
    200:
      $ref: ../../responses/queries/200.yaml
    202:
      $ref: ../../responses/queries/202.yaml
    308:
      $ref: ../../responses/queries/308.yaml
    400:
      $ref: ../../responses/queries/400.yaml
    404:
      $ref: ../../responses/queries/404.yaml
    413:
      $ref: ../../responses/queries/413.yaml
    default:
      $ref: ../../responses/core/exception.yaml
