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
| Argument | Required | Values | Default |
|---|---|---|---|
<api> | Yes | The ID of an API, as SHOW ALL APIS lists it | None |
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.
Related
- SHOW API ENVIRONMENT, one environment in detail
- CONNECT, with
API - SHOW ALL APIS
Last modified in release 5.5.0.
Found something wrong or unclear on this page? Tell us, with the page address.