rust.solutions

Huck Config API

config.rust.solutions is a small authenticated key-value store. All requests except GET /healthz require the header:

Authorization: Bearer <token>

Endpoints

MethodPathDescription
GET/healthzLiveness check, no auth
GET/kList all keys
PUT/k/{key}Create or update a key
GET/k/{key}Read a key
DELETE/k/{key}Delete a key

Keys match [A-Za-z0-9._-]{1,128}; values are strings up to 64 KiB. The store holds at most 10,000 keys and persists to disk on every write.

Example

curl -X PUT https://config.rust.solutions/k/app/feature-flag \
  -H "Authorization: Bearer $HUCK_TOKEN" \
  -d '{"value": "enabled"}'

curl https://config.rust.solutions/k/app/feature-flag \
  -H "Authorization: Bearer $HUCK_TOKEN"
{"value":"enabled","updated":1770000000}