enum class APIEnvironment
(source)
Describes available API environments. In some cases, you may want to test systems against bleeding-edge or beta versions of Bloombox services. Use 'STAGING' to test against the beta environment. 'SANDBOX' is reserved for internal use only and refuses non-internal traffic. Note that this value describes the data namespace in use for a given API client, not the systems the traffic is sent to.
Production API namespace. Default. |
|
Staging or beta API namespace. |
|
Sandbox namespace, for internal use only. |
val code: String
Fetch the region code for a given region. This is basically the name of the environment, but in lowercase, except for one exception: "production" has the code, "prod." |