Add api version check to client
This commit is contained in:
parent
b1826907e7
commit
3ed2e4f666
10 changed files with 52 additions and 3 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue