REST API Explorer
SmartDeno exposes a RESTful interface for managing users in the Deno KV database. Try the GET requests directly in your browser or run them in Postman.
Querying Users
GET
/api/v1/user
Send Request
Retrieve a list of all registered users (excluding passwords).
GET
/api/v1/user/guest
Send Request
Retrieve details for an existing user (e.g.,
guest).
GET
/api/v1/user/nonexistent
Send Request
Test response behaviour for a user that does not exist.
Modifying Database
POST
/api/v1/user
Create a new user entry in Deno KV. Send request with JSON body:
{
"username": "my_new_user",
"password": "my_new_password"
}
DELETE
/api/v1/user/:username
Remove an existing user from the database. Replace
:username with the username.