HTTP API#
Launcher uses port 33480 to provide the HTTP API that can be used by other programs to retrieve information about the current session or get the list of installed apps.
This document describes all available HTTP endpoints supported by Launcher.
Authentication#
[GET] /auth
#
Returns Starfleet information about the current user session.
Method: GET
Content type: application/json
Response#
Property |
Type |
Description |
---|---|---|
|
string |
Email used for authentication. Can be used to uniquely identify a user.
|
|
string |
Preferred username displayed in the UI. This field should not be used for unique user identification. Use
email field instead. |
|
string |
The access token returned from Starfleet.
|
|
string |
The ID token used in Starfleet for retrieving user’s information.
|
|
Date |
The access token expiration date in ISO format.
|
Errors#
Status |
Description |
---|---|
HTTP401 |
User is not authenticated. |
Installed apps and connectors#
Launcher classifies all installed apps and connectors as _components_
.
[GET] /components
#
Returns the list of all installed apps and connectors.
Method: GET
Content type: application/json
Response#
Returns a list with the following Component objects (?
means that the property is optional):
Property |
Type |
Description |
---|---|---|
|
string |
The unique component name.
|
|
string |
The full displayed component name.
|
|
string |
The latest version of this component available for download. Use
installedVersions to check installed versions. |
|
string |
The short name used in the side menu.
|
|
string |
Specifies the component kind:
apps or connectors . |
|
string |
The category used for grouping this component in the library.
|
|
_string?_ |
Represents the product area – one product area can include multiple components that can be installed separately. Displayed in the component card title.
|
|
InstalledVersions |
Lists versions of this component installed by the user.
|
|
string[] |
Paragraphs with component description, supports markdown and HTML.
|
|
string[] |
Represents OSs where this component can be installed.
|
|
Settings[] |
Represents settings used for installing this component.
|
|
_URL?_ |
The image displayed on the detailed page.
|
|
_URL?_ |
The image displayed on the card on the Exchange tab.
|
|
_URL?_ |
The icon displayed in the component card title.
|
|
string[] |
Tags shown below the component description.
|
|
boolean |
Defines if this component is shown in the featured section.
|
|
_URL?_ |
The image displayed in the featured section.
|
|
string[] |
Hyperlinks displayed in the library and in the component details.
|
Installed Versions#
Property |
Type |
Description |
---|---|---|
|
string[] |
All installed versions of this component.
|
|
string |
The current installed version that is used for launching the component.
|
|
string |
The latest version of this component installed by the user.
|
Settings#
Property |
Type |
Description |
---|---|---|
|
string |
The unique component name.
|
|
string |
The installed component version associated with these settings.
|
|
Package[] |
Thin packages used by this version.
|
|
string |
The path to the main package.
|
|
string |
The base path for the component that contains all packages.
|
|
boolean |
Defines whether this component should be displayed in the library.
|
|
boolean |
Defines whether this component supports side-by-side installations. If side-by-side installations are not supported, then Launcher removes all previous component versions on install.
|
|
boolean |
Specifies whether this component should be started automatically with Launcher.
|
|
_Script?_ |
The script used for launching the component.
|
|
_Script?_ |
The script used for opening
omniverse:// links. |
|
_Script?_ |
The script used before the installation starts.
|
|
_Script?_ |
The main script for installing the component.
|
|
_Script?_ |
The script used after the installation.
|
|
_Script?_ |
The script used when the user selects this component version.
|
|
_Script?_ |
The script used to clean up the system when uses selects another component version.
|
|
_Script?_ |
The script used after all previous versions of this component are unregistered and uninstalled from the system. Only runs if side-by-side installations are not supported.
|
|
_Script?_ |
The script used before the uninstall.
|
|
_Script?_ |
The main script for uninstalling the component.
|
|
_Script?_ |
The script used after the uninstall.
|
Script#
Property |
Type |
Description |
---|---|---|
|
string |
Path to the script.
|
|
string |
Defines where the component is installed.
|
|
_string[]?_ |
Specifies all command line arguments used for the script.
|
|
Map<string, string> |
Specifies all predefined environment variables used for the script.
|
Package#
Property |
Type |
Description |
---|---|---|
|
string |
The unique package name.
|
|
string |
The unsigned URL for downloading the package. Can’t be used directly, must be signed first.
|
|
string |
The package hash. Used to deduplicate installed packages.
|
|
_boolean?_ |
Specifies if this package is the main package of the component. Main packages contain launcher.toml files and installation scripts.
|
[GET] /components/:slug
#
Returns information about the installed component with the specified slug.
Method: GET
Content type: application/json
Response
Returns a Component
object. See details in Installed apps and connectors .
Errors#
Status |
Description |
---|---|
HTTP404 |
Component with the specified slug is not installed.
|