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)[source]#
Bases:
BaseApiThis 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.
- health() dict[source]#
Gets current health of the service
- Returns:
health status of the service
- Raises:
PlatformException – If platform responds with an HTTP error.
- version() dict[source]#
Gets detailed version dictionary of the service
- Returns:
detailed version information of the service
- Raises:
PlatformException – If platform responds with an HTTP error.