This script fetches every object of your Dictionary module and stores them in a dictionary.json
file.
Run the following command in order to install the script's dependencies :
npm ci
Open the .env
file and update its configuration variables:
BASEURL
: your DataGalaxy API base url; should look like thishttps://foo.api.datagalaxy.com/v2
VERSIONID
: required in order for the script to target the correct workspace's versionACCESSTOKEN
: authenticate the script's requests, can be found in the Integration section of your Admin page in the DataGalaxy web application
Run the following command :
npm start
The exported objects can be found in the dictionary.json
file.