API – Stage Handling [ENT 20.2 OG]
The ConfigPortal API resources offer two options with regards to handling Stages.
With a Query Parameter
- Can be used to address the data of a specific Stage that needs to be defined as a query parameter in the API call
Without a Query Parameter
- Making an API call to the ConfigPortal API without a defined Stage the ConfigPortal API will respond only with the data of the active/connected Stage.
The goal is that consumers of the ConfigPortal API do not know about the Stages and just get back the data for the infrastructure they are installed in. For more details on the concept of Staging please see Key Concepts and Benefits of Staging: GIT.