historical-simulation
Le contrat ne décrit pas cette famille.
Les descriptions viennent du contrat, rédigé en français. Elles sont reproduites telles quelles pour rester la source de vérité.
GET /api/v1/historical-datasets
Jeux historiques
Jeux geles de l'institution, recents d'abord.
historicalDatasetsList
Paramètres
| Paramètre | Emplacement | Type | Requis | Contraintes |
|---|---|---|---|---|
product_id | query | string (uuid) | null | non |
Corps de la requête
Aucun corps de requête.
Réponses
| Statut | Description | Type de contenu | Type |
|---|---|---|---|
200 | Successful Response | application/json | array<DatasetOut> |
422 | Validation Error | application/json | HTTPValidationError |
POST /api/v1/historical-datasets
Geler un jeu historique
Derniere evaluation de chaque dossier du produit, selon periode, population, exclusions.
historicalDatasetsFreeze
Paramètres
Aucun paramètre.
Corps de la requête
- Type de contenu
application/json- Type
DatasetCreateIn- Requis
- oui
Réponses
| Statut | Description | Type de contenu | Type |
|---|---|---|---|
201 | Successful Response | application/json | DatasetOut |
422 | Validation Error | application/json | HTTPValidationError |
GET /api/v1/historical-datasets/{dataset_id}
Un jeu historique
Criteres, comptes et empreinte d'un jeu gele.
historicalDatasetsGet
Paramètres
| Paramètre | Emplacement | Type | Requis | Contraintes |
|---|---|---|---|---|
dataset_id | path | string (uuid) | oui |
Corps de la requête
Aucun corps de requête.
Réponses
| Statut | Description | Type de contenu | Type |
|---|---|---|---|
200 | Successful Response | application/json | DatasetOut |
422 | Validation Error | application/json | HTTPValidationError |
GET /api/v1/historical-simulations
Simulations historiques
Simulations de l'institution, d'un jeu ou d'une politique (candidate ou reference).
historicalSimulationsList
Paramètres
| Paramètre | Emplacement | Type | Requis | Contraintes |
|---|---|---|---|---|
dataset_id | query | string (uuid) | null | non | |
policy_id | query | string (uuid) | null | non |
Corps de la requête
Aucun corps de requête.
Réponses
| Statut | Description | Type de contenu | Type |
|---|---|---|---|
200 | Successful Response | application/json | array<HistoricalSimulationOut> |
422 | Validation Error | application/json | HTTPValidationError |
POST /api/v1/historical-simulations
Lancer une simulation historique
Met en file le rejeu ; aucune politique ne change d'etat.
historicalSimulationsStart
Paramètres
Aucun paramètre.
Corps de la requête
- Type de contenu
application/json- Type
HistoricalSimulationCreateIn- Requis
- oui
Réponses
| Statut | Description | Type de contenu | Type |
|---|---|---|---|
201 | Successful Response | application/json | HistoricalSimulationOut |
422 | Validation Error | application/json | HTTPValidationError |
GET /api/v1/historical-simulations/{simulation_id}
Une simulation historique
Etat, jeu, comparaison (une fois terminee) et sceau.
historicalSimulationsGet
Paramètres
| Paramètre | Emplacement | Type | Requis | Contraintes |
|---|---|---|---|---|
simulation_id | path | string (uuid) | oui |
Corps de la requête
Aucun corps de requête.
Réponses
| Statut | Description | Type de contenu | Type |
|---|---|---|---|
200 | Successful Response | application/json | HistoricalSimulationDetailOut |
422 | Validation Error | application/json | HTTPValidationError |
POST /api/v1/historical-simulations/{simulation_id}/reconstitution
Reconstituer une simulation
Refait le rejeu sous la version du moteur enregistree et compare chaque piece.
historicalSimulationsReconstitute
Paramètres
| Paramètre | Emplacement | Type | Requis | Contraintes |
|---|---|---|---|---|
simulation_id | path | string (uuid) | oui |
Corps de la requête
Aucun corps de requête.
Réponses
| Statut | Description | Type de contenu | Type |
|---|---|---|---|
200 | Successful Response | application/json | HistoricalReconstitutionOut |
422 | Validation Error | application/json | HTTPValidationError |
POST /api/v1/historical-simulations/{simulation_id}/seal
Sceller les preuves d'une simulation
Empreinte horodatee du jeu, des versions, du moteur et des resultats.
historicalSimulationsSeal
Paramètres
| Paramètre | Emplacement | Type | Requis | Contraintes |
|---|---|---|---|---|
simulation_id | path | string (uuid) | oui |
Corps de la requête
- Type de contenu
application/json- Type
SealRequestIn- Requis
- oui
Réponses
| Statut | Description | Type de contenu | Type |
|---|---|---|---|
200 | Successful Response | application/json | HistoricalSimulationDetailOut |
422 | Validation Error | application/json | HTTPValidationError |