Debian Codegraph @

tests/storage/purestorage/flasharray/v2/restapi/mokoon.json

raw
1 {
2 "uuid": "cf22c628-8819-46d3-b1b7-fc46f3aee39b",
3 "lastMigration": 32,
4 "name": "Mokoon",
5 "endpointPrefix": "",
6 "latency": 0,
7 "port": 3000,
8 "hostname": "",
9 "folders": [],
10 "routes": [
11 {
12 "uuid": "98036266-a85e-484f-9af8-26690151180c",
13 "type": "http",
14 "documentation": "",
15 "method": "post",
16 "endpoint": "api/2.4/login",
17 "responses": [
18 {
19 "uuid": "ad6920b9-8a22-4ffc-b066-936819921ba0",
20 "body": "{\r\n \"continuation_token\": null,\r\n \"items\": [\r\n {\r\n \"created\": 1737462338078,\r\n \"state\": \"closed\",\r\n \"description\": \"(drive:ch0.nvb1): failure Expected: healthy, Actual: failed\",\r\n \"component_type\": \"drive\",\r\n \"name\": \"81204734\",\r\n \"id\": \"5576557655765576557655765576\",\r\n \"code\": 60,\r\n \"category\": \"array\",\r\n \"severity\": \"warning\",\r\n \"flagged\": false,\r\n \"updated\": null,\r\n \"closed\": null,\r\n \"notified\": null,\r\n \"component_name\": \"ch0.nvb1\",\r\n \"expected\": \"healthy\",\r\n \"actual\": \"failed\",\r\n \"knowledge_base_url\": \"https://support.purestorage.com/?cid=Alert_0060\",\r\n \"summary\": \"(drive:ch0.nvb1): failure\",\r\n \"issue\": \"failure\"\r\n },\r\n {\r\n \"created\": 1737464651017,\r\n \"state\": \"open\",\r\n \"description\": \"(shelf:ch0): shelf drive failures(s) Expected: 0, Actual: 1\",\r\n \"component_type\": \"shelf\",\r\n \"name\": \"81204806\",\r\n \"id\": \"f823f823f823f823f823f823f823\",\r\n \"code\": 60,\r\n \"category\": \"array\",\r\n \"severity\": \"critical\",\r\n \"flagged\": true,\r\n \"updated\": null,\r\n \"closed\": null,\r\n \"notified\": null,\r\n \"component_name\": \"ch0\",\r\n \"expected\": \"0\",\r\n \"actual\": \"1\",\r\n \"knowledge_base_url\": \"https://support.purestorage.com/?cid=Alert_0060\",\r\n \"summary\": \"(shelf:ch0): shelf drive failures(s)\",\r\n \"issue\": \"shelf drive failures(s)\"\r\n },\r\n {\r\n \"created\": 1536744300846,\r\n \"description\": \"(hardware:ct1.eth0): failure Expected: , Actual: \",\r\n \"state\": \"closed\",\r\n \"component_type\": \"hardware\",\r\n \"name\": \"10088780\",\r\n \"id\": \"18525aa28bee4eb3a68eb901c1483fea\",\r\n \"category\": \"array\",\r\n \"severity\": \"warning\",\r\n \"code\": 42,\r\n \"flagged\": false,\r\n \"updated\": null,\r\n \"closed\": null,\r\n \"notified\": null,\r\n \"component_name\": \"ct1.eth0\",\r\n \"expected\": \"\",\r\n \"actual\": \"\",\r\n \"knowledge_base_url\": \"https://support.purestorage.com/?cid=Alert_0042\",\r\n \"issue\": \"failure\",\r\n \"summary\": \"(hardware:ct1.eth0): failure\"\r\n }\r\n ],\r\n \"more_items_remaining\": false,\r\n \"total_item_count\": null\r\n}",
21 "latency": 0,
22 "statusCode": 200,
23 "label": "",
24 "headers": [
25 {
26 "key": "x-auth-token",
27 "value": "token"
28 }
29 ],
30 "bodyType": "INLINE",
31 "filePath": "",
32 "databucketID": "",
33 "sendFileAsBody": false,
34 "rules": [],
35 "rulesOperator": "OR",
36 "disableTemplating": false,
37 "fallbackTo404": false,
38 "default": true,
39 "crudKey": "id",
40 "callbacks": []
41 }
42 ],
43 "responseMode": null
44 },
45 {
46 "uuid": "5c108f96-531d-43e3-b7cc-38cf5aa5dca9",
47 "type": "http",
48 "documentation": "",
49 "method": "get",
50 "endpoint": "api/2.4/alerts",
51 "responses": [
52 {
53 "uuid": "31a6a6d7-7c12-4269-9783-14c6e42be22e",
54 "body": "{\r\n \"continuation_token\": null,\r\n \"items\": [\r\n {\r\n \"created\": 1737462338078,\r\n \"state\": \"closed\",\r\n \"description\": \"(drive:ch0.nvb1): failure Expected: healthy, Actual: failed\",\r\n \"component_type\": \"drive\",\r\n \"name\": \"81204734\",\r\n \"id\": \"5576557655765576557655765576\",\r\n \"code\": 60,\r\n \"category\": \"array\",\r\n \"severity\": \"warning\",\r\n \"flagged\": false,\r\n \"updated\": null,\r\n \"closed\": null,\r\n \"notified\": null,\r\n \"component_name\": \"ch0.nvb1\",\r\n \"expected\": \"healthy\",\r\n \"actual\": \"failed\",\r\n \"knowledge_base_url\": \"https://support.purestorage.com/?cid=Alert_0060\",\r\n \"summary\": \"(drive:ch0.nvb1): failure\",\r\n \"issue\": \"failure\"\r\n },\r\n {\r\n \"created\": 1737464651017,\r\n \"state\": \"open\",\r\n \"description\": \"(shelf:ch0): shelf drive failures(s) Expected: 0, Actual: 1\",\r\n \"component_type\": \"shelf\",\r\n \"name\": \"81204806\",\r\n \"id\": \"f823f823f823f823f823f823f823\",\r\n \"code\": 60,\r\n \"category\": \"array\",\r\n \"severity\": \"critical\",\r\n \"flagged\": true,\r\n \"updated\": null,\r\n \"closed\": null,\r\n \"notified\": null,\r\n \"component_name\": \"ch0\",\r\n \"expected\": \"0\",\r\n \"actual\": \"1\",\r\n \"knowledge_base_url\": \"https://support.purestorage.com/?cid=Alert_0060\",\r\n \"summary\": \"(shelf:ch0): shelf drive failures(s)\",\r\n \"issue\": \"shelf drive failures(s)\"\r\n },\r\n {\r\n \"created\": 1536744300846,\r\n \"description\": \"(hardware:ct1.eth0): failure Expected: , Actual: \",\r\n \"state\": \"closed\",\r\n \"component_type\": \"hardware\",\r\n \"name\": \"10088780\",\r\n \"id\": \"18525aa28bee4eb3a68eb901c1483fea\",\r\n \"category\": \"toto\",\r\n \"severity\": \"warning\",\r\n \"code\": 42,\r\n \"flagged\": false,\r\n \"updated\": null,\r\n \"closed\": null,\r\n \"notified\": null,\r\n \"component_name\": \"ct1.eth0\",\r\n \"expected\": \"\",\r\n \"actual\": \"\",\r\n \"knowledge_base_url\": \"https://support.purestorage.com/?cid=Alert_0042\",\r\n \"issue\": \"failure\",\r\n \"summary\": \"(hardware:ct1.eth0): failure\"\r\n }\r\n ],\r\n \"more_items_remaining\": false,\r\n \"total_item_count\": null\r\n}",
55 "latency": 0,
56 "statusCode": 200,
57 "label": "",
58 "headers": [],
59 "bodyType": "INLINE",
60 "filePath": "",
61 "databucketID": "",
62 "sendFileAsBody": false,
63 "rules": [],
64 "rulesOperator": "OR",
65 "disableTemplating": false,
66 "fallbackTo404": false,
67 "default": true,
68 "crudKey": "id",
69 "callbacks": []
70 }
71 ],
72 "responseMode": null
73 }
74 ],
75 "rootChildren": [
76 {
77 "type": "route",
78 "uuid": "98036266-a85e-484f-9af8-26690151180c"
79 },
80 {
81 "type": "route",
82 "uuid": "5c108f96-531d-43e3-b7cc-38cf5aa5dca9"
83 }
84 ],
85 "proxyMode": false,
86 "proxyHost": "",
87 "proxyRemovePrefix": false,
88 "tlsOptions": {
89 "enabled": false,
90 "type": "CERT",
91 "pfxPath": "",
92 "certPath": "",
93 "keyPath": "",
94 "caPath": "",
95 "passphrase": ""
96 },
97 "cors": true,
98 "headers": [
99 {
100 "key": "Content-Type",
101 "value": "application/json"
102 },
103 {
104 "key": "Access-Control-Allow-Origin",
105 "value": "*"
106 },
107 {
108 "key": "Access-Control-Allow-Methods",
109 "value": "GET,POST,PUT,PATCH,DELETE,HEAD,OPTIONS"
110 },
111 {
112 "key": "Access-Control-Allow-Headers",
113 "value": "Content-Type, Origin, Accept, Authorization, Content-Length, X-Requested-With"
114 }
115 ],
116 "proxyReqHeaders": [
117 {
118 "key": "",
119 "value": ""
120 }
121 ],
122 "proxyResHeaders": [
123 {
124 "key": "",
125 "value": ""
126 }
127 ],
128 "data": [],
129 "callbacks": []
130 }