service-2.yaml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. ---
  2. version: '2.1'
  3. metadata:
  4. # Version
  5. apiVersion: '2018-01-01'
  6. endpointPrefix: cdn
  7. globalEndpoint: cdn.api.ksyun.com
  8. jsonVersion: '1.1'
  9. serviceFullName: cdn Service
  10. signatureVersion: v4
  11. targetPrefix: cdnv2
  12. protocol: query-json
  13. documentation: ''
  14. operations:
  15. AddCdnDomain:
  16. name: AddCdnDomain
  17. protocol: json
  18. http:
  19. method: POST
  20. requestUri: /2016-09-01/domain/AddCdnDomain
  21. input:
  22. shape: AddCdnDomainRequest
  23. output:
  24. shape: AddCdnDomainResponse
  25. #####################################
  26. shapes:
  27. String:
  28. type: string
  29. Bool:
  30. type: bool
  31. Integer:
  32. type: integer
  33. Long:
  34. type: long
  35. DataTime:
  36. type: timestamp
  37. Double:
  38. type: double
  39. Empty:
  40. type: structure
  41. members: {}
  42. documentation: ""
  43. NonEmptyString:
  44. type: string
  45. min: 1
  46. Message:
  47. type: string
  48. InstanceId:
  49. type: structure
  50. required:
  51. - id
  52. members:
  53. id:
  54. shape: Id
  55. Domain:
  56. type: structure
  57. members:
  58. DomainName:
  59. shape: String
  60. DomainId:
  61. shape: String
  62. Cname:
  63. shape: String
  64. CdnType:
  65. shape: String
  66. CdnSubType:
  67. shape: String
  68. IcpRegistration:
  69. shape: String
  70. DomainStatus:
  71. shape: String
  72. CreatedTime:
  73. shape: String
  74. ModifiedTime:
  75. shape: String
  76. Description:
  77. shape: String
  78. AddCdnDomainRequest:
  79. type: structure
  80. required:
  81. - DomainName
  82. - CdnType
  83. - CdnProtocol
  84. - OriginType
  85. - OriginProtocol
  86. - Origin
  87. members:
  88. DomainName:
  89. shape: String
  90. CdnType:
  91. shape: String
  92. CdnSubType:
  93. shape: String
  94. ProjectId:
  95. shape: String
  96. CdnProtocol:
  97. shape: String
  98. BillingRegions:
  99. shape: String
  100. OriginType:
  101. shape: String
  102. OriginProtocol:
  103. shape: String
  104. OriginPort:
  105. shape: Integer
  106. Origin:
  107. shape: String
  108. SearchUrl:
  109. shape: String
  110. AddCdnDomainResponse:
  111. type: structure
  112. members:
  113. DomainId:
  114. shape: String
  115. DomainStatus:
  116. shape: String