diff --git a/config/env.example.optional b/config/env.example.optional index 5302e7641..2400a39fd 100644 --- a/config/env.example.optional +++ b/config/env.example.optional @@ -75,3 +75,6 @@ DS_ENV="staging" # Désactivé l'OTP pour SuperAdmin # SUPER_ADMIN_OTP_ENABLED = "disabled" # "enabled" par défaut + +# API Particulier https://api.gouv.fr/les-api/api-particulier +# API_PARTICULIER_URL="https://particulier.api.gouv.fr/api" diff --git a/config/initializers/urls.rb b/config/initializers/urls.rb index c36c51aa2..732c583f2 100644 --- a/config/initializers/urls.rb +++ b/config/initializers/urls.rb @@ -2,6 +2,7 @@ # API URLs API_ENTREPRISE_URL = ENV.fetch("API_ENTREPRISE_URL", "https://entreprise.api.gouv.fr/v2") API_EDUCATION_URL = ENV.fetch("API_EDUCATION_URL", "https://data.education.gouv.fr/api/records/1.0") +API_PARTICULIER_URL = ENV.fetch("API_PARTICULIER_URL", "https://particulier.api.gouv.fr/api") HELPSCOUT_API_URL = ENV.fetch("HELPSCOUT_API_URL", "https://api.helpscout.net/v2") PIPEDRIVE_API_URL = ENV.fetch("PIPEDRIVE_API_URL", "https://api.pipedrive.com/v1") SENDINBLUE_API_URL = ENV.fetch("SENDINBLUE_API_URL", "https://in-automate.sendinblue.com/api/v2")