odin-detector / odin-control

Prototype of ODIN framework
Apache License 2.0
4 stars 9 forks source link

API version report returns mismatched JSON key #33

Closed timcnicholls closed 5 years ago

timcnicholls commented 5 years ago

When requesting the API version from an odin-control server, the server returns a JSON object with api_version rather than api as the key. For instance:

$ curl -H "Accept:application/json" -s http://localhost:8888/api | python -m json.tool
{
    "api_version": 0.1
}