Get Instance Environment Types

Use this API to fetch a list of environment types for an instance.

API

/cemli/v1/metadata/instance/types

Scope and AuthZ

  • You must have mcs:oci:api:User scope to access this API.
  • You can use CEMLI Metadata API only if your customer has opted-in for CEMLI functionality.

Headers

  • Authorization: Bearer <Token>

    Where <Token> is the OAUTH token returned by the Authorization Server (JWT Token).

  • Identifier: <JWKS Identifier>

    Where <JWKS Identifier> is the GUID generated when JWKS URI is set by customer admin in self-service platform.

Base Path

/cemli/v1/

Functionality

This API fetches a map of the environment lookup types as LOV to be used in creating or updating an instance, where key is the environment type and value is the description.

Verb

GET

Sample response

{
    "DEVELOPMENT": "Development environment",
    "PRODUCTION": "Production environment",
    "STAGE": "Stage environment",
    "TEST": "Test environment",
    "VISION": "Vision environment"
}