service-2.yaml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. ---
  2. version: '2.0'
  3. metadata:
  4. apiVersion: '2016-09-19'
  5. endpointPrefix: offline
  6. jsonVersion: '1.1'
  7. serviceFullName: KSC OFFLINE Service
  8. signatureVersion: v4
  9. targetPrefix: offline
  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: GetPresetListInstance
  34. GetPresetDetail:
  35. name: GetPresetDetail
  36. http:
  37. method: GET
  38. requestUri: /
  39. input:
  40. shape: PresetInstance
  41. CreateTask:
  42. name: CreateTask
  43. http:
  44. method: POST
  45. DelTaskByTaskID:
  46. name: DelTaskByTaskID
  47. http:
  48. method: GET
  49. requestUri: /
  50. input:
  51. shape: TaskIDInstance
  52. TopTaskByTaskID:
  53. name: TopTaskByTaskID
  54. http:
  55. method: GET
  56. requestUri: /
  57. input:
  58. shape: TaskIDInstance
  59. GetTaskList:
  60. name: GetTaskList
  61. http:
  62. method: GET
  63. requestUri: /
  64. input:
  65. shape: GetTaskListInstance
  66. GetTaskByTaskID:
  67. name: GetTaskByTaskID
  68. http:
  69. method: GET
  70. requestUri: /
  71. input:
  72. shape: TaskIDInstance
  73. GetTaskMetaInfo:
  74. name: GetTaskMetaInfo
  75. http:
  76. method: GET
  77. requestUri: /
  78. input:
  79. shape: GetTaskByTaskIDInstance
  80. shapes:
  81. Preset:
  82. type: string
  83. WithDetail:
  84. type: integer
  85. TaskID:
  86. type: string
  87. min: 35
  88. max: 45
  89. PresetType:
  90. type: string
  91. Presets:
  92. type: string
  93. StartDate:
  94. type: integer
  95. EndDate:
  96. type: integer
  97. Marker:
  98. type: integer
  99. Limit:
  100. type: integer
  101. PresetInstance:
  102. type: structure
  103. members:
  104. preset:
  105. shape: Preset
  106. GetPresetListInstance:
  107. type: structure
  108. members:
  109. withDetail:
  110. shape: WithDetail
  111. presettype:
  112. shape: PresetType
  113. presets:
  114. shape: Presets
  115. TaskIDInstance:
  116. type: structure
  117. members:
  118. taskid:
  119. shape: TaskID
  120. GetTaskListInstance:
  121. type: structure
  122. members:
  123. startdate:
  124. shape: StartDate
  125. enddate:
  126. shape: EndDate
  127. marker:
  128. shape: Marker
  129. limit:
  130. shape: Limit
  131. GetTaskByTaskIDInstance:
  132. type: structure
  133. members:
  134. taskid:
  135. shape: TaskID
  136. startdate:
  137. shape: StartDate
  138. enddate:
  139. shape: EndDate
  140. marker:
  141. shape: Marker
  142. limit:
  143. shape: Limit