All Products
Search
Document Center

API Gateway:HttpApiApiInfo

Last Updated:Dec 25, 2025
ParameterTypeDescriptionExample
object

The API information.

httpApiIdstring

The HTTP API ID.

api-xxx
namestring

The API name.

test
protocolsarray

The protocols.

string

The protocol.

Valid values:

  • HTTPS
  • HTTP
HTTP
basePathstring

The base path of the API.

/v1
descriptionstring

The API description.

for test only
versionInfoHttpApiVersionInfo

The API versioning information.

environmentsarray<object>

The API environment information.

object

The information about an environment.

environmentIdstring

The environment ID.

env-xxx
backendScenestring

The publishing scenario.

Valid values:

  • SingleService
  • MultiServiceByRatio
  • MultiServiceByContent
  • MultiServiceByTag
  • Mock
SingleService
backendTypestring

The type of the backend service.

Valid values:

  • DNS: a DNS domain name
  • Service: an existing service
  • VIP: a fixed IP address
  • CloudProduct: a cloud service
Service
serviceConfigsarray<object>

The configurations of an existing service.

object
gatewayServiceIdstring

The service ID.

gs-xxx
namestring

The service name.

demo-service
protocolstring

The protocol.

HTTP
portstring

The service port.

8080
weightinteger

The service weight.

100
versionstring

The service version.

v1
matchHttpApiBackendMatchConditions

The matching conditions.

serviceIdstring

The service ID.

svc-xxx
customDomainsarray

The custom domain names.

HttpApiDomainInfo

The domain name information.

namestring

The environment name.

test
aliasstring

The environment alias.

test
gatewayInfoobject

The information about the gateway instance to which the environment belongs.

gatewayIdstring

The instance ID.

gw-xxx
namestring

The instance name.

test
deployStatusstring

The publishing status of the API in the current environment.

Deployed
subDomainsarray<object>

The default domain names of the environment.

object
domainIdstring

The domain name ID.

d-xxx
namestring

The domain name.

www.example.com
protocolstring

The communication protocol.

HTTP
networkTypestring

The network type.

Internet
ingressInfoobject

The information about the HTTP Ingress API.

sourceIdstring

The source ID.

src-xxx
ingressClassstring

The Ingress Class for listening.

mse
watchNamespacestring

The namespace for listening.

default
environmentInfoobject

The environment information.

environmentIdstring

The environment ID.

env-xxx
k8sClusterInfoobject

The information about the Kubernetes cluster.

clusterIdstring

The cluster ID.

ca435c77cba1547cca9311957bcxxxxxx
overrideIngressIpboolean

Specifies whether to update the address in Ingress Status.

true
typestring

The API type.

Valid values:

  • HttpIngress
  • Rest
  • Websocket
  • AI
  • Http
Rest
resourceGroupIdstring

The resource group ID.

rg-xxx
aiProtocolsarray

The AI protocols.

string

The AI protocol.

Valid values:

  • OpenAI/v1
OpenAI/v1
deployConfigsarray

The API deployment configurations.

HttpApiDeployConfig

The API deployment configuration.

enabelAuthboolean

Specifies whether to enable authentication.

authConfigAuthConfig

The authentication configurations.