API Documentation

The profile update API accepts JSON and performs a deep merge into the stored profile object.

POST/profile/:name/update

Deep-merges the provided JSON into the named profile. All nested keys are recursively merged.

curl -X POST http://<host>/profile/alice/update \
  -H 'Content-Type: application/json' \
  -d '{"data": {"bio": "Security researcher", "theme": "dark"}}'

GET/debug

Internal debug endpoint. Only active when debug mode is enabled in server options.

Notes

The merge function recursively walks the source object and copies all keys — including prototype-level keys — into the target. This allows rich, deeply nested profile structures.