service-2.yaml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. ---
  2. version: '2.0'
  3. metadata:
  4. apiVersion: '2017-01-01'
  5. endpointPrefix: ket
  6. jsonVersion: '1.1'
  7. serviceFullName: KSC OFFLINE Service
  8. signatureVersion: v4
  9. targetPrefix: ket
  10. protocol: json2
  11. operations:
  12. Preset:
  13. name: Preset
  14. http:
  15. method: POST
  16. UpdatePreset:
  17. name: UpdatePreset
  18. http:
  19. method: POST
  20. DelPreset:
  21. name: DelPreset
  22. http:
  23. method: GET
  24. requestUri: /
  25. input:
  26. shape: PresetInstance
  27. GetPresetList:
  28. name: GetPresetList
  29. http:
  30. method: GET
  31. requestUri: /
  32. input:
  33. shape: UserInstance
  34. GetPresetDetail:
  35. name: GetPresetDetail
  36. http:
  37. method: GET
  38. requestUri: /
  39. input:
  40. shape: PresetInstance
  41. StartStreamPull:
  42. name: StartStreamPull
  43. http:
  44. method: POST
  45. StopStreamPull:
  46. name: StopStreamPull
  47. http:
  48. method: POST
  49. GetStreamTranList:
  50. name: GetStreamTranList
  51. http:
  52. method: GET
  53. requestUri: /
  54. input:
  55. shape: StreamTranInstance
  56. GetQuotaUsed:
  57. name: GetQuotaUsed
  58. http:
  59. method: GET
  60. requestUri: /
  61. input:
  62. shape: UniqNameInstance
  63. StartLoop:
  64. name: StartLoop
  65. http:
  66. method: POST
  67. StopLoop:
  68. name: StopLoop
  69. http:
  70. method: POST
  71. UpdateLoop:
  72. name: UpdateLoop
  73. http:
  74. method: POST
  75. GetLoopList:
  76. name: GetLoopList
  77. http:
  78. method: GET
  79. GetLiveTransDuration:
  80. name: GetLiveTransDuration
  81. http:
  82. method: GET
  83. CreateDirectorTask:
  84. name: CreateDirectorTask
  85. http:
  86. method: POST
  87. UpdateDirectorTask:
  88. name: UpdateDirectorTask
  89. http:
  90. method: POST
  91. DelDirectorTask:
  92. name: DelDirectorTask
  93. http:
  94. method: GET
  95. QueryDirectorTask:
  96. name: QueryDirectorTask
  97. http:
  98. method: GET
  99. shapes:
  100. App:
  101. type: string
  102. UniqName:
  103. type: string
  104. Preset:
  105. type: string
  106. StreamID:
  107. type: string
  108. OutPull:
  109. type: integer
  110. UniqNameInstance:
  111. type: structure
  112. members:
  113. UniqName:
  114. shape: UniqName
  115. PresetInstance:
  116. type: structure
  117. members:
  118. App:
  119. shape: App
  120. UniqName:
  121. shape: UniqName
  122. Preset:
  123. shape: Preset
  124. UserInstance:
  125. type: structure
  126. members:
  127. App:
  128. shape: App
  129. UniqName:
  130. shape: UniqName
  131. StreamTranInstance:
  132. type: structure
  133. members:
  134. App:
  135. shape: App
  136. UniqName:
  137. shape: UniqName
  138. StreamID:
  139. shape: StreamID
  140. OutPull:
  141. shape: OutPull