Home › Forums › Miria forums – EN › Miria : How To ? › How to use REST API in Miria 3.14.0.10+
- This topic is empty.
Viewing 0 reply threads
-
AuthorPosts
-
-
7 March 2022 at 9 h 10 min #11494
Jean-Marie Meneses
ParticipantTo be able to use the RestAPI in Miria 3.14.0.10+, please edit the file $MIRIA_HOME/restapi/.env
Add the lines:
# If the databases are defined in the .env file, set to True
LOAD_DATABASES_FROM_ENV=TrueIf you have multiple ADA databases (ADA, DEMO,…), add the dbs in the variable ADA_DATABASE_ALIASES:
ADA_DATABASE_ALIASES=ADA,DEMO
Add one line xxx_DATABASE_URL per database with xxx= db name:
ADA_DATABASE_URL=postgres://postgres:postgres@127.0.0.1:5433/ADA
DEMO_DATABASE_URL=postgres://postgres:postgres@127.0.0.1:5433/DEMOIf your Miria server is a linux, to be able to use the swagger, add also:
SERVER_URL_VIRTUAL_DIR=”/restapi”
-
-
AuthorPosts
Viewing 0 reply threads
- You must be logged in to reply to this topic.
Sujets / Topics
- Tina 4.8.1 GA is available
- Lina 6.1 is available
- Tina 4.8.1 Controlled Release is available
- PowerShell for Lina 6.0
- Advisory ID : LINA/ADE-2023-0002
- Advisory ID : LINA/ADE-2023-0001
- Miria 4.0 is available
- Lina 6.0 is available !
- Tina 4.7.1 GA is available
- Recent Tina versions require CentOS 7 minimum
Flux RSS / RSS Subscription
Tous les articles
Tous les sujets (forums)
All articles
All Topics (forums)
Tous les articles
Tous les sujets (forums)
All articles
All Topics (forums)