pub(super) fn fetch_catalog_update_selection(
client: &Client,
update_api_url: &str,
local_metadata: Option<&CatalogMetadata>,
) -> Result<CatalogUpdateResponse>Expand description
Fetches the catalog update selection.
When local metadata is available, the current catalog hash is sent to the update API so it can choose between a current, patch, or full-snapshot response.
ยงErrors
Returns an error when the request URL is invalid, the request fails, the API returns a non-success status, or the response body cannot be decoded.