Menu
Introduction
Getting Started
Developer guide
Release
Architecture
CLI
Technical documentations
Version
Publication date

Mar 9, 2022

Confidentiality
Public
Reactions
2
Share

FrontService

Functions
__init__

Initialize self. See help(type(self)) for accurate signature.

lab_url : str | None
get_app_gateway_url

Stable, bookmarkable launcher URL for an app.

This is a front (Angular) route {front}/open/app/{app_key}: it owns the auth-guard (redirecting to login when needed) and the progress UI, and drives the backend gateway APIs (start / handoff). Opening it authenticates the caller, cold-starts the app if needed, shows progress, and navigates into the app (no iframe).

When a one-time code is provided (e.g. issued for a space open), it is carried as ?code= so the front can start the app without an existing lab session.

app_key : str
stable app key (resource model id or custom subdomain)
code : str | None
Return type : str
get_app_open_url
Return type : str
get_app_url
Return type : str
get_auto_login_url
expires_in : int
Return type : str
get_front_url
Return type : str
get_monitoring_activity_url
Return type : str
get_monitoring_credentials_url
Return type : str
get_monitoring_dashboard_url
Return type : str
get_monitoring_lab_url
Return type : str
get_monitoring_logs_url
Return type : str
get_monitoring_other_url
Return type : str
get_monitoring_tags_url
Return type : str
get_monitoring_virtual_envs_url
Return type : str
get_note_template_url
template_id : str
Return type : str
get_note_templates_list_url
Return type : str
get_note_url
note_id : str
Return type : str
get_notes_list_url
Return type : str
get_resource_open_space_url

Open route to access the shared resource, carrying the single-use space access code.

The gws_user_access_token query param name is the legacy wire name (kept for compatibility); it mirrors AuthorizationService.USER_ACCESS_TOKEN_HEADER. Not imported here to keep front_service free of an auth-layer dependency — keep the two in sync.

token : str
space_access_code : str
hide_header : bool - False
Return type : str
get_resource_open_url
token : str
Return type : str
get_resource_url
resource_id : str
Return type : str
get_resources_list_url
Return type : str
get_scenario_template_url
template_id : str
Return type : str
get_scenario_templates_list_url
Return type : str
get_scenario_url
scenario_id : str
Return type : str
get_scenarios_list_url
Return type : str
get_view_url
view_id : str
Return type : str
get_views_list_url
Return type : str
get_dark_theme @staticmethod
Return type : FrontTheme
get_light_theme @staticmethod
Return type : FrontTheme
Shine Logo
Technical bricks to reuse or customize

Have you developed a brick?

Share it to accelerate projects for the entire community.