跳转至

海外ACDN 分发配置

GET 获取分发配置信息

GET /prod-api/prod-api/acdn/cloudfrontRest/getDistributionSetting/{distributionId}

请求参数

名称 位置 类型 必选 说明
distributionId path integer distributionId:分配ID
Authorization header string none

返回示例

200 Response

{
  "msg": "操作成功",
  "code": 200,
  "data": {
    "distributionInfo": {
      "lastTime": "2024-01-04 16:13:40",
      "distributionDomainName": "demot.net",
      "id": "123456",
      "arn": "arn:aws:cloudfront::614578954:distribution/123456"
    },
    "distributionSetting": {
      "bucket": "cloudfront-cn.s3.amazonaws.com",
      "isCookie": false,
      "priceClass": "PriceClass_All",
      "isIpV6": true,
      "cName": {
        "quantity": 1,
        "items": [
          "boomboy-cdn-kr.g3kbb.xyz"
        ]
      },
      "sslCertificateId": "arn:aws:123456:certificate/b9b33a15-69d9-43af-bbaf-062338d6eb85",
      "comment": "三国吧兄弟-日韩",
      "defaultRootObject": "",
      "protocolVersionType": "TLSv1.2_2021",
      "isLogging": true,
      "webACLId": "",
      "isHttpVersion": "http2"
    }
  }
}

401 Response

{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK none Inline
401 Unauthorized none Inline
403 Forbidden none Inline
404 Not Found none Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文名 说明
» msg string true none none
» code integer true none none
» data object true none none
»» distributionInfo object true none none
»»» lastTime string true none 次修改时间 none
»»» distributionDomainName string true none 分配域名 none
»»» id string true none none
»»» arn string true none ARN none
»» distributionSetting object true none none
»»» bucket string true none none
»»» isCookie boolean true none isCookie none
»»» priceClass string true none 价格级别 none
»»» isIpV6 boolean true none IPv6 none
»»» cName object true none cName none
»»»» quantity integer true none none
»»»» items [string] true none none
»»» sslCertificateId string true none SSL证书 none
»»» comment string true none 说明 none
»»» defaultRootObject string true none 默认根对象 none
»»» protocolVersionType string true none 安全策略 TLSv1.2_2021:表示TLSv1.2_2021 (推荐)
TLSv1.2_2019:表示TLSv1.2_2019
TLSv1.2_2018:表示TLSv1.2_2018
TLSv1.1_2016:表示TLSv1.1_2016
TLSv1_2016:表示TLSv1_2016
TLSv1:表示TLSv1
»»» isLogging boolean true none 标准日志记录 none
»»» webACLId string true none webACLId none
»»» isHttpVersion string true none HTTP 版本 none

数据模型