Remove redundant /abstract/ route synonyms throughout the API#619
Draft
Remove redundant /abstract/ route synonyms throughout the API#619
/abstract/ route synonyms throughout the API#619Conversation
Co-authored-by: brucecrevensten <525049+brucecrevensten@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove
Remove redundant Aug 15, 2025
/abstract/ route synonyms throughout/abstract/ route synonyms throughout the API
charparr
approved these changes
Aug 18, 2025
Member
charparr
left a comment
There was a problem hiding this comment.
The diff is all red, as expected. This seems like a reasonable, low-risk test drive of using agentic copilot to clean up a bit of cruft in the API. I'm OK with merging this.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR removes all redundant
/abstract/route synonyms from the data API, addressing issue #618. These routes were serving the same documentation landing pages as their main/$resourcecounterparts, creating unnecessary duplication and potential confusion.Changes Made
Removed 16
/abstract/route decorators across 13 route files:alfresco.py,beetles.py,boundary.py,degree_days.py,ecoregions.py,elevation.py,fire.py,hydrology.py,landfastice.py,permafrost.py,seaice.pytaspr.py: Removed 3 abstract routes (/temperature/abstract/,/precipitation/abstract/,/taspr/abstract/)wet_days_per_year.py: Removed 2 abstract routes (/wet_days_per_year/abstract/,/mmm/wet_days_per_year/abstract/)Before and After
Before:
After:
Impact
/$resourceroutes continue to work exactly as beforeAll route files have been validated for correct Python syntax and the main documentation routes remain fully functional.
Closes #618
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.