Skip to content

refactor(map-backend): standardise APIRouter prefix pattern#24

Merged
chefmatteo merged 1 commit into
mainfrom
feat/standardise-map-api-prefixes
Jun 23, 2026
Merged

refactor(map-backend): standardise APIRouter prefix pattern#24
chefmatteo merged 1 commit into
mainfrom
feat/standardise-map-api-prefixes

Conversation

@chefmatteo

@chefmatteo chefmatteo commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Summary

  • trails_service: moved /trails from route decorator into APIRouter(prefix="/trails"), route becomes /resort
  • elevation_dem_service: moved /elevation from route decorator into APIRouter(prefix="/elevation"), route becomes /correct
  • No URL changes — net effect is zero

All three map-backend routers now follow the same pattern as activities_service.

…l domains

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@chefmatteo, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 29 minutes and 12 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based credits.

🚦 How do rate limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan refill rate.

For paid Pro and Pro+ PR reviews, CodeRabbit uses rolling per-developer review limits. Reviews become available again as older review attempts age out of the rolling limit window.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: aa1eadd7-6a13-45d6-b327-f13d58aa3241

📥 Commits

Reviewing files that changed from the base of the PR and between c027b7f and 4691a06.

📒 Files selected for processing (2)
  • backend/map-backend/domains/elevation_dem_service/api.py
  • backend/map-backend/domains/trails_service/api.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/standardise-map-api-prefixes

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chefmatteo chefmatteo merged commit 7c03a70 into main Jun 23, 2026
11 of 17 checks passed
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.

1 participant