Skip to content

feat: add features endpoints - #30

Merged
smaspons merged 8 commits into
mainfrom
feature/features-endpoints
Sep 10, 2026
Merged

feat: add features endpoints#30
smaspons merged 8 commits into
mainfrom
feature/features-endpoints

Conversation

@smaspons

@smaspons smaspons commented Aug 4, 2026

Copy link
Copy Markdown
Member
  • New /features module — list / GeoJSON collection / by-id fields / form / GeoJSON Feature for nodes, arcs, links, connecs, gullies
  • Backed by gw_fct_getfeatures (featureType / outputFormat) + form via gw_fct_getinfofromid
  • Typed filters + order/limit/coordinates; schemas in feature_models.py, service in features_service.py
  • Feature-flagged with API_FEATURES (default off)
  • DB floor bumpedGISWATER_DB_MIN_VERSION default 4.8.04.17.0; docs say 1.7.x → DB ≥ 4.17
  • Deprecated GET /om/dmas/{dma_id}/connecs → prefer /features/connecs?dma_id=…
  • Tests for the new endpoints; CI/env/docs/changelog updated accordingly

smaspons added 5 commits June 22, 2026 16:52
Returns nodes, arcs, connecs, gullys or links.
Gets the feature form (`getinfofromid`) if querying a single feature.
- Add typed filters & limit to feature endpoints
- Deprecated `/om/dmas/{dma_id}/connecs`
- Improved tests
- Update documentation
@smaspons smaspons self-assigned this Aug 4, 2026
@smaspons smaspons added the enhancement New feature or request label Aug 4, 2026
@smaspons

smaspons commented Aug 4, 2026

Copy link
Copy Markdown
Member Author

Merge of giswater/plugin#932 is needed for tests to pass.

@smaspons
smaspons merged commit 50563c0 into main Sep 10, 2026
10 checks passed
@smaspons
smaspons deleted the feature/features-endpoints branch September 10, 2026 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant