aboutsummaryrefslogtreecommitdiffstats
path: root/apidoc/api_data.json
diff options
context:
space:
mode:
authorAdrien Hopkins <[email protected]>2021-08-18 14:22:32 -0500
committerAdam Soltys <[email protected]>2021-08-30 16:04:48 -0700
commit4d2b17ca203c389b4ed678007377a0fd93b889eb (patch)
treeac4b238201b2166934290a3668aa50e69b0c9c98 /apidoc/api_data.json
parente8d703a78577abc4df8af4747a6408474a848450 (diff)
downloadcoinos-server-4d2b17ca203c389b4ed678007377a0fd93b889eb.tar.gz
coinos-server-4d2b17ca203c389b4ed678007377a0fd93b889eb.zip
Documented /api/info
Diffstat (limited to 'apidoc/api_data.json')
-rw-r--r--apidoc/api_data.json37
1 files changed, 37 insertions, 0 deletions
diff --git a/apidoc/api_data.json b/apidoc/api_data.json
index 180cbe16..5bab3ee7 100644
--- a/apidoc/api_data.json
+++ b/apidoc/api_data.json
@@ -375,6 +375,43 @@
"groupTitle": "Admin"
},
{
+ "type": "get",
+ "url": "/info",
+ "title": "Request server information",
+ "name": "GetInfo",
+ "group": "Info",
+ "success": {
+ "fields": {
+ "Success 200": [
+ {
+ "group": "Success 200",
+ "type": "Object",
+ "optional": false,
+ "field": "fx",
+ "description": "<p>Exchange rates relative to USD - fx.CUR is the value of one CUR in USD.</p>"
+ },
+ {
+ "group": "Success 200",
+ "type": "String[]",
+ "optional": false,
+ "field": "networks",
+ "description": "<p>Array of supported networks; possible values are &quot;bitcoin&quot;, &quot;liquid&quot; and &quot;lightning&quot;.</p>"
+ },
+ {
+ "group": "Success 200",
+ "type": "String",
+ "optional": false,
+ "field": "clientVersion",
+ "description": "<p>the current git commit of the ui</p>"
+ }
+ ]
+ }
+ },
+ "version": "0.0.0",
+ "filename": "routes/info.js",
+ "groupTitle": "Info"
+ },
+ {
"type": "post",
"url": "/grant",
"title": "Grant Referral code",