You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This endpoint will look up that table, and return that record.
The basic structure of the endpoint is this:
GET /config -> 200: JSON
The Key structure of the Config entry in that table is:
"config","","" : <json data>
In addition, if the query is for a known IP address, any json configuration for that IP address is merged with the general json config.
The Key structure of the IP Address, Config entry in that table is::
Summary
Create endpoint to retrieve a json configuration record
Description
The backend will store generalized json records in the "Config" table in the postgresql database.
catalyst-voices/catalyst-gateway/event-db/migrations/V1__config_tables.sql
Line 75 in 89641a5
This endpoint will look up that table, and return that record.
The basic structure of the endpoint is this:
GET /config -> 200: JSON
The Key structure of the Config entry in that table is:
In addition, if the query is for a known IP address, any json configuration for that IP address is merged with the general json config.
The Key structure of the IP Address, Config entry in that table is::
The response will be the merged json.
If the config entry does not exist in the DB, do not return an error, just retun an empty json document:
The text was updated successfully, but these errors were encountered: