HacklabJKL / visitors

Visitor data collector using DHCP leases
GNU General Public License v3.0
0 stars 1 forks source link

REST interface for changing the nickname #4

Closed zouppen closed 7 years ago

zouppen commented 7 years ago

Provide RESTful interface for changing the nickname associated wtih the nick. Provide the following

method endpoint description
GET /v1/nicks Print all nicknames currently on the system (used in pre-filling the combo box)
GET /v1/nick Get current information about the device
PUT /v1/nick Start tracking the device (takes in nickname)
DELETE /v1/nick Delete device (do not track anymore, set changed=now and id=NULL)