Skip to content

Improve v3 search endpoints

Yifei Xu requested to merge v3_search_improve into master

POST CRS and POST CT

  • Change default search limit to a large value (10000)
  • Add includeDeprecated (exclude InactiveIndicator: true)
  • Add field “returnAllFields”
  • Change the default return fields
  • Make schema authority configurable with an env var “SCHEMA_AUTHORITY”

POST CRS

  • Correct the handling of returnBoundProjectedAndProjectedBasedOnWgs84 and returnBoundGeographic2DAndWgs84
  • Change extent.name to extent.description (the reason it was not working before was because extent.description was not in initial version of schema)

POST CT

  • Make source and target crs interchangable
  • Add id and code
  • Remove "includeHorizontal" and "includeVertical" and add kind instead. Add "All" as a magical keyword. Use “excludeVertical” as default.

Info

  • Add /info endpoint

Test

  • Add integration tests
  • Fix unit test

Doc

  • Update openapi doc
Edited by Yifei Xu

Merge request reports