Skip to content

Add public API v2 with Open-Meteo response format.#976

Open
kapildadheech wants to merge 4 commits into
devfrom
feature/api-v2
Open

Add public API v2 with Open-Meteo response format.#976
kapildadheech wants to merge 4 commits into
devfrom
feature/api-v2

Conversation

@kapildadheech

Copy link
Copy Markdown
Collaborator

Routes under /api/v2/ for public_api and waterrejuvenation, standardized envelope via openmeteo_format, MongoDB cache, and SWB5 waterbody support.

Routes under /api/v2/ for public_api and waterrejuvenation, standardized
envelope via openmeteo_format, MongoDB cache, and SWB5 waterbody support.

Co-authored-by: Cursor <cursoragent@cursor.com>
Kapil Dadheech and others added 3 commits June 8, 2026 16:49
Add v2 wrapper views and distinct OpenAPI schemas so every /api/v2/ route appears under Dataset APIs v2 and Waterbodies API v2, and restore geometry helper imports and v1 URL cleanup.

Co-authored-by: Cursor <cursoragent@cursor.com>
Fold hydrological_annual and hydrological_seasonal into aligned time arrays, strip unit suffixes from metric keys, and normalize delta_g naming for get_tehsil_data.

Co-authored-by: Cursor <cursoragent@cursor.com>
…ets.

Auto-detect metric_year columns for cropping intensity, surface water, NREGA, LULC, and drought sheets; strip _count/_in_ha suffixes and preserve units in annual_units.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants