When dealing with applications, the PANTARIS_APPLICATION_ID typically remains constant across instances/versions or projects, while the instance ID changes with each version or when the application is hosted in different projects. However, we would like to confirm if it is possible to retrieve the instance ID and application name using the PANTARIS_APPLICATION_ID. Despite encountering issues with certain APIs that returned null values, we require assistance in locating an API or alternative method that allows us to retrieve the instance ID and application name based on the provided PANTARIS_APPLICATION_ID. Additionally, we are interested in exploring the feasibility of maintaining a static application URL across all projects. This would ensure consistent accessibility to the application regardless of the hosting project. We seek guidance and suggestions regarding this matter. Thank You!!
we would like to confirm if it is possible to retrieve the instance ID
just use the env PANTARIS_APPLICATION_INSTANCE_ID
. See the docs
and application name using the PANTARIS_APPLICATION_ID
you can fetch the name by the api using the id from the env
maintaining a static application URL across all projects
We host one instance per projects by default. See docs. You might want to switch to organization-level depending on your usecase. Then its one instance per organization. Obviously each instances has it’s own URL.
1 Like