SHOW API ENVIRONMENT
Always scoped to the active CONNECT API session's API. With no argument, shows the session's own connected environment; with an environment name, shows that named environment of the same API instead. This is a runtime/session-scoped read only: it does not depend on, and this sprint does not introduce, any persisted 'current environment' concept; CONNECT API remains the sole source of which environment is active. Shows enough information to diagnose ${name}/{{name}}/:name variable substitution: id, name, base URL, and every variable (name, value, enabled/disabled) with a secret value masked, never shown in full.
Arguments
<environment-name> (optional, defaults to the active CONNECT API session's own environment)
Examples
SHOW API ENVIRONMENT;
SHOW API ENVIRONMENT PROD;
Notes
SHOW API ENVIRONMENT [<environment-name>];: SPRINT XT02B, section 11, the single-object detail view of one environment (id, name, base URL, and its variables), companion to the existing SHOW API ENVIRONMENTS <apiId> listing. Always scoped to the active CONNECT API session's API, deliberately a runtime/session-scoped read only, since this sprint does not introduce any persisted "current environment" concept: with no argument, shows the session's own connected environment; with an argument, shows the named environment of that same API.
A variable flagged isSecret() is masked, the same established convention SHOW ENDPOINT/JApiAttributeTablePanel already use: enough information to diagnose substitutions without ever printing a secret's real value.
Last modified in release 5.2.6.
BroadSQL