API for getting the version of the orchestrator.
version()
Get the version of deployed services.
Source code in gso/api/v1/version.py
| @router.get("/", status_code=status.HTTP_200_OK)
def version() -> dict[str, str]:
"""Get the version of deployed services."""
version_dict = {}
for item in VERSIONS:
if ":" in item:
key, value = item.split(":", 1)
version_dict[key.strip()] = value.strip()
return version_dict
|