AdminServerService
Chatto exposes this service below /api/connect.
Shared message and enum definitions are documented in Shared Types And Enums.
AdminServerService
Section titled “AdminServerService”Provides server-administration commands for profile, branding, and security settings.
GetServerConfig
Section titled “GetServerConfig”Gets runtime-editable server profile settings. This RPC requires server.manage.
POST /api/connect/chatto.admin.v1.AdminServerService/GetServerConfigInput: GetServerConfigRequest
Section titled “Input: GetServerConfigRequest”Request server profile settings.
Result: GetServerConfigResponse
Section titled “Result: GetServerConfigResponse”Server profile settings plus effective public branding.
| Field | Type | Description |
|---|---|---|
config | ServerConfig | Runtime-editable server profile settings. |
public_profile | chatto.api.v1.ServerPublicProfile | Effective public server profile and branding. |
UpdateServerConfig
Section titled “UpdateServerConfig”Updates runtime-editable server profile settings. This RPC requires server.manage.
POST /api/connect/chatto.admin.v1.AdminServerService/UpdateServerConfigInput: UpdateServerConfigRequest
Section titled “Input: UpdateServerConfigRequest”Request to update runtime-editable server profile settings.
| Field | Type | Description |
|---|---|---|
server_name | optional string | Optional server name for page titles. Set to empty string to use default. |
description | optional string | Optional short server description for OG link-preview metadata. Set to empty string to clear. |
motd | optional string | Optional message of the day for the header. Set to empty string to clear. |
welcome_message | optional string | Optional welcome message shown on the login page. Set to empty string to clear. |
Result: UpdateServerConfigResponse
Section titled “Result: UpdateServerConfigResponse”Result of updating runtime-editable server profile settings.
| Field | Type | Description |
|---|---|---|
public_profile | chatto.api.v1.ServerPublicProfile | Updated public server profile and branding. |
config | ServerConfig | Updated runtime-editable server profile settings. |
UploadServerLogo
Section titled “UploadServerLogo”Uploads and sets the public server logo. This RPC requires server.manage.
POST /api/connect/chatto.admin.v1.AdminServerService/UploadServerLogoInput: UploadServerLogoRequest
Section titled “Input: UploadServerLogoRequest”Request to upload and set the public server logo.
| Field | Type | Description |
|---|---|---|
image | chatto.api.v1.ImageUpload | Image payload. The server validates, resizes, and stores a WebP logo. |
Result: UploadServerLogoResponse
Section titled “Result: UploadServerLogoResponse”Result of uploading the public server logo.
| Field | Type | Description |
|---|---|---|
public_profile | chatto.api.v1.ServerPublicProfile | Updated public server profile and branding. |
DeleteServerLogo
Section titled “DeleteServerLogo”Clears the public server logo. This RPC requires server.manage.
POST /api/connect/chatto.admin.v1.AdminServerService/DeleteServerLogoInput: DeleteServerLogoRequest
Section titled “Input: DeleteServerLogoRequest”Request to clear the public server logo.
Result: DeleteServerLogoResponse
Section titled “Result: DeleteServerLogoResponse”Result of clearing the public server logo.
| Field | Type | Description |
|---|---|---|
public_profile | chatto.api.v1.ServerPublicProfile | Updated public server profile and branding. |
UploadServerBanner
Section titled “UploadServerBanner”Uploads and sets the public server banner. This RPC requires server.manage.
POST /api/connect/chatto.admin.v1.AdminServerService/UploadServerBannerInput: UploadServerBannerRequest
Section titled “Input: UploadServerBannerRequest”Request to upload and set the public server banner.
| Field | Type | Description |
|---|---|---|
image | chatto.api.v1.ImageUpload | Image payload. The server validates, resizes, and stores a WebP banner. |
Result: UploadServerBannerResponse
Section titled “Result: UploadServerBannerResponse”Result of uploading the public server banner.
| Field | Type | Description |
|---|---|---|
public_profile | chatto.api.v1.ServerPublicProfile | Updated public server profile and branding. |
DeleteServerBanner
Section titled “DeleteServerBanner”Clears the public server banner. This RPC requires server.manage.
POST /api/connect/chatto.admin.v1.AdminServerService/DeleteServerBannerInput: DeleteServerBannerRequest
Section titled “Input: DeleteServerBannerRequest”Request to clear the public server banner.
Result: DeleteServerBannerResponse
Section titled “Result: DeleteServerBannerResponse”Result of clearing the public server banner.
| Field | Type | Description |
|---|---|---|
public_profile | chatto.api.v1.ServerPublicProfile | Updated public server profile and branding. |
GetServerSecurityConfig
Section titled “GetServerSecurityConfig”Returns security-sensitive server configuration. This RPC requires server.manage.
POST /api/connect/chatto.admin.v1.AdminServerService/GetServerSecurityConfigInput: GetServerSecurityConfigRequest
Section titled “Input: GetServerSecurityConfigRequest”Request for server security configuration.
Result: GetServerSecurityConfigResponse
Section titled “Result: GetServerSecurityConfigResponse”Security-sensitive server configuration. The caller must be allowed to manage server configuration.
| Field | Type | Description |
|---|---|---|
blocked_usernames | repeated string | Blocked usernames. Entries are normalized by the server. |
UpdateBlockedUsernames
Section titled “UpdateBlockedUsernames”Updates the blocked-username list. This RPC requires server.manage.
POST /api/connect/chatto.admin.v1.AdminServerService/UpdateBlockedUsernamesInput: UpdateBlockedUsernamesRequest
Section titled “Input: UpdateBlockedUsernamesRequest”Request to update the server blocked-username list.
| Field | Type | Description |
|---|---|---|
blocked_usernames | repeated string | Blocked usernames. Empty entries are ignored and entries are normalized by the server. |
Result: UpdateBlockedUsernamesResponse
Section titled “Result: UpdateBlockedUsernamesResponse”Result of updating the server blocked-username list.
| Field | Type | Description |
|---|---|---|
blocked_usernames | repeated string | Effective blocked usernames after the update. |