Local.postman_collection.json 3.9 KB

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