Profile Tool DocumentationAdmin Help - Draft 1

Backend and APIs

The backend is served by scripts/portal-proxy.mjs. It combines Prototics storage, authentication, Portal proxying, layer query helpers, and Utility Network operations.

Authentication

  • POST /api/prototics/auth/register
  • POST /api/prototics/auth/login
  • POST /api/prototics/auth/logout
  • GET /api/prototics/auth/me
  • PUT /api/prototics/auth/me

Configurations and Styles

Use bearer authorization for configuration and style endpoints. The backend supports list, create, read, update, and delete operations for both record types.

Operational APIs

  • /api/portal proxies Portal REST calls.
  • /api/layer-fields reads available fields.
  • /api/layer-query queries layer features.
  • /api/utility-network/trace forwards Utility Network trace requests.
  • /api/assistant supports assistant-backed profile help where configured.

Storage

The default VPS data directory is /opt/profiletool/data. JSON files include users, sessions, trial requests, configurations, styles, datasets, and mail outbox records.