davidkirwan / ardtweeno

Ardtweeno is an application gateway which bridges devices connected via Serial Link and an Internet Protocol network. The system is designed as a PaaS (platform as a service) for the Raspberry Pi ARM platform.
GNU General Public License v3.0
5 stars 0 forks source link

Refactor the responses from the /api/v1/system calls to be JSON responses #37

Closed davidkirwan closed 10 years ago

davidkirwan commented 10 years ago

Refactor the responses from the /api/v1/system calls to be JSON responses

davidkirwan commented 10 years ago

The following endpoints now respond with JSON in the format:

/api/v1/system/start /api/v1/system/stop

Example response returned from these calls: {"response":true,"running":true}

Response parameter indicates if the call was successful. Running parameter indicates the current status of the SerialParser subsystem.

davidkirwan commented 10 years ago

Fixed on dev