On this page

SHOW API ENVIRONMENTS

Core command SHAPENV ALL ENVT ALL ENV

Lists the environments of one API: ID, name and base URL.

Syntax

SHOW API ENVIRONMENTS <api>

Arguments

ArgumentRequiredValuesDefault
<api>YesThe ID of an API, as SHOW ALL APIS lists itNone

Examples

SHOW API ENVIRONMENTS DEMO;

Details

The environments are the contexts, such as Development, Staging or Production, that CONNECT API selects for RUN. The table shows ID, NAME and BASE URL only: never a variable, so never a secret. To use one, run CONNECT API <api>:<environment>, then RUN <url>. SHOW API ENVIRONMENT shows one environment in detail, its variables included.

Last modified in release 5.5.0.

Found something wrong or unclear on this page? , with the page address.