K8S.postman_collection.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. {
  2. "info": {
  3. "_postman_id": "621f571e-a5df-442a-b3c9-c24d5d7032bd",
  4. "name": "K8S",
  5. "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
  6. "_exporter_id": "14945087"
  7. },
  8. "item": [
  9. {
  10. "name": "Platform Service (Nginx)",
  11. "item": [
  12. {
  13. "name": "Get all Platforms (Name & Id)",
  14. "request": {
  15. "method": "GET",
  16. "header": [],
  17. "url": {
  18. "raw": "http://acme.com/api/c/platforms",
  19. "protocol": "http",
  20. "host": [
  21. "acme",
  22. "com"
  23. ],
  24. "path": [
  25. "api",
  26. "c",
  27. "platforms"
  28. ]
  29. }
  30. },
  31. "response": []
  32. },
  33. {
  34. "name": "Get all Platforms",
  35. "request": {
  36. "method": "GET",
  37. "header": [],
  38. "url": {
  39. "raw": "http://acme.com/api/platforms",
  40. "protocol": "http",
  41. "host": [
  42. "acme",
  43. "com"
  44. ],
  45. "path": [
  46. "api",
  47. "platforms"
  48. ]
  49. }
  50. },
  51. "response": []
  52. },
  53. {
  54. "name": "Create Platforms",
  55. "request": {
  56. "method": "POST",
  57. "header": [],
  58. "body": {
  59. "mode": "raw",
  60. "raw": "{\r\n \"name\": \"Beialoi\",\r\n \"Publlisher\": \"Beialoi\",\r\n \"cost\": \"Free\"\r\n}",
  61. "options": {
  62. "raw": {
  63. "language": "json"
  64. }
  65. }
  66. },
  67. "url": {
  68. "raw": "http://acme.com/api/platforms",
  69. "protocol": "http",
  70. "host": [
  71. "acme",
  72. "com"
  73. ],
  74. "path": [
  75. "api",
  76. "platforms"
  77. ]
  78. }
  79. },
  80. "response": []
  81. }
  82. ]
  83. },
  84. {
  85. "name": "Platform Service (Node Port)",
  86. "item": [
  87. {
  88. "name": "Get all Platforms",
  89. "request": {
  90. "method": "GET",
  91. "header": [],
  92. "url": {
  93. "raw": "http://localhost:32632/api/platforms",
  94. "protocol": "http",
  95. "host": [
  96. "localhost"
  97. ],
  98. "port": "32632",
  99. "path": [
  100. "api",
  101. "platforms"
  102. ]
  103. }
  104. },
  105. "response": []
  106. },
  107. {
  108. "name": "Create Platform",
  109. "request": {
  110. "method": "POST",
  111. "header": [],
  112. "body": {
  113. "mode": "raw",
  114. "raw": "{\r\n \"name\": \"Docker\",\r\n \"Publlisher\": \"Docker\",\r\n \"cost\": \"Free\"\r\n}",
  115. "options": {
  116. "raw": {
  117. "language": "json"
  118. }
  119. }
  120. },
  121. "url": {
  122. "raw": "http://localhost:32632/api/platforms",
  123. "protocol": "http",
  124. "host": [
  125. "localhost"
  126. ],
  127. "port": "32632",
  128. "path": [
  129. "api",
  130. "platforms"
  131. ]
  132. }
  133. },
  134. "response": []
  135. }
  136. ]
  137. },
  138. {
  139. "name": "Command Service (Nginx)",
  140. "item": [
  141. {
  142. "name": "Get ALL Platforms",
  143. "request": {
  144. "method": "GET",
  145. "header": [],
  146. "url": {
  147. "raw": "http://acme.com/api/c/platforms",
  148. "protocol": "http",
  149. "host": [
  150. "acme",
  151. "com"
  152. ],
  153. "path": [
  154. "api",
  155. "c",
  156. "platforms"
  157. ]
  158. }
  159. },
  160. "response": []
  161. },
  162. {
  163. "name": "Get ALL Commands fot Platforms",
  164. "request": {
  165. "method": "GET",
  166. "header": [],
  167. "url": {
  168. "raw": "http://acme.com/api/c/platforms/7/commands",
  169. "protocol": "http",
  170. "host": [
  171. "acme",
  172. "com"
  173. ],
  174. "path": [
  175. "api",
  176. "c",
  177. "platforms",
  178. "7",
  179. "commands"
  180. ]
  181. }
  182. },
  183. "response": []
  184. },
  185. {
  186. "name": "Create Command for Platform Copy",
  187. "request": {
  188. "method": "POST",
  189. "header": [],
  190. "body": {
  191. "mode": "raw",
  192. "raw": "{\r\n \"HowTo\" : \"Push a docker container to hub\" ,\r\n \"CommandLine\" : \"docker push <name of container>\"\r\n}",
  193. "options": {
  194. "raw": {
  195. "language": "json"
  196. }
  197. }
  198. },
  199. "url": {
  200. "raw": "http://acme.com/api/c/platforms/7/commands/",
  201. "protocol": "http",
  202. "host": [
  203. "acme",
  204. "com"
  205. ],
  206. "path": [
  207. "api",
  208. "c",
  209. "platforms",
  210. "7",
  211. "commands",
  212. ""
  213. ]
  214. }
  215. },
  216. "response": []
  217. }
  218. ]
  219. }
  220. ]
  221. }