autonomous.contact/public/api/users
2025-07-04 12:15:06 -07:00
..
:user_id feature: events polling 2025-07-02 21:28:07 -07:00
me feature: chat is working? 2025-07-04 12:15:06 -07:00
index.ts feature: chat is working? 2025-07-04 12:15:06 -07:00
README.md docs: improve some READMEs 2025-06-24 16:25:07 -07:00

/api/users

Interact with users.

POST /api/users

Create a new user.

{
	// set the user's username
	username: string;

	// set the user's password, will be hashed and discarded server-side
	password?: string;

	// can send an already-hashed password if we want to keep this client-side
	// should be a base64-encoded SHA-256 hash of the user's client-entered pw
	password_hash?: string;
}

GET /api/users

Get users. (admin)

TODO: document this