service-2.yaml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. ---
  2. version: '1.0'
  3. metadata:
  4. apiVersion: '2017-01-01'
  5. endpointPrefix: kls
  6. jsonVersion: '1.1'
  7. serviceFullName: KSC KLS Service
  8. signatureVersion: v4
  9. targetPrefix: kls
  10. protocol: json2
  11. operations:
  12. ForbidStream:
  13. name: ForbidStream
  14. http:
  15. method: POST
  16. ResumeStream:
  17. name: ResumeStream
  18. http:
  19. method: POST
  20. GetBlacklist:
  21. name: GetBlacklist
  22. http:
  23. method: GET
  24. requestUri: /
  25. input:
  26. shape: GetBlacklistInstance
  27. CheckBlacklist:
  28. name: CheckBlacklist
  29. http:
  30. method: GET
  31. requestUri: /
  32. input:
  33. shape: CheckBlacklistInstance
  34. ListRealtimePubStreamsInfo:
  35. name: ListRealtimePubStreamsInfo
  36. http:
  37. method: GET
  38. requestUri: /
  39. input:
  40. shape: ListRealtimePubStreamsInfoInstance
  41. ListHistoryPubStreamsInfo:
  42. name: ListHistoryPubStreamsInfo
  43. http:
  44. method: GET
  45. requestUri: /
  46. input:
  47. shape: ListHistoryPubStreamsInfoInstance
  48. ListHistoryPubStreamsErrInfo:
  49. name: ListHistoryPubStreamsErrInfo
  50. http:
  51. method: GET
  52. requestUri: /
  53. input:
  54. shape: ListHistoryPubStreamsErrInfoInstance
  55. ListStreamDurations:
  56. name: ListStreamDurations
  57. http:
  58. method: GET
  59. requestUri: /
  60. input:
  61. shape: ListStreamDurationsInstance
  62. CreateRecordTask:
  63. name: CreateRecordTask
  64. http:
  65. method: POST
  66. CancelRecordTask:
  67. name: CancelRecordTask
  68. http:
  69. method: POST
  70. StartStreamRecord:
  71. name: StartStreamRecord
  72. http:
  73. method: POST
  74. StopStreamRecord:
  75. name: StopStreamRecord
  76. http:
  77. method: POST
  78. ListRecordingTasks:
  79. name: ListRecordingTasks
  80. http:
  81. method: GET
  82. requestUri: /
  83. input:
  84. shape: ListRecordingTasksInstance
  85. ListHistoryRecordTasks:
  86. name: ListHistoryRecordTasks
  87. http:
  88. method: GET
  89. requestUri: /
  90. input:
  91. shape: ListHistoryRecordTasksInstance
  92. GetRecordTask:
  93. name: GetRecordTask
  94. http:
  95. method: GET
  96. requestUri: /
  97. input:
  98. shape: GetRecordTaskIsnstance
  99. KillStreamCache:
  100. name: KillStreamCache
  101. http:
  102. method: POST
  103. ListRealtimeStreamsInfo:
  104. name: ListRealtimeStreamsInfo
  105. http:
  106. method: POST
  107. shapes:
  108. UniqueName:
  109. type: string
  110. App:
  111. type: string
  112. Pubdomain:
  113. type: string
  114. Stream:
  115. type: string
  116. OrderTime:
  117. type: integer
  118. Marker:
  119. type: integer
  120. Limit:
  121. type: integer
  122. Marker:
  123. type: integer
  124. Limit:
  125. type: integer
  126. StartUnixTime:
  127. type: integer
  128. EndUnixTime:
  129. type: integer
  130. RecType:
  131. type: integer
  132. RecStatusType:
  133. type: integer
  134. GetBlacklistInstance:
  135. type: structure
  136. members:
  137. UniqueName:
  138. shape: UniqueName
  139. App:
  140. shape: App
  141. Pubdomain:
  142. shape: Pubdomain
  143. CheckBlacklistInstance:
  144. type: structure
  145. members:
  146. UniqueName:
  147. shape: UniqueName
  148. App:
  149. shape: App
  150. Pubdomain:
  151. shape: Pubdomain
  152. Stream:
  153. shape: Stream
  154. ListRealtimePubStreamsInfoInstance:
  155. type: structure
  156. members:
  157. UniqueName:
  158. shape: UniqueName
  159. App:
  160. shape: App
  161. Pubdomain:
  162. shape: Pubdomain
  163. Stream:
  164. shape: Stream
  165. OrderTime:
  166. shape: OrderTime
  167. Marker:
  168. shape: Marker
  169. Limit:
  170. shape: Limit
  171. ListHistoryPubStreamsInfoInstance:
  172. type: structure
  173. members:
  174. UniqueName:
  175. shape: UniqueName
  176. App:
  177. shape: App
  178. Pubdomain:
  179. shape: Pubdomain
  180. Stream:
  181. shape: Stream
  182. OrderTime:
  183. shape: OrderTime
  184. Marker:
  185. shape: Marker
  186. Limit:
  187. shape: Limit
  188. StartUnixTime:
  189. shape: StartUnixTime
  190. EndUnixTime:
  191. shape: EndUnixTime
  192. ListHistoryPubStreamsErrInfoInstance:
  193. type: structure
  194. members:
  195. UniqueName:
  196. shape: UniqueName
  197. App:
  198. shape: App
  199. Pubdomain:
  200. shape: Pubdomain
  201. Stream:
  202. shape: Stream
  203. OrderTime:
  204. shape: OrderTime
  205. Marker:
  206. shape: Marker
  207. Limit:
  208. shape: Limit
  209. StartUnixTime:
  210. shape: StartUnixTime
  211. EndUnixTime:
  212. shape: EndUnixTime
  213. ListStreamDurationsInstance:
  214. type: structure
  215. members:
  216. UniqueName:
  217. shape: UniqueName
  218. App:
  219. shape: App
  220. Pubdomain:
  221. shape: Pubdomain
  222. Stream:
  223. shape: Stream
  224. StartUnixTime:
  225. shape: StartUnixTime
  226. EndUnixTime:
  227. shape: EndUnixTime
  228. ListRecordingTasksInstance:
  229. type: structure
  230. members:
  231. UniqueName:
  232. shape: UniqueName
  233. App:
  234. shape: App
  235. Pubdomain:
  236. shape: Pubdomain
  237. Stream:
  238. shape: Stream
  239. RecType:
  240. shape: RecType
  241. OrderTime:
  242. shape: OrderTime
  243. Marker:
  244. shape: Marker
  245. Limit:
  246. shape: Limit
  247. RecStatusType:
  248. shape: RecStatusType
  249. ListHistoryRecordTasksInstance:
  250. type: structure
  251. members:
  252. UniqueName:
  253. shape: UniqueName
  254. App:
  255. shape: App
  256. Pubdomain:
  257. shape: Pubdomain
  258. Stream:
  259. shape: Stream
  260. RecType:
  261. shape: RecType
  262. StartUnixTime:
  263. shape: StartUnixTime
  264. EndUnixTime:
  265. shape: EndUnixTime
  266. OrderTime:
  267. shape: OrderTime
  268. Marker:
  269. shape: Marker
  270. Limit:
  271. shape: Limit