Configurations

Voting Configurations Endpoints.

/configurations

GET http://localhost:4003/api/voting/configurations

Returns configurations for voting core plugins.

{
  "data": {
    "api": {
      "packageName": "@protokol/voting-api",
      "currentVersion": "1.0.0",
      "latestVersion": "1.0.0"
    },
    "transactions": {
      "packageName": "@protokol/voting-transactions",
      "currentVersion": "1.0.0",
      "latestVersion": "1.0.0"
    },
    "crypto": {
      "packageName": "@protokol/voting-crypto",
      "currentVersion": "1.0.0",
      "latestVersion": "1.0.0"
    }
  }
}

Curl Example

curl http://localhost:4003/api/voting/configurations

Last updated