syntax = "proto3"; package chatto.api.v1; import "chatto/api/v1/common.proto"; // Public server profile, identity, and branding fields. message ServerPublicProfile { // Display name of the Chatto server. string name = 1; // Server software version. string version = 2; // Optional server logo URL. optional string logo_url = 3; // Optional server banner URL. optional string banner_url = 4; // Optional welcome message. optional string welcome_message = 5; // Optional server description. optional string description = 6; } // Login and registration options exposed before authentication. message ServerLogin { // Whether users can create accounts through the public UI. bool direct_registration_enabled = 1; // Configured login providers. repeated ProviderMetadata providers = 2; // URL for the legacy authorization flow, when enabled. string authorize_url = 3; }