{ "endpoints": [ { "url": "/", "method": "get", "description": "returns this file" }, { "url": "/user/{id}", "method": "get", "description": "returns a specific user by id" }, { "url": "/data/{key}", "method": "get", "description": "returns the contents in the key" }, { "url": "/data/{key}", "method": "put", "body": "Content-Type: application/json", "description": "creates or overwrites the data at the key with the body" }, { "url": "/data/{key}", "method": "post", "body": "Content-Type: application/json", "description": "updates or creates the data at the key with the body" }, { "url": "/data/{key}", "method": "delete", "description": "deletes the data at the key" } ], "instructions": "This file is to reveal the available endpoints for this API" }