Created
June 8, 2018 05:41
-
-
Save vhr/ed0e7756047c18d94b3cfde14c0a0cf7 to your computer and use it in GitHub Desktop.
Centreon CLAPI requests for Postman
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "info": { | |
| "_postman_id": "f5e3af2f-37e7-42fe-898a-ed02b60a9614", | |
| "name": "Centreon", | |
| "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json" | |
| }, | |
| "item": [ | |
| { | |
| "name": "Auth", | |
| "description": "", | |
| "item": [ | |
| { | |
| "name": "01 - Authenticate", | |
| "event": [ | |
| { | |
| "listen": "prerequest", | |
| "script": { | |
| "id": "ca68e89a-1433-4907-ab25-a0680472c491", | |
| "type": "text/javascript", | |
| "exec": [ | |
| "" | |
| ] | |
| } | |
| }, | |
| { | |
| "listen": "test", | |
| "script": { | |
| "id": "fb8e7689-49da-4027-8a32-7c3c28927305", | |
| "type": "text/javascript", | |
| "exec": [ | |
| "var jsonData = JSON.parse(responseBody);", | |
| "// pm.environment.set(\"variable_key\", \"variable_value\");", | |
| "postman.setEnvironmentVariable(\"token\", jsonData.authToken);", | |
| "" | |
| ] | |
| } | |
| } | |
| ], | |
| "request": { | |
| "method": "POST", | |
| "header": [], | |
| "body": { | |
| "mode": "formdata", | |
| "formdata": [ | |
| { | |
| "key": "username", | |
| "value": "{{user.name}}", | |
| "description": "", | |
| "type": "text" | |
| }, | |
| { | |
| "key": "password", | |
| "value": "{{user.password}}", | |
| "description": "", | |
| "type": "text" | |
| } | |
| ] | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=authenticate", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "authenticate" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "CLAPI", | |
| "description": "", | |
| "item": [ | |
| { | |
| "name": "HOST add", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"add\",\n \"object\": \"host\",\n \"values\": \"test;Test host;127.0.0.1;generic-host;central;Linux-SerVers\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "HOST del", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"del\",\n \"object\": \"host\",\n \"values\": \"test_host\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "HOST export", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"export\",\n \"object\": \"host\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "HOST applytpl", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"applytpl\",\n \"object\": \"host\",\n \"values\": \"test_host\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "HOST getHostName", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"getHostName\",\n \"object\": \"host\",\n \"values\": \"test_host\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "HOST show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"HOST\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "CMD show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"CMD\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "CMD add", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"add\",\n \"object\": \"CMD\",\n \"values\": \"test_cmd;check;mess\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "CMD del", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"del\",\n \"object\": \"CMD\",\n \"values\": \"test_cmd\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "CMD setparam", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"setparam\",\n \"object\": \"CMD\",\n \"values\": \"test_cmd;comment;ko mi se\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "!* CGICFG show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"CGICFG\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "SERVICE show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"SERVICE\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "HGSERVICE show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"HGSERVICE\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "VENDOR show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"VENDOR\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "VENDOR add", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"add\",\n \"object\": \"VENDOR\",\n \"values\": \"test_vendor;desco\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "VENDOR del", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"del\",\n \"object\": \"VENDOR\",\n \"values\": \"test_vendor\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "VENDOR setparam", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"setparam\",\n \"object\": \"VENDOR\",\n \"values\": \"test_vendor;alias;testo\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "VENDOR generatetraps", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"generatetraps\",\n \"object\": \"VENDOR\",\n \"values\": \"test_vendor;testo.log\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "TRAP show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"TRAP\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "TRAP add", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"add\",\n \"object\": \"TRAP\",\n \"values\": \"test_trap;decko\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "TRAP del", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"del\",\n \"object\": \"TRAP\",\n \"values\": \"test_trap\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "TRAP setparam", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"setparam\",\n \"object\": \"TRAP\",\n \"values\": \"test_trap;comments;testo\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "TRAP getmatching", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"getmatching\",\n \"object\": \"TRAP\",\n \"values\": \"test_trap\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "TRAP addmatching", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"addmatching\",\n \"object\": \"TRAP\",\n \"values\": \"test_trap;test;mest;0\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "TRAP delmatching", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"delmatching\",\n \"object\": \"TRAP\",\n \"values\": \"1\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "TRAP updatematching", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"updatematching\",\n \"object\": \"TRAP\",\n \"values\": \"608;tmo_status;1\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "HG show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"HG\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "HG add", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"add\",\n \"object\": \"HG\",\n \"values\": \"test_host_group;desc\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "HG del", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"del\",\n \"object\": \"HG\",\n \"values\": \"test_host_group\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "HG setparam", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"setparam\",\n \"object\": \"HG\",\n \"values\": \"test_host_group;comment;testo\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "HG getmember", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"getmember\",\n \"object\": \"HG\",\n \"values\": \"test_host_group\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "HG addmember", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"addmember\",\n \"object\": \"HG\",\n \"values\": \"test_host_group;test_host\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "HG setmember", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"setmember\",\n \"object\": \"HG\",\n \"values\": \"test_host_group;test_host\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "HG delmember", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"delmember\",\n \"object\": \"HG\",\n \"values\": \"test_host_group;test_host\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "HC show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"HC\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "SG show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"SG\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "SC show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"SC\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "CONTACT show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"CONTACT\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "CONTACT add", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"add\",\n \"object\": \"CONTACT\",\n \"values\": \"test_contacto;testiko;mestiko@loco;123;true;bla;en_US;centreon\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "CONTACT del", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"del\",\n \"object\": \"CONTACT\",\n \"values\": \"testiko\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "CONTACT setparam", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"setparam\",\n \"object\": \"CONTACT\",\n \"values\": \"testiko;address1;che de go znam\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "CONTACT enable", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"enable\",\n \"object\": \"CONTACT\",\n \"values\": \"testiko\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "CONTACT disable", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"disable\",\n \"object\": \"CONTACT\",\n \"values\": \"testiko\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "LDAP show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"LDAP\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "CONTACTTPL show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"CONTACTTPL\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "CONTACTTPL add", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"add\",\n \"object\": \"CONTACTTPL\",\n \"values\": \"test_contact_tpl;a;a;a;a;a;en_US;a\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "CONTACTTPL del", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"del\",\n \"object\": \"CONTACTTPL\",\n \"values\": \"a\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "CONTACTTPL setparam", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"setparam\",\n \"object\": \"CONTACTTPL\",\n \"values\": \"a;name;adr\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "CONTACTTPL enable", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"enable\",\n \"object\": \"CONTACTTPL\",\n \"values\": \"a\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "CONTACTTPL disable", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"disable\",\n \"object\": \"CONTACTTPL\",\n \"values\": \"a\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "CG show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"CG\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "CG add", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"add\",\n \"object\": \"CG\",\n \"values\": \"test_contact_grp;a\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "CG del", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"del\",\n \"object\": \"CG\",\n \"values\": \"test_contact_grp\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "CG setparam", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"setparam\",\n \"object\": \"CG\",\n \"values\": \"test_contact_grp;comment;a\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "CG enable", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"enable\",\n \"object\": \"CG\",\n \"values\": \"test_contact_grp\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "CG disable", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"disable\",\n \"object\": \"CG\",\n \"values\": \"test_contact_grp\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "CG getcontact", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"getcontact\",\n \"object\": \"CG\",\n \"values\": \"test_contact_grp\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "CG addcontact", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"addcontact\",\n \"object\": \"CG\",\n \"values\": \"test_contact_grp;a\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "CG setcontact", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"setcontact\",\n \"object\": \"CG\",\n \"values\": \"test_contact_grp;a\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "CG delcontact", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"delcontact\",\n \"object\": \"CG\",\n \"values\": \"test_contact_grp;a\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "DEP show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"DEP\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "DEP add", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"add\",\n \"object\": \"DEP\",\n \"values\": \"test_deps;debus;host;test_host\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "DEP del", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"del\",\n \"object\": \"DEP\",\n \"values\": \"test_deps\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "DEP setparam", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"setparam\",\n \"object\": \"DEP\",\n \"values\": \"test_deps;comment;mo\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "DEP listdep", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"listdep\",\n \"object\": \"DEP\",\n \"values\": \"test_deps\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "DEP addparent", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"addparent\",\n \"object\": \"DEP\",\n \"values\": \"test_deps;test_host\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "DEP addchild", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"addchild\",\n \"object\": \"DEP\",\n \"values\": \"test_deps;test_host\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "DEP delparent", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"delparent\",\n \"object\": \"DEP\",\n \"values\": \"test_deps;test_host\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "DEP delchild", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"delchild\",\n \"object\": \"DEP\",\n \"values\": \"test_deps;test_host\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "DOWNTIME show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"DOWNTIME\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "DOWNTIME add", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"add\",\n \"object\": \"DOWNTIME\",\n \"values\": \"test_downtime;treska\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "DOWNTIME del", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"del\",\n \"object\": \"DOWNTIME\",\n \"values\": \"test_downtime\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "DOWNTIME listperiods", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"listperiods\",\n \"object\": \"DOWNTIME\",\n \"values\": \"test_downtime\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "DOWNTIME addweeklyperiod", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"addweeklyperiod\",\n \"object\": \"DOWNTIME\",\n \"values\": \"test_downtime;00:00;05:00;0;1;monday,tuesday\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "DOWNTIME addmonthlyperiod", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"addmonthlyperiod\",\n \"object\": \"DOWNTIME\",\n \"values\": \"test_downtime;00:00;05:00;0;1;13\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "DOWNTIME addspecificperiod", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"addspecificperiod\",\n \"object\": \"DOWNTIME\",\n \"values\": \"test_downtime;00:00;05:00;0;1;monday;last\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "RTDOWNTIME show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"RTDOWNTIME\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "HTPL show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"HTPL\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "HTPL add", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"add\",\n \"object\": \"HTPL\",\n \"values\": \"test_host_tpl;test\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "STPL show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"STPL\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "TP show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"TP\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "INSTANCE show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"INSTANCE\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "INSTANCE add", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"add\",\n \"object\": \"INSTANCE\",\n \"values\": \"test_instance;127.0.0.1;22\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "INSTANCE del", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"del\",\n \"object\": \"INSTANCE\",\n \"values\": \"test_instance\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "INSTANCE gethosts", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"gethosts\",\n \"object\": \"INSTANCE\",\n \"values\": \"test_instance\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "INSTANCE setparam Copy", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"del\",\n \"object\": \"INSTANCE\",\n \"values\": \"test_instance\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ENGINECFG show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"ENGINECFG\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "CENTBROKERCFG show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"CENTBROKERCFG\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "* CENTBROKERCFG add", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"add\",\n \"object\": \"CENTBROKERCFG\",\n \"values\": \"test_broker;test;/var/lib/centreon-broker/\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "CENTBROKERCFG del", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"del\",\n \"object\": \"CENTBROKERCFG\",\n \"values\": \"test\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "RESOURCECFG show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"RESOURCECFG\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ACL lastreload", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"lastreload\",\n \"object\": \"ACL\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ACL reload", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"reload\",\n \"object\": \"ACL\",\n \"values\": \"\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ACLGROUP show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"ACLGROUP\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ACLGROUP add", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"add\",\n \"object\": \"ACLGROUP\",\n \"values\": \"test_group;desco\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ACLGROUP del", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"del\",\n \"object\": \"ACLGROUP\",\n \"values\": \"test_group\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ACLGROUP setparam", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"setparam\",\n \"object\": \"ACLGROUP\",\n \"values\": \"test_group;alias;testo\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ACLGROUP getmenu", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"getmenu\",\n \"object\": \"ACLGROUP\",\n \"values\": \"test_group\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ACLGROUP getaction", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"getaction\",\n \"object\": \"ACLGROUP\",\n \"values\": \"test_group\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ACLGROUP getresource", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"getresource\",\n \"object\": \"ACLGROUP\",\n \"values\": \"test_group\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ACLGROUP getcontact", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"getcontact\",\n \"object\": \"ACLGROUP\",\n \"values\": \"test_group\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ACLGROUP getcontactgroup", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"getcontactgroup\",\n \"object\": \"ACLGROUP\",\n \"values\": \"test_group\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ACLGROUP setmenu", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"setmenu\",\n \"object\": \"ACLGROUP\",\n \"values\": \"test_group;\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ACLACTION show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"ACLACTION\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ACLACTION add", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"add\",\n \"object\": \"ACLACTION\",\n \"values\": \"test_aclaction;test\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ACLACTION del", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"del\",\n \"object\": \"ACLACTION\",\n \"values\": \"test_aclaction\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ACLACTION setparam", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"setparam\",\n \"object\": \"ACLACTION\",\n \"values\": \"test_aclaction;description;testo\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ACLACTION getaclgroup", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"getaclgroup\",\n \"object\": \"ACLACTION\",\n \"values\": \"test_aclaction\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ACLACTION grant", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"grant\",\n \"object\": \"ACLACTION\",\n \"values\": \"test_aclaction;*\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ACLACTION revoke", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"revoke\",\n \"object\": \"ACLACTION\",\n \"values\": \"test_aclaction;*\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ACLMENU show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"ACLMENU\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ACLMENU add", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"add\",\n \"object\": \"ACLMENU\",\n \"values\": \"test_aclmenu;test_m\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ACLMENU del", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"del\",\n \"object\": \"ACLMENU\",\n \"values\": \"test_aclmenu\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ACLMENU setparam", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"setparam\",\n \"object\": \"ACLMENU\",\n \"values\": \"test_aclmenu;comment;mi-ko-shi\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ACLMENU getaclgroup", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"getaclgroup\",\n \"object\": \"ACLMENU\",\n \"values\": \"test_aclmenu\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "* ACLMENU grant", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"grant\",\n \"object\": \"ACLMENU\",\n \"values\": \"test_aclmenu;home;195\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "* ACLMENU revoke", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"revoke\",\n \"object\": \"ACLMENU\",\n \"values\": \"test_aclmenu\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ACLRESOURCE show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"ACLRESOURCE\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ACLRESOURCE add", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"add\",\n \"object\": \"ACLRESOURCE\",\n \"values\": \"test_acl_resource;testo;mi\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ACLRESOURCE del", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"del\",\n \"object\": \"ACLRESOURCE\",\n \"values\": \"test_acl_resource\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ACLRESOURCE setparam", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"setparam\",\n \"object\": \"ACLRESOURCE\",\n \"values\": \"test_acl_resource;comment;ki mo sho\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "ACLRESOURCE getaclgroup", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"getaclgroup\",\n \"object\": \"ACLRESOURCE\",\n \"values\": \"test_acl_resource\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "* ACLRESOURCE grant", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"grant\",\n \"object\": \"ACLRESOURCE\",\n \"values\": \"test_acl_resource;*\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "* ACLRESOURCE revoke", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"revoke\",\n \"object\": \"ACLRESOURCE\",\n \"values\": \"test_acl_resource\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "SETTINGS show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"SETTINGS\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "Service show", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n \"action\": \"show\",\n \"object\": \"SERVICE\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=action&object=centreon_clapi", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "action" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_clapi" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| } | |
| ] | |
| }, | |
| { | |
| "name": "Other", | |
| "description": "", | |
| "item": [ | |
| { | |
| "name": "Admin module", | |
| "description": "", | |
| "item": [ | |
| { | |
| "name": "Admin module install", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n\t\"name\": \"centreon-pp-manager\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=install&object=centreon_administration_module", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "install" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_administration_module" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "Admin module upgrade", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n\t\"name\": \"centreon-pp-manager\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=upgrade&object=centreon_administration_module", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "upgrade" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_administration_module" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "Admin module remove", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n\t\"name\": \"centreon-pp-manager\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=remove&object=centreon_administration_module", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "remove" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_administration_module" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| } | |
| ], | |
| "_postman_isSubFolder": true | |
| }, | |
| { | |
| "name": "Admin widget", | |
| "description": "", | |
| "item": [ | |
| { | |
| "name": "Admin widget list available", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n\t\"name\": \"centreon-pp-manager\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=listAvailable&object=centreon_administration_widget", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "listAvailable" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_administration_widget" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "Admin widget list installed", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n\t\"name\": \"centreon-pp-manager\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=listInstalled&object=centreon_administration_widget", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "listInstalled" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_administration_widget" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "Admin widget install", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n\t\"name\": \"tactical-overview\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=install&object=centreon_administration_widget", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "install" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_administration_widget" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "Admin widget upgrade", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n\t\"name\": \"tactical-overview\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=upgrade&object=centreon_administration_widget", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "upgrade" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_administration_widget" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "Admin widget remove", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n\t\"name\": \"tactical-overview\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=remove&object=centreon_administration_widget", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "remove" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_administration_widget" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| } | |
| ], | |
| "_postman_isSubFolder": true | |
| }, | |
| { | |
| "name": "Config", | |
| "description": "", | |
| "item": [ | |
| { | |
| "name": "Configuration broker", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n\t\"name\": \"centreon-pp-manager\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=block&object=centreon_configuration_broker&resultFormat=html&page=60909&position=2&blockId=2_3&tag=input", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "block" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_configuration_broker" | |
| }, | |
| { | |
| "key": "resultFormat", | |
| "value": "html" | |
| }, | |
| { | |
| "key": "page", | |
| "value": "60909" | |
| }, | |
| { | |
| "key": "position", | |
| "value": "2" | |
| }, | |
| { | |
| "key": "blockId", | |
| "value": "2_3" | |
| }, | |
| { | |
| "key": "tag", | |
| "value": "input" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "Configuration command", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n\t\"name\": \"centreon-pp-manager\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=list&object=centreon_configuration_command", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "list" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_configuration_command" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "Configuration contact", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n\t\"name\": \"centreon-pp-manager\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=list&object=centreon_configuration_contact", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "list" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_configuration_contact" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "Configuration contact group", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n\t\"name\": \"centreon-pp-manager\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=list&object=centreon_configuration_contactgroup", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "list" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_configuration_contactgroup" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "Configuration downtime", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n\t\"name\": \"centreon-pp-manager\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=list&object=centreon_configuration_downtime", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "list" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_configuration_downtime" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "Configuration graph curve", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n\t\"name\": \"centreon-pp-manager\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=list&object=centreon_configuration_graphcurve", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "list" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_configuration_graphcurve" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "Configuration graph template", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n\t\"name\": \"centreon-pp-manager\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=list&object=centreon_configuration_graphtemplate", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "list" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_configuration_graphtemplate" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "* Configuration graph virtual metric", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n\t\"name\": \"centreon-pp-manager\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=list&object=centreon_configuration_graphvirtualmetric", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "list" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_configuration_graphvirtualmetric" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "Configuration host", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n\t\"name\": \"centreon-pp-manager\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=list&object=centreon_configuration_host", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "list" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_configuration_host" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "Configuration host services", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "raw", | |
| "raw": "{\n\t\"name\": \"centreon-pp-manager\"\n}" | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=services&object=centreon_configuration_host&id=1", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "services" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_configuration_host" | |
| }, | |
| { | |
| "key": "id", | |
| "value": "1" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| } | |
| ], | |
| "_postman_isSubFolder": true | |
| }, | |
| { | |
| "name": "List (centreon_realtime_hosts)", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "formdata", | |
| "formdata": [ | |
| { | |
| "key": "username", | |
| "value": "admin", | |
| "description": "", | |
| "type": "text" | |
| }, | |
| { | |
| "key": "password", | |
| "value": "centreon", | |
| "description": "", | |
| "type": "text" | |
| } | |
| ] | |
| }, | |
| "url": { | |
| "raw": "{{url}}?object=centreon_realtime_hosts&action=list", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "object", | |
| "value": "centreon_realtime_hosts" | |
| }, | |
| { | |
| "key": "action", | |
| "value": "list" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "Services", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "formdata", | |
| "formdata": [ | |
| { | |
| "key": "username", | |
| "value": "admin", | |
| "description": "", | |
| "type": "text" | |
| }, | |
| { | |
| "key": "password", | |
| "value": "centreon", | |
| "description": "", | |
| "type": "text" | |
| } | |
| ] | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=list&object=centreon_realtime_services&limit=60&viewType=all&sortType=name&order=desc&fields=id,description,host_id,host_name,state,output", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "list" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_realtime_services" | |
| }, | |
| { | |
| "key": "limit", | |
| "value": "60" | |
| }, | |
| { | |
| "key": "viewType", | |
| "value": "all" | |
| }, | |
| { | |
| "key": "sortType", | |
| "value": "name" | |
| }, | |
| { | |
| "key": "order", | |
| "value": "desc" | |
| }, | |
| { | |
| "key": "fields", | |
| "value": "id,description,host_id,host_name,state,output" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "Administration aclgroup", | |
| "request": { | |
| "method": "GET", | |
| "header": [ | |
| { | |
| "key": "Content-Type", | |
| "value": "application/json" | |
| }, | |
| { | |
| "key": "centreon-auth-token", | |
| "value": "{{token}}" | |
| } | |
| ], | |
| "body": { | |
| "mode": "formdata", | |
| "formdata": [ | |
| { | |
| "key": "username", | |
| "value": "admin", | |
| "description": "", | |
| "type": "text" | |
| }, | |
| { | |
| "key": "password", | |
| "value": "centreon", | |
| "description": "", | |
| "type": "text" | |
| } | |
| ] | |
| }, | |
| "url": { | |
| "raw": "{{url}}?action=list&object=centreon_administration_aclgroup&q=sdf&page_limit=10&page=1", | |
| "host": [ | |
| "{{url}}" | |
| ], | |
| "query": [ | |
| { | |
| "key": "action", | |
| "value": "list" | |
| }, | |
| { | |
| "key": "object", | |
| "value": "centreon_administration_aclgroup" | |
| }, | |
| { | |
| "key": "q", | |
| "value": "sdf" | |
| }, | |
| { | |
| "key": "page_limit", | |
| "value": "10" | |
| }, | |
| { | |
| "key": "page", | |
| "value": "1" | |
| } | |
| ] | |
| }, | |
| "description": "http://centreon-dev/centreon/api/index.php?action=authenticate" | |
| }, | |
| "response": [] | |
| }, | |
| { | |
| "name": "generateExport.php", | |
| "request": { | |
| "method": "POST", | |
| "header": [ | |
| { | |
| "key": "Cookie", | |
| "value": "PHPSESSID=c1huftede95gnu6eb36osevnrb" | |
| } | |
| ], | |
| "body": { | |
| "mode": "formdata", | |
| "formdata": [ | |
| { | |
| "key": "export_INSTANCE[INSTANCE]", | |
| "value": "on", | |
| "type": "text", | |
| "description": "" | |
| }, | |
| { | |
| "key": "export_HOST[HOST]", | |
| "value": "on", | |
| "type": "text", | |
| "description": "" | |
| }, | |
| { | |
| "key": "export_HTPL[HTPL]", | |
| "value": "on", | |
| "type": "text", | |
| "description": "" | |
| }, | |
| { | |
| "key": "HC", | |
| "value": "on", | |
| "type": "text", | |
| "description": "" | |
| }, | |
| { | |
| "key": "export_SERVICE[SERVICE]", | |
| "value": "on", | |
| "type": "text", | |
| "description": "" | |
| }, | |
| { | |
| "key": "export_STPL[STPL]", | |
| "value": "on", | |
| "type": "text", | |
| "description": "" | |
| }, | |
| { | |
| "key": "SC", | |
| "value": "on", | |
| "type": "text", | |
| "description": "" | |
| }, | |
| { | |
| "key": "CONTACT", | |
| "value": "on", | |
| "type": "text", | |
| "description": "" | |
| }, | |
| { | |
| "key": "CG", | |
| "value": "on", | |
| "type": "text", | |
| "description": "" | |
| }, | |
| { | |
| "key": "export_cmd[c_cmd]", | |
| "value": "on", | |
| "type": "text", | |
| "description": "" | |
| }, | |
| { | |
| "key": "export_cmd[n_cmd]", | |
| "value": "on", | |
| "type": "text", | |
| "description": "" | |
| }, | |
| { | |
| "key": "export_cmd[m_cmd]", | |
| "value": "on", | |
| "type": "text", | |
| "description": "" | |
| }, | |
| { | |
| "key": "export_cmd[d_cmd]", | |
| "value": "on", | |
| "type": "text", | |
| "description": "" | |
| }, | |
| { | |
| "key": "ACL", | |
| "value": "on", | |
| "type": "text", | |
| "description": "" | |
| }, | |
| { | |
| "key": "LDAP", | |
| "value": "on", | |
| "type": "text", | |
| "description": "" | |
| }, | |
| { | |
| "key": "TP", | |
| "value": "on", | |
| "type": "text", | |
| "description": "" | |
| } | |
| ] | |
| }, | |
| "url": { | |
| "raw": "{{url}}modules/centreon-awie/core/generateExport.php", | |
| "host": [ | |
| "{{url}}modules" | |
| ], | |
| "path": [ | |
| "centreon-awie", | |
| "core", | |
| "generateExport.php" | |
| ] | |
| } | |
| }, | |
| "response": [] | |
| } | |
| ], | |
| "event": [ | |
| { | |
| "listen": "prerequest", | |
| "script": { | |
| "id": "ee76d1b9-67a1-4d1b-9cfa-709ec23cda29", | |
| "type": "text/javascript", | |
| "exec": [ | |
| "" | |
| ] | |
| } | |
| }, | |
| { | |
| "listen": "test", | |
| "script": { | |
| "id": "2bab1a1d-a0d7-48a6-87ad-93fc3251c645", | |
| "type": "text/javascript", | |
| "exec": [ | |
| "" | |
| ] | |
| } | |
| } | |
| ] | |
| } | |
| ], | |
| "event": [ | |
| { | |
| "listen": "prerequest", | |
| "script": { | |
| "id": "b7b5203b-d31a-463a-b4ca-611da5fac141", | |
| "type": "text/javascript", | |
| "exec": [ | |
| "" | |
| ] | |
| } | |
| }, | |
| { | |
| "listen": "test", | |
| "script": { | |
| "id": "9d4f9b67-8fac-4054-8c56-942a60a933db", | |
| "type": "text/javascript", | |
| "exec": [ | |
| "" | |
| ] | |
| } | |
| } | |
| ], | |
| "variable": [ | |
| { | |
| "id": "0197e02c-5cf1-49ab-8cf5-88e9d9070c11", | |
| "key": "url", | |
| "value": "", | |
| "type": "string", | |
| "disabled": true | |
| }, | |
| { | |
| "id": "c29eba01-be17-41dd-87f6-29921edf2f8a", | |
| "key": " user.name", | |
| "value": "admin", | |
| "type": "string", | |
| "disabled": true | |
| }, | |
| { | |
| "id": "cf909648-0c4b-4e33-8440-59ef08283ae2", | |
| "key": " user.password", | |
| "value": "centreon", | |
| "type": "string", | |
| "disabled": true | |
| } | |
| ] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment