forked from agnathan/lab-edgex
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSystem Management Agent Microservice.postman_collection.json
147 lines (147 loc) · 3.34 KB
/
System Management Agent Microservice.postman_collection.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
{
"info": {
"_postman_id": "bd1b8847-03f6-4eda-bff9-0f0d320f4b99",
"name": "System Management Agent Microservice",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "/operation",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\"action\":\"stop\",\"services\":[\"edgex-support-notifications\",\"edgex-core-data\"]}"
},
"url": {
"raw": "http://localhost:48090/api/:version/operation",
"protocol": "http",
"host": [
"localhost"
],
"port": "48090",
"path": [
"api",
":version",
"operation"
],
"variable": [
{
"key": "version"
}
]
},
"description": "Issue a start, stop or restart action to the specified services. HTTP 500 for unknown or unanticipated issues.\n\nParameters:\n\n"
},
"response": []
},
{
"name": "/config/:services",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "GET",
"header": [],
"body": {},
"url": {
"raw": "http://localhost:48090/api/:version/config/:services",
"protocol": "http",
"host": [
"localhost"
],
"port": "48090",
"path": [
"api",
":version",
"config",
":services"
],
"variable": [
{
"key": "version"
},
{
"key": "services"
}
]
},
"description": "Fetch the configuration of the specified EdgeX services by their unique names - returning null if none is found for the service. HTTP 500 for unknown or unanticipated issues\n\nParameters:\n\nservices: EdgeX micro service names (the unique name of each service comma delimited)\n\n"
},
"response": []
},
{
"name": "/metrics/:services",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "GET",
"header": [],
"body": {},
"url": {
"raw": "http://localhost:48090/api/:version/metrics/:services",
"protocol": "http",
"host": [
"localhost"
],
"port": "48090",
"path": [
"api",
":version",
"metrics",
":services"
],
"variable": [
{
"key": "version"
},
{
"key": "services"
}
]
},
"description": "Fetch the operating performance metrics of the specified EdgeX services by their unique names - returning null if none is found for the service. HTTP 500 for unknown or unanticipated issues\n\nParameters:\n\nservices: EdgeX micro service names (the unique name of each service comma delimited)\n\n"
},
"response": []
},
{
"name": "/ping",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "GET",
"header": [],
"body": {},
"url": {
"raw": "http://localhost:48090/api/:version/ping",
"protocol": "http",
"host": [
"localhost"
],
"port": "48090",
"path": [
"api",
":version",
"ping"
],
"variable": [
{
"key": "version",
"value": ""
}
]
},
"description": "Test service providing an indication that the service is available.\n\nParameters:\n\n"
},
"response": []
}
]
}