-
Notifications
You must be signed in to change notification settings - Fork 6
Feat/api allocation rentree scolaire #164
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
Open
Samuelfaure
wants to merge
17
commits into
develop
Choose a base branch
from
feat/api_allocation_rentree_scolaire
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
e27d835
Feat: CNAV::ARS BuildResource + payloads
Samuelfaure f43a741
Test: cover ARS non_beneficiaire path
Samuelfaure 20db1c6
Feat: CNAV::ARS organizer
Samuelfaure 909275c
Test: cover ARS organizer invalid-params and 404 paths
Samuelfaure 87f4b4d
Feat: CNAV::ARS serializer
Samuelfaure ba7ce9e
Feat: CNAV::ARS controllers, routes, scope, swagger-data + request specs
Samuelfaure 2a916cb
Feat: CNAV::ARS throttle and pings configuration
Samuelfaure f9b1874
Feat: regenerate OpenAPI with CNAV ARS endpoint
Samuelfaure ff10fbd
Feat: add CNAV ARS endpoint fiche
Samuelfaure 91e6469
Feat: add CNAV ARS provider mocks
Samuelfaure eee362b
Feat: regenerate api_particulier Ruby client with CNAV ARS (v0.2.0)
Samuelfaure dfc8a6b
Feat: regenerate api-particulier Node client with CNAV ARS (v0.2.0)
Samuelfaure 9122f94
Feat: guard CNAV endpoints against unknown/missing indicateur
Samuelfaure c476723
Chore: regen clients
Samuelfaure a6bdcd8
Fix: correct ping_url for cnav/allocation_rentree_scolaire endpoint
Samuelfaure bba0c86
Feat: add i18n label for cnav_allocation_rentree_scolaire scope
Samuelfaure 4edec19
Fix: use a realistic business-404 payload for CNAV ARS fixture
Samuelfaure File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| module ApiParticulier | ||
| VERSION = '0.1.2'.freeze | ||
| VERSION = '0.2.0'.freeze | ||
| end |
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
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
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
49 changes: 49 additions & 0 deletions
49
commons/endpoints/api_particulier/cnav_allocation_rentree_scolaire.yml
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| --- | ||
| fiche: | ||
| - uid: 'cnav/allocation_rentree_scolaire' | ||
| opening: protected | ||
| path: '/v3/dss/allocation_rentree_scolaire/identite' | ||
| controller: 'api_particulier/v3_and_more/cnav/allocation_rentree_scolaire_with_civility' | ||
| ping_url: 'https://particulier.api.gouv.fr/api/cnav_allocation_rentree_scolaire/ping' | ||
| position: 805 | ||
| perimeter: | ||
| entity_type_description: |+ | ||
| ✅ Le périmètre de l'API couvre les bénéficiaires de l'allocation de rentrée scolaire (ARS). | ||
|
|
||
| ⚙️ Vérification en cours avec le fournisseur de données pour confirmer le périmètre exact. | ||
| geographical_scope_description: |+ | ||
| - ✅ France Métropolitaine | ||
| - ✅ Départements d'Outre-mer | ||
| - ❌ Les collectivités d'Outre-mer, ayant un autre système de sécurité sociale, ne sont pas concernées par cette API. | ||
| updating_rules_description: | ||
| Les données sont **mises à jour en temps réel** et issues du répertoire national commun de la protection sociale (RNCPS) opéré par la CNAV (Caisse nationale d'assurance vieillesse). | ||
| parameters_details: | ||
| description: |+ | ||
| Cette API propose deux modalités d'appel : | ||
| <p class="fr-badge fr-badge--blue-ecume"> %>){:width="20px"} FranceConnect</p> | ||
| **Avec la [modalité d'appel FranceConnect](<%= cas_usage_path('modalite_appel_france_connect') %>)**. | ||
|
|
||
| <p class="fr-badge fr-badge--brown-cafe-creme">Identité pivot</p> | ||
| **Avec les données d'identité** : | ||
|
|
||
| {:.fr-mb-0} | ||
| - Nom de naissance, nom d'usage, prénoms, sexe, date de naissance de l'allocataire, code COG du pays de naissance ; | ||
| - Commune de naissance _(fortement recommandé)_. | ||
| data: | ||
| description: |+ | ||
| Cette API **indique si le particulier est bénéficiaire de l'allocation de rentrée scolaire**, en précisant la date d'ouverture du droit. | ||
| provider_uids: | ||
| - 'cnav' | ||
| keywords: | ||
| - allocation | ||
| - rentrée scolaire | ||
| - aides | ||
| - ars | ||
| - enfant | ||
| call_id: | ||
| - Identité pivot | ||
| - FranceConnect | ||
| parameters: | ||
| - Identité pivot | ||
| - FranceConnect | ||
| faq: [] |
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.