1.0.0 • Published 8 years ago

labelstore v1.0.0

Weekly downloads
1
License
BSD-3-Clause
Repository
github
Last release
8 years ago

labelstore

Travis CI

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/:key

    Gets the key in the namespace.

  • PUT /:namespace/:key

    Update or set the key in the namespace

  • GET /:namespace/:key

    Get all of the keys in a namespace.