Save/update configuration
Used by the config upload CLI
Response |
Reason |
201 |
|
500 |
Internal Server Error |
Name |
In |
Description |
Required? |
Type |
tracker.cxApplicationConfig |
body |
Request for creating/updating configuration |
true |
object |
Returns configuration for a given genesis Hash
Used by the auto-setup CX chain CLI
Response |
Reason |
|
|
200 |
OK |
404 |
Not Found |
500 |
Internal Server Error |
Name |
In |
Description |
Required? |
Type |
genesisHash |
query |
Config genesisHash |
true |
string |
Produces |
application/json |
Returns list of all stored configurations
Used by the web app to display a list of configs and servers
Response |
Reason |
200 |
OK |
500 |
Internal Server Error |
Produces |
application/json |
api.ErrorResponse Definition
Property |
Type |
Format |
|
|
|
message |
string |
|
tracker.CxApplication Definition
Property |
Type |
Format |
|
|
|
chainType |
string |
|
config |
string |
|
createdAt |
string |
|
servers |
array |
|
updatedAt |
string |
|
tracker.Server Definition
Property |
Type |
Format |
|
|
|
address |
string |
|
createdAt |
string |
|
updatedAt |
string |
|