允许定义第一方网域,以便 Pixel 像素代码与网关通信。点击此处了解更多详细信息。
POST https://{capig_domain}/capig/graphql/ _________________________________________________________________________________________________________________ mutation IngressEditingModalMutation( $tenantId: ID! $input: IngressDomainInput ) { tenantMutations(tenantId: $tenantId) { upsertIngressDomain(input: $input) { id ingress cnameResolveSuccess tenantName enhancementTenantIngressVerifiedResult { id tenantIngressVerified } } } } _________________________________________________________________________________________________________ tenantId: ID! _______________________________________________________________________________________________________ input IngressDomainInput { ingress: String! targetDomain: String! }
字段 | 描述 |
---|---|
| 必要 账户的唯一标识符 |
IngressDomainInput
字段 | 描述 |
---|---|
| 必要 需更新的新子域 |
| 必要 合作伙伴网关网域 |
字段 | 描述 |
---|---|
| 入口网域对象 |
代码 | 描述 |
---|---|
401 | 未获授权,无法升级入口网域 |
500 | 内部服务器错误 |
更改
mutation IngressEditingModalMutation( $tenantId: ID! $input: IngressDomainInput ) { tenantMutations(tenantId: $tenantId) { upsertIngressDomain(input: $input) { id ingress cnameResolveSuccess enhancementTenantIngressVerifiedResult { id tenantIngressVerified } } } }
变量
{ "tenantId": "IaoreXfj", "input": { "ingress": "capig.advertiser.com", "targetDomain": "capig.targetDomain.com" } }
{ "data": { "tenantMutations": { "upsertIngressDomain": { "id": "IaoreXfj:ingress", "ingress": "capig.advertiser.com", "cnameResolveSuccess": true, "enhancementTenantIngressVerifiedResult": { "id": "IaoreXfj:tenantIngressVerified", "tenantIngressVerified": true } } }