here.platform.api.service_api module
here.platform.api.service_api module
This module contains a ServiceApi class to perform API operations.
It is an extension of BaseApi that provides APIs for REST calls
class here.platform.api.service_api.ServiceApi(service_base_url: str, platform_config: PlatformConfig, application_config: ApplicationConfig, auth: Auth, proxies: dict | None)
Bases: BaseApi
This class provides methods that perform common service operations
The registry service provides basic service management operations. It manages all platform service resources needed for different kinds of services and operations on them.
Gets current health of the service
Returns:
health status of the service
Raises:
PlatformException – If platform responds with an HTTP error.
Gets detailed version dictionary of the service
Returns:
detailed version information of the service
Raises:
PlatformException – If platform responds with an HTTP error.