123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221 |
- {
- "info": {
- "_postman_id": "621f571e-a5df-442a-b3c9-c24d5d7032bd",
- "name": "K8S",
- "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
- "_exporter_id": "14945087"
- },
- "item": [
- {
- "name": "Platform Service (Nginx)",
- "item": [
- {
- "name": "Get all Platforms (Name & Id)",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "http://acme.com/api/c/platforms",
- "protocol": "http",
- "host": [
- "acme",
- "com"
- ],
- "path": [
- "api",
- "c",
- "platforms"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get all Platforms",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "http://acme.com/api/platforms",
- "protocol": "http",
- "host": [
- "acme",
- "com"
- ],
- "path": [
- "api",
- "platforms"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Create Platforms",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"name\": \"Beialoi\",\r\n \"Publlisher\": \"Beialoi\",\r\n \"cost\": \"Free\"\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "http://acme.com/api/platforms",
- "protocol": "http",
- "host": [
- "acme",
- "com"
- ],
- "path": [
- "api",
- "platforms"
- ]
- }
- },
- "response": []
- }
- ]
- },
- {
- "name": "Platform Service (Node Port)",
- "item": [
- {
- "name": "Get all Platforms",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "http://localhost:32632/api/platforms",
- "protocol": "http",
- "host": [
- "localhost"
- ],
- "port": "32632",
- "path": [
- "api",
- "platforms"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Create Platform",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"name\": \"Docker\",\r\n \"Publlisher\": \"Docker\",\r\n \"cost\": \"Free\"\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "http://localhost:32632/api/platforms",
- "protocol": "http",
- "host": [
- "localhost"
- ],
- "port": "32632",
- "path": [
- "api",
- "platforms"
- ]
- }
- },
- "response": []
- }
- ]
- },
- {
- "name": "Command Service (Nginx)",
- "item": [
- {
- "name": "Get ALL Platforms",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "http://acme.com/api/c/platforms",
- "protocol": "http",
- "host": [
- "acme",
- "com"
- ],
- "path": [
- "api",
- "c",
- "platforms"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Get ALL Commands fot Platforms",
- "request": {
- "method": "GET",
- "header": [],
- "url": {
- "raw": "http://acme.com/api/c/platforms/7/commands",
- "protocol": "http",
- "host": [
- "acme",
- "com"
- ],
- "path": [
- "api",
- "c",
- "platforms",
- "7",
- "commands"
- ]
- }
- },
- "response": []
- },
- {
- "name": "Create Command for Platform Copy",
- "request": {
- "method": "POST",
- "header": [],
- "body": {
- "mode": "raw",
- "raw": "{\r\n \"HowTo\" : \"Push a docker container to hub\" ,\r\n \"CommandLine\" : \"docker push <name of container>\"\r\n}",
- "options": {
- "raw": {
- "language": "json"
- }
- }
- },
- "url": {
- "raw": "http://acme.com/api/c/platforms/7/commands/",
- "protocol": "http",
- "host": [
- "acme",
- "com"
- ],
- "path": [
- "api",
- "c",
- "platforms",
- "7",
- "commands",
- ""
- ]
- }
- },
- "response": []
- }
- ]
- }
- ]
- }
|