/api/settings
Get Server Settings.
OK
const response = await fetch('api.rair.market/api/settings', { method: 'GET', headers: {}, }); const data = await response.json();
Update settings for a specific blockchain.
const response = await fetch('api.rair.market/api/settings/{blockchain}', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "display": false, "sync": false }), }); const data = await response.json();
Update server settings.
const response = await fetch('api.rair.market/api/settings', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();