Add api version check to client

This commit is contained in:
Andras Schmelczer 2025-11-23 22:12:49 +00:00
parent b1826907e7
commit 3ed2e4f666
10 changed files with 52 additions and 3 deletions

View file

@ -19,6 +19,10 @@ pub struct PingResponse {
/// List of file extensions that are allowed to be merged.
pub mergeable_file_extensions: Vec<String>,
/// API version ensuring backwards & forwards compatibility between the client
/// and server.
pub supported_api_version: u32,
}
/// Response to a fetch latest documents request.