Provided by: libmongoc-doc_2.2.0-1_all 

SYNOPSIS
mongoc_server_api_version_t
mongoc_server_api_get_version (const mongoc_server_api_t *api);
Fetch the declared API version as from a mongoc_server_api_t <>.
PARAMETERS
• api: A mongoc_server_api_t <>.
RETURNS
Returns a mongoc_server_api_version_t <> with the API version declare in the mongoc_server_api_t <>.
Author
MongoDB, Inc
Copyright
2009-present, MongoDB, Inc.
2.2.0 Nov 26, 2025 MONGOC_SERVER_API_GET_VERSION(3)