syneto_api 0.2.48__tar.gz → 0.2.49__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {syneto_api-0.2.48 → syneto_api-0.2.49}/PKG-INFO +1 -1
- {syneto_api-0.2.48 → syneto_api-0.2.49}/pyproject.toml +1 -1
- {syneto_api-0.2.48 → syneto_api-0.2.49}/src/syneto_api/central_api.py +8 -0
- {syneto_api-0.2.48 → syneto_api-0.2.49}/README.md +0 -0
- {syneto_api-0.2.48 → syneto_api-0.2.49}/src/syneto_api/__init__.py +0 -0
- {syneto_api-0.2.48 → syneto_api-0.2.49}/src/syneto_api/api_client.py +0 -0
- {syneto_api-0.2.48 → syneto_api-0.2.49}/src/syneto_api/auth_api.py +0 -0
- {syneto_api-0.2.48 → syneto_api-0.2.49}/src/syneto_api/jobs_api.py +0 -0
- {syneto_api-0.2.48 → syneto_api-0.2.49}/src/syneto_api/keyring.py +0 -0
- {syneto_api-0.2.48 → syneto_api-0.2.49}/src/syneto_api/node_api.py +0 -0
- {syneto_api-0.2.48 → syneto_api-0.2.49}/src/syneto_api/protection_api.py +0 -0
- {syneto_api-0.2.48 → syneto_api-0.2.49}/src/syneto_api/settings.py +0 -0
- {syneto_api-0.2.48 → syneto_api-0.2.49}/src/syneto_api/storage_api.py +0 -0
- {syneto_api-0.2.48 → syneto_api-0.2.49}/src/syneto_api/virt_api.py +0 -0
|
@@ -33,5 +33,13 @@ class Central(APIClientBase):
|
|
|
33
33
|
def get_monitoring_details(self) -> Any:
|
|
34
34
|
return self.get_request("/services/monitoring")
|
|
35
35
|
|
|
36
|
+
def check_for_updates(self, current_version: str, update_channel: str, update_branch: str) -> Any:
|
|
37
|
+
details = {
|
|
38
|
+
"current_version": current_version,
|
|
39
|
+
"update_channel": update_channel,
|
|
40
|
+
"update_branch": update_branch
|
|
41
|
+
}
|
|
42
|
+
return self.get_request("/syneto-os-update", query_args=details)
|
|
43
|
+
|
|
36
44
|
def health(self) -> Any:
|
|
37
45
|
return self.get_request("/health")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|