-
Notifications
You must be signed in to change notification settings - Fork 8
Feat/update ban core api #652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a new /bal/cog endpoint to BAN-Core-API that enables requesting publication of a BAL (Base Adresse Locale) using a COG (INSEE code). The implementation follows the existing pattern of the /bal/text endpoint.
Key Changes:
- New POST endpoint
/bal/cogto handle BAL publication requests by COG - Enhanced error messages with more specific context
- Documentation updates for better clarity and corrections
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| apps/ban-core-api/src/index.ts | Adds new /bal/cog endpoint with COG-based BAL publication support, improves error messages, and adds type annotations |
| apps/ban-core-api/index.ts | Complete file deletion (likely consolidation or refactoring) |
| README.md | Documentation improvements including typo fixes, formatting cleanup, and new data initialization guide |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…ilot) Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Mise à jour de BAN-Core-API dans le but d'ajouter un endpoint permettant de demander la publication d'une BAL à partir de son code INSEE. (Seul le endpoint est présent. Son exécution par ID-Fix sera effectuée dans une PR séparée)