1.0.0 • Published 10 years ago
labelstore v1.0.0
labelstore
This is a straightforward REST API for storing keys and values. The idea is that if you have a webapp on an embedded device that has read only memory In my case, the raspberry pi running my pyrelay box has its root filesystem mounted read-only for stability.
By using this and accessing it through CORS, I can add labels to the web UI without having to add read-write on my raspberry pi.
API
GET/:namespace/:keyGets the key in the namespace.
PUT/:namespace/:keyUpdate or set the key in the namespace
GET/:namespace/:keyGet all of the keys in a namespace.
1.0.0
10 years ago