878 lines
18 KiB
JSON
878 lines
18 KiB
JSON
{
|
|
"info": {
|
|
"_postman_id": "3bf6d521-6003-49a8-902c-f8f7c190610d",
|
|
"name": "inventory",
|
|
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
|
|
},
|
|
"item": [
|
|
{
|
|
"name": "delete inventory Copy",
|
|
"event": [
|
|
{
|
|
"listen": "test",
|
|
"script": {
|
|
"id": "4fecac5d-bd31-49df-bdab-d56b1a4cfb65",
|
|
"type": "text/javascript",
|
|
"exec": [
|
|
"// postman.clearEnvironmentVariable(\"inv\");",
|
|
"",
|
|
"tests[\"status code is 200\"] == responseCode.code === 200;",
|
|
"var jsonData = JSON.parse(responseBody);",
|
|
"tests['json'] = jsonData[\"status\"] == \"DELETE\"; jsonData[\"details\"] == \"inventory\";"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"request": {
|
|
"method": "DELETE",
|
|
"header": [
|
|
{
|
|
"key": "X-Auth-Token",
|
|
"value": "{{token}}"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": ""
|
|
},
|
|
"url": {
|
|
"raw": "http://127.0.0.1:8000/api/inventory/{{inv}}",
|
|
"protocol": "http",
|
|
"host": [
|
|
"127",
|
|
"0",
|
|
"0",
|
|
"1"
|
|
],
|
|
"port": "8000",
|
|
"path": [
|
|
"api",
|
|
"inventory",
|
|
"{{inv}}"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "create inventory",
|
|
"event": [
|
|
{
|
|
"listen": "test",
|
|
"script": {
|
|
"id": "661c9fbf-3f52-4256-9220-8d32cbfda581",
|
|
"type": "text/javascript",
|
|
"exec": [
|
|
"//postman.clearEnvironmentVariable(\"inv\");",
|
|
"tests[\"Response time is less than 200ms\"] = responseTime < 200;",
|
|
"tests[\"status code is 200\"] == responseCode.code === 200;"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"request": {
|
|
"method": "PUT",
|
|
"header": [
|
|
{
|
|
"key": "X-Auth-Token",
|
|
"value": "{{token}}"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": ""
|
|
},
|
|
"url": {
|
|
"raw": "{{url}}/api/inventory/{{inv}}",
|
|
"host": [
|
|
"{{url}}"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"inventory",
|
|
"{{inv}}"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "inventory",
|
|
"event": [
|
|
{
|
|
"listen": "test",
|
|
"script": {
|
|
"id": "86d4831a-6fca-40c1-ab71-e88615c0e4fe",
|
|
"type": "text/javascript",
|
|
"exec": [
|
|
"tests[\"Response time is less than 200ms\"] = responseTime < 200;",
|
|
"",
|
|
"var jsonData = JSON.parse(responseBody);",
|
|
"",
|
|
"tests['json'] = responseBody.indexOf(postman.getEnvironmentVariable(\"inv\")) !== -1;",
|
|
"tests[\"content type\"] = postman.getResponseHeader('Content-Type') === 'application/json';",
|
|
"",
|
|
"//postman.setEnvironmentVariable(\"inv\", jsonData);",
|
|
"tests[\"Body is object\"] = typeof jsonData == \"object\";",
|
|
"",
|
|
""
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "X-Auth-Token",
|
|
"value": "{{token}}"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": ""
|
|
},
|
|
"url": {
|
|
"raw": "{{url}}/api/inventories",
|
|
"host": [
|
|
"{{url}}"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"inventories"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "group create",
|
|
"request": {
|
|
"method": "PUT",
|
|
"header": [
|
|
{
|
|
"key": "X-Auth-Token",
|
|
"value": "{{token}}"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": ""
|
|
},
|
|
"url": {
|
|
"raw": "http://127.0.0.1:8000/api/inventory/{{inv}}/groups/first_group",
|
|
"protocol": "http",
|
|
"host": [
|
|
"127",
|
|
"0",
|
|
"0",
|
|
"1"
|
|
],
|
|
"port": "8000",
|
|
"path": [
|
|
"api",
|
|
"inventory",
|
|
"{{inv}}",
|
|
"groups",
|
|
"first_group"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "group create child",
|
|
"request": {
|
|
"method": "PUT",
|
|
"header": [
|
|
{
|
|
"key": "X-Auth-Token",
|
|
"value": "{{token}}"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": ""
|
|
},
|
|
"url": {
|
|
"raw": "http://127.0.0.1:8000/api/inventory/my_inv/groups/my_child",
|
|
"protocol": "http",
|
|
"host": [
|
|
"127",
|
|
"0",
|
|
"0",
|
|
"1"
|
|
],
|
|
"port": "8000",
|
|
"path": [
|
|
"api",
|
|
"inventory",
|
|
"my_inv",
|
|
"groups",
|
|
"my_child"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "groups",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "X-Auth-Token",
|
|
"value": "{{token}}"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": ""
|
|
},
|
|
"url": {
|
|
"raw": "{{url}}/api/inventory/my_inv/groups/",
|
|
"host": [
|
|
"{{url}}"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"inventory",
|
|
"my_inv",
|
|
"groups",
|
|
""
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "vars create",
|
|
"event": [
|
|
{
|
|
"listen": "test",
|
|
"script": {
|
|
"id": "da5ac7be-0908-4d8f-9f44-5ccc79342c27",
|
|
"type": "text/javascript",
|
|
"exec": [
|
|
"tests[\"Response time is less than 200ms\"] = responseTime < 200;",
|
|
"",
|
|
"tests[\"response\"] = responseBody.has(\"details\");",
|
|
"tests[\"response\"] = responseBody.has(\"status\");",
|
|
"",
|
|
"var jsonData = JSON.parse(responseBody);",
|
|
"tests['json'] = jsonData[\"details\"] == \"var\";",
|
|
"tests['json'] = jsonData[\"status\"] == \"ADD\";"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"request": {
|
|
"method": "PUT",
|
|
"header": [
|
|
{
|
|
"key": "X-Auth-Token",
|
|
"value": "{{token}}"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": ""
|
|
},
|
|
"url": {
|
|
"raw": "http://127.0.0.1:8000/api/inventory/my_inv/groups/first_group/vars/my_var",
|
|
"protocol": "http",
|
|
"host": [
|
|
"127",
|
|
"0",
|
|
"0",
|
|
"1"
|
|
],
|
|
"port": "8000",
|
|
"path": [
|
|
"api",
|
|
"inventory",
|
|
"my_inv",
|
|
"groups",
|
|
"first_group",
|
|
"vars",
|
|
"my_var"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "vars",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "X-Auth-Token",
|
|
"value": "{{token}}"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": ""
|
|
},
|
|
"url": {
|
|
"raw": "http://127.0.0.1:8000/api/inventory/my_inv/groups/first_group/vars",
|
|
"protocol": "http",
|
|
"host": [
|
|
"127",
|
|
"0",
|
|
"0",
|
|
"1"
|
|
],
|
|
"port": "8000",
|
|
"path": [
|
|
"api",
|
|
"inventory",
|
|
"my_inv",
|
|
"groups",
|
|
"first_group",
|
|
"vars"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "vars del",
|
|
"event": [
|
|
{
|
|
"listen": "test",
|
|
"script": {
|
|
"id": "f6d31c41-d654-44fa-93fc-3162c495af87",
|
|
"type": "text/javascript",
|
|
"exec": [
|
|
"tests[\"Response time is less than 200ms\"] = responseTime < 200;",
|
|
"",
|
|
"tests[\"response\"] = responseBody.has(\"details\");",
|
|
"tests[\"response\"] = responseBody.has(\"status\");",
|
|
"",
|
|
"var jsonData = JSON.parse(responseBody);",
|
|
"tests['json'] = jsonData[\"details\"] == \"var\";",
|
|
"tests['json'] = jsonData[\"status\"] == \"DELETE\";"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"request": {
|
|
"method": "DELETE",
|
|
"header": [
|
|
{
|
|
"key": "X-Auth-Token",
|
|
"value": "{{token}}"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": ""
|
|
},
|
|
"url": {
|
|
"raw": "http://127.0.0.1:8000/api/inventory/my_inv/groups/first_group/vars/my_var",
|
|
"protocol": "http",
|
|
"host": [
|
|
"127",
|
|
"0",
|
|
"0",
|
|
"1"
|
|
],
|
|
"port": "8000",
|
|
"path": [
|
|
"api",
|
|
"inventory",
|
|
"my_inv",
|
|
"groups",
|
|
"first_group",
|
|
"vars",
|
|
"my_var"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "children create",
|
|
"event": [
|
|
{
|
|
"listen": "test",
|
|
"script": {
|
|
"id": "78e0f95f-2727-41d7-a919-be694b4716c4",
|
|
"type": "text/javascript",
|
|
"exec": [
|
|
"tests[\"Response time is less than 200ms\"] = responseTime < 200;",
|
|
"",
|
|
"tests[\"response\"] = responseBody.has(\"details\");",
|
|
"tests[\"response\"] = responseBody.has(\"status\");",
|
|
"",
|
|
"var jsonData = JSON.parse(responseBody);",
|
|
"tests['json'] = jsonData[\"details\"] == \"child\";",
|
|
"tests['json'] = jsonData[\"status\"] == \"ADD\";"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"request": {
|
|
"method": "PUT",
|
|
"header": [
|
|
{
|
|
"key": "X-Auth-Token",
|
|
"value": "{{token}}"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": ""
|
|
},
|
|
"url": {
|
|
"raw": "http://127.0.0.1:8000/api/inventory/my_inv/groups/first_group/children/my_child",
|
|
"protocol": "http",
|
|
"host": [
|
|
"127",
|
|
"0",
|
|
"0",
|
|
"1"
|
|
],
|
|
"port": "8000",
|
|
"path": [
|
|
"api",
|
|
"inventory",
|
|
"my_inv",
|
|
"groups",
|
|
"first_group",
|
|
"children",
|
|
"my_child"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "children",
|
|
"event": [
|
|
{
|
|
"listen": "test",
|
|
"script": {
|
|
"id": "d3923c09-9f3d-44c6-ab76-5c799bad421f",
|
|
"type": "text/javascript",
|
|
"exec": [
|
|
""
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "X-Auth-Token",
|
|
"value": "{{token}}"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": ""
|
|
},
|
|
"url": {
|
|
"raw": "http://127.0.0.1:8000/api/inventory/my_inv/groups/first_group/children",
|
|
"protocol": "http",
|
|
"host": [
|
|
"127",
|
|
"0",
|
|
"0",
|
|
"1"
|
|
],
|
|
"port": "8000",
|
|
"path": [
|
|
"api",
|
|
"inventory",
|
|
"my_inv",
|
|
"groups",
|
|
"first_group",
|
|
"children"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "hosts create",
|
|
"event": [
|
|
{
|
|
"listen": "test",
|
|
"script": {
|
|
"id": "040fd106-e290-4c49-86ee-fb1dd3c24dfd",
|
|
"type": "text/javascript",
|
|
"exec": [
|
|
"tests[\"Response time is less than 200ms\"] = responseTime < 200;",
|
|
"",
|
|
"tests[\"response\"] = responseBody.has(\"detail\");",
|
|
"",
|
|
"var jsonData = JSON.parse(responseBody);",
|
|
"tests['json'] = jsonData[\"detail\"] == \"Not found.\";"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"request": {
|
|
"method": "PUT",
|
|
"header": [
|
|
{
|
|
"key": "X-Auth-Token",
|
|
"value": "{{token}}"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": ""
|
|
},
|
|
"url": {
|
|
"raw": "http://127.0.0.1:8000/api/inventory/my_inv/groups/first_group/hosts/my_host",
|
|
"protocol": "http",
|
|
"host": [
|
|
"127",
|
|
"0",
|
|
"0",
|
|
"1"
|
|
],
|
|
"port": "8000",
|
|
"path": [
|
|
"api",
|
|
"inventory",
|
|
"my_inv",
|
|
"groups",
|
|
"first_group",
|
|
"hosts",
|
|
"my_host"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "machine create",
|
|
"event": [
|
|
{
|
|
"listen": "test",
|
|
"script": {
|
|
"id": "6c3f2287-161c-42b3-9280-c10cfd2aa9af",
|
|
"type": "text/javascript",
|
|
"exec": [
|
|
"tests[\"Response time is less than 200ms\"] = responseTime < 200;",
|
|
"",
|
|
"var jsonData = JSON.parse(responseBody);",
|
|
"tests['json'] = jsonData[\"status\"] == \"ADD\"; jsonData[\"details\"] == \"machine\"; "
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"request": {
|
|
"method": "PUT",
|
|
"header": [
|
|
{
|
|
"key": "X-Auth-Token",
|
|
"value": "{{token}}"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": ""
|
|
},
|
|
"url": {
|
|
"raw": "http://127.0.0.1:8000/api/machines/my_machine",
|
|
"protocol": "http",
|
|
"host": [
|
|
"127",
|
|
"0",
|
|
"0",
|
|
"1"
|
|
],
|
|
"port": "8000",
|
|
"path": [
|
|
"api",
|
|
"machines",
|
|
"my_machine"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "hosts create successfully",
|
|
"event": [
|
|
{
|
|
"listen": "test",
|
|
"script": {
|
|
"id": "c73220fb-c363-4672-bb25-2d171c4f204f",
|
|
"type": "text/javascript",
|
|
"exec": [
|
|
"tests[\"Response time is less than 200ms\"] = responseTime < 200;",
|
|
"",
|
|
"var jsonData = JSON.parse(responseBody);",
|
|
"tests['json'] = jsonData[\"status\"] == \"ADD\"; jsonData[\"details\"] == \"host\"; "
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"request": {
|
|
"method": "PUT",
|
|
"header": [
|
|
{
|
|
"key": "X-Auth-Token",
|
|
"value": "{{token}}"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": ""
|
|
},
|
|
"url": {
|
|
"raw": "http://127.0.0.1:8000/api/inventory/my_inv/groups/first_group/hosts/my_machine",
|
|
"protocol": "http",
|
|
"host": [
|
|
"127",
|
|
"0",
|
|
"0",
|
|
"1"
|
|
],
|
|
"port": "8000",
|
|
"path": [
|
|
"api",
|
|
"inventory",
|
|
"my_inv",
|
|
"groups",
|
|
"first_group",
|
|
"hosts",
|
|
"my_machine"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "hosts",
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "X-Auth-Token",
|
|
"value": "{{token}}"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": ""
|
|
},
|
|
"url": {
|
|
"raw": "http://127.0.0.1:8000/api/inventory/my_inv/groups/first_group/hosts",
|
|
"protocol": "http",
|
|
"host": [
|
|
"127",
|
|
"0",
|
|
"0",
|
|
"1"
|
|
],
|
|
"port": "8000",
|
|
"path": [
|
|
"api",
|
|
"inventory",
|
|
"my_inv",
|
|
"groups",
|
|
"first_group",
|
|
"hosts"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "machine delete",
|
|
"event": [
|
|
{
|
|
"listen": "test",
|
|
"script": {
|
|
"id": "1c568b7f-6f0b-472f-9a4b-e33404b7db3a",
|
|
"type": "text/javascript",
|
|
"exec": [
|
|
"tests[\"Response time is less than 200ms\"] = responseTime < 200;",
|
|
"",
|
|
"var jsonData = JSON.parse(responseBody);",
|
|
"tests['response'] = jsonData[\"status\"] == \"DELETE\"; jsonData[\"details\"] == \"machine\"; ",
|
|
"",
|
|
""
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"request": {
|
|
"method": "DELETE",
|
|
"header": [
|
|
{
|
|
"key": "X-Auth-Token",
|
|
"value": "{{token}}"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": ""
|
|
},
|
|
"url": {
|
|
"raw": "{{url}}/api/machines/my_machine",
|
|
"host": [
|
|
"{{url}}"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"machines",
|
|
"my_machine"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "get inventory json",
|
|
"event": [
|
|
{
|
|
"listen": "test",
|
|
"script": {
|
|
"id": "80ef89ad-c979-4fdf-941a-ae9bce482c44",
|
|
"type": "text/javascript",
|
|
"exec": [
|
|
"tests[\"Response time is less than 200ms\"] = responseTime < 200;",
|
|
"tests[\"status code is 200\"] == responseCode.code === 200;",
|
|
"var jsonData = JSON.parse(responseBody);",
|
|
"tests[\"Response contains 'all'\"] = responseBody.has(\"all\");"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"request": {
|
|
"method": "GET",
|
|
"header": [
|
|
{
|
|
"key": "X-Auth-Token",
|
|
"value": "{{token}}"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": ""
|
|
},
|
|
"url": {
|
|
"raw": "{{url}}/api/inventory/my_inv",
|
|
"host": [
|
|
"{{url}}"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"inventory",
|
|
"my_inv"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "delete inventory",
|
|
"event": [
|
|
{
|
|
"listen": "test",
|
|
"script": {
|
|
"id": "4fecac5d-bd31-49df-bdab-d56b1a4cfb65",
|
|
"type": "text/javascript",
|
|
"exec": [
|
|
"// postman.clearEnvironmentVariable(\"inv\");",
|
|
"",
|
|
"tests[\"status code is 200\"] == responseCode.code === 200;",
|
|
"var jsonData = JSON.parse(responseBody);",
|
|
"tests['json'] = jsonData[\"status\"] == \"DELETE\"; jsonData[\"details\"] == \"inventory\";"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"request": {
|
|
"method": "DELETE",
|
|
"header": [
|
|
{
|
|
"key": "X-Auth-Token",
|
|
"value": "{{token}}"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": ""
|
|
},
|
|
"url": {
|
|
"raw": "http://127.0.0.1:8000/api/inventory/{{inv}}",
|
|
"protocol": "http",
|
|
"host": [
|
|
"127",
|
|
"0",
|
|
"0",
|
|
"1"
|
|
],
|
|
"port": "8000",
|
|
"path": [
|
|
"api",
|
|
"inventory",
|
|
"{{inv}}"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
},
|
|
{
|
|
"name": "upload inventory",
|
|
"event": [
|
|
{
|
|
"listen": "test",
|
|
"script": {
|
|
"id": "26ce0c85-61e2-42f5-a0ad-b18420c0a589",
|
|
"type": "text/javascript",
|
|
"exec": [
|
|
"//postman.clearEnvironmentVariable(\"inv\");",
|
|
"tests[\"Response time is less than 200ms\"] = responseTime < 200;",
|
|
"tests[\"status code is 200\"] == responseCode.code === 200;",
|
|
"",
|
|
"",
|
|
"// var jsonData = JSON.parse(responseBody);",
|
|
"tests['json'] =responseBody == \"done\";"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"request": {
|
|
"method": "PUT",
|
|
"header": [
|
|
{
|
|
"key": "X-Auth-Token",
|
|
"value": "{{token}}"
|
|
},
|
|
{
|
|
"key": "Content-Type",
|
|
"value": "application/json"
|
|
}
|
|
],
|
|
"body": {
|
|
"mode": "raw",
|
|
"raw": "{\"group2\": {},\r\n \"group1\": {\r\n \"vars\": {\"234\": \"{\\\"myvar\\\": \\\"ttttt\\\", \\\"o\\\": [1,2,3], \\\"j\\\": {}}\"},\r\n \"hosts\": [\"1.com\", \"two.com\", 3],\r\n \"children\": [\"group2\"]\r\n },\r\n \"group3\": {},\r\n \"_meta\" : {\r\n \"hostvars\" : {\r\n \"1.com\" : {\r\n \"sensu_address\": \"10.128.13.118\",\r\n \"sensu_bind\": {\"127.0.0.1\": \"ololo\"}\r\n }\r\n }\r\n }\r\n }"
|
|
},
|
|
"url": {
|
|
"raw": "{{url}}/api/inventory/{{inv}}",
|
|
"host": [
|
|
"{{url}}"
|
|
],
|
|
"path": [
|
|
"api",
|
|
"inventory",
|
|
"{{inv}}"
|
|
]
|
|
}
|
|
},
|
|
"response": []
|
|
}
|
|
]
|
|
} |