This is an example REST API using sinatra and redis.
$ curl \
-H "Content-Type: application/json" \
--data '{ "description": "test#1" }' \
http://localhost:3000/lists/1234/todos
$ curl \
-X POST \
-H "Content-Type: application/json" \
--data '{ "uuid": 1234, "description": "test#1" }' \
http://localhost:3000/lists/1234/todos
$ curl \
-X PUT \
-H "Content-Type: application/json" \
--data '{ "description": "test#2" }' \
http://localhost:3000/lists/1234/todos/1234
$ curl \
-X DELETE \
-H "Content-Type: application/json" \
http://localhost:3000/lists/1234/todos/1234