全部產品
Search
文件中心

API Gateway:HttpApiPublishRevisionInfo

更新時間:Mar 30, 2026

名稱

類型

描述

樣本值

object

HTTP API 發布版本資訊

revisionId

string

API 發布的版本號碼。

apr-xxx

environmentInfo

object

環境資訊。

env-xxx

environmentId

string

環境 ID。

env-xxx

name

string

環境名。

test

alias

string

環境別名。

測試

gatewayInfo

object

網關執行個體資訊。

gatewayId

string

網關 ID。

gw-xxx

name

string

網關名。

執行個體1

subDomains

array

環境預設網域名稱列表。

env-xxx.com

HttpApiDomainInfo

環境預設網域名稱資訊。

customDomains

array

使用者網域名稱列表。

HttpApiDomainInfo

使用者網域名稱資訊。

backendScene

string

API 發布情境。

SingleService

backendType

string

後端類型。

Service

serviceConfigs

array

已有服務配置,單服務情境下僅允許配置一個條目,按比例、按內容、按標籤情境下允許配置多個條目。

object

gatewayServiceId

string

服務 ID。

gs-xxx

port

integer

服務連接埠。

8080

protocol

string

服務合約。

HTTP

weight

integer

權重。

100

version

string

服務版本。

v1

match HttpApiBackendMatchConditions

匹配條件。

dnsConfigs

array

DNS 網域名稱配置,單服務情境下僅允許配置一個條目,按比例、按內容情境下允許配置多個條目。

object

單個 DNS 網域名稱配置。

dns

dnsList

array

DNS 網域名稱列表。

string

單個 DNS 網域名稱配置,格式為網域名稱:連接埠。

www.example.com:80

weight

integer

權重,範圍[1,100],僅在按比例情境下有效。

100

match HttpApiBackendMatchConditions

匹配條件,僅在按內容情境下有效。

vipConfigs

array

固定地址配置,單服務情境下僅允許配置一個條目,按比例、按內容情境下允許配置多個條目。

object

固定地址配置。

fixedEndpoint

endpoints

array

固定地址清單。

string

單個地址配置,格式 IP:PORT。

192.168.1.100:8080

weight

integer

權重,範圍[1,100],僅在按比例情境下有效。

100

match HttpApiBackendMatchConditions

匹配條件,僅在按內容情境下有效。

cloudProductConfig

object

雲產品配置。

cloudProductType

string

雲產品類型。

FC

functionConfigs

array

FC 配置。

object

name

string

函數名。

demo-function

qualifier

string

函數版本或別名。

LATEST

gatewayServiceId

string

關聯的服務 ID。

gs-xxx

weight

integer

服務權重。

100

match HttpApiBackendMatchConditions

匹配條件。

containerServiceConfigs

array

Container Service配置。

object

gatewayServiceId

string

關聯的服務 ID。

gs-xxx

name

string

k8s service 名稱。

demo-service

namespace

string

k8s service 命名空間。

default

protocol

string

服務合約。

HTTP

weight

string

服務權重。

100

match HttpApiBackendMatchConditions

匹配條件。

port

integer

服務連接埠。

8080

mseNacosConfigs

array

MSE Nacos 配置

object

gatewayServiceId

string

關聯的服務 ID。

gs-xxx

name

string

Nacos 服務名。

spring-demo

namespace

string

Nacos 命名空間。

public

groupName

string

服務分組。

DEFAULT_GROUP

weight

integer

服務權重。

100

match HttpApiBackendMatchConditions

匹配條件。

operations

array

介面列表。

HttpApiOperationInfo

介面資訊。

createTimestamp

integer

發布時間戳記。

1718807057927

isCurrentVersion

boolean

是否目前的版本

true