ServerSetupService
Chatto exposes this service below /api/connect.
Shared message and enum definitions are documented in Shared Types And Enums.
ServerSetupService
Section titled “ServerSetupService”Creates the first owner on a new server. No session or setup secret is required.
CompleteSetup
Section titled “CompleteSetup”Public while setup is available. Atomically creates the owner and server settings, then permanently closes setup. Concurrent or later submissions fail with FAILED_PRECONDITION. A lost response can be recovered by signing in.
POST /api/connect/chatto.auth.v1.ServerSetupService/CompleteSetupInput: CompleteSetupRequest
Section titled “Input: CompleteSetupRequest”Settings and local owner credentials for a new server.
| Field | Type | Description |
|---|---|---|
server_name | string | Required server display name. |
description | string | Optional public server description. |
login | string | Required owner login. Normal username rules apply. |
display_name | string | Required owner display name. |
password | string | Required local password. Normal password rules apply. |
Result: CompleteSetupResponse
Section titled “Result: CompleteSetupResponse”Setup has completed. Sign in with the owner credentials through normal login.