Skip to content

Commit d8cf838

Browse files
committed
Add ServingGroup Opertions Get request stubs and fix git-save untracked detection
- add ids status cableModems and topology request YAML files under PyPNM-CMTS ServingGroup Opertions Get - include endpoint urls and request bodies for operations get topology and cableModems routes - add visualizer headers and language fields so sync_visualizers can map and update scripts - fix tools git-save early exit check to use git status porcelain so untracked files and new directories are committed
1 parent 1214b94 commit d8cf838

5 files changed

Lines changed: 523 additions & 1 deletion

File tree

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
$kind: http-request
2+
url: '{{pypnm_cmts_url}}/cmts/servingGroup/operations/get/cableModems'
3+
method: POST
4+
body:
5+
type: json
6+
content: "{\r\n \"cmts\": {\r\n \"serving_group\": {\r\n \"id\": []\r\n }\r\n },\r\n \"refresh\": {\r\n \"mode\": \"none\",\r\n \"wait_for_cache\": false,\r\n \"timeout_seconds\": 8\r\n }\r\n}"
7+
scripts:
8+
- type: afterResponse
9+
code: |-
10+
// Postman Visualizer: PyPNM-CMTS/ServingGroup/Opertions/Get/cableModems
11+
// Last Update: 2026-03-08 20:05:00 MST
12+
// Visual Constraints: Follow canonical visual rules in CODING_AGENTS.md.
13+
14+
(function () {
15+
const response = pm.response.json();
16+
17+
const template = `
18+
<style>
19+
body { background:#141821; color:#e7edf8; font-family:Arial,sans-serif; margin:0; padding:16px; }
20+
.wrap { max-width:1600px; margin:0 auto; }
21+
.card { background:#1b2332; border:1px solid rgba(255,255,255,0.09); border-radius:10px; padding:14px; }
22+
.title { margin:0 0 8px 0; color:#f3f6ff; text-align:center; font-size:20px; font-weight:700; }
23+
.meta { color:#dbe3ff; font-size:12px; margin-bottom:10px; text-align:center; }
24+
pre { margin:0; padding:10px; border-radius:6px; background:#1a1a1a; border:1px solid #4d4d4d; overflow:auto; font-size:12px; }
25+
</style>
26+
<div class="wrap">
27+
<div class="card">
28+
<h1 class="title">Serving Group Operations Get Cable Modems</h1>
29+
<div class="meta">POST /cmts/servingGroup/operations/get/cableModems</div>
30+
<pre>{{raw}}</pre>
31+
</div>
32+
</div>
33+
`;
34+
35+
pm.visualizer.set(template, { raw: JSON.stringify(response, null, 2) });
36+
})();
37+
language: text/javascript
38+
order: 3
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
$kind: http-request
2+
url: '{{pypnm_cmts_url}}/cmts/servingGroup/operations/get/ids'
3+
method: GET
4+
scripts:
5+
- type: afterResponse
6+
code: |-
7+
// Postman Visualizer: PyPNM-CMTS/ServingGroup/Opertions/Get/ids
8+
// Last Update: 2026-03-08 20:05:00 MST
9+
// Visual Constraints: Follow canonical visual rules in CODING_AGENTS.md.
10+
11+
(function () {
12+
const response = pm.response.json();
13+
14+
const template = `
15+
<style>
16+
body { background:#141821; color:#e7edf8; font-family:Arial,sans-serif; margin:0; padding:16px; }
17+
.wrap { max-width:1600px; margin:0 auto; }
18+
.card { background:#1b2332; border:1px solid rgba(255,255,255,0.09); border-radius:10px; padding:14px; }
19+
.title { margin:0 0 8px 0; color:#f3f6ff; text-align:center; font-size:20px; font-weight:700; }
20+
.meta { color:#dbe3ff; font-size:12px; margin-bottom:10px; text-align:center; }
21+
pre { margin:0; padding:10px; border-radius:6px; background:#1a1a1a; border:1px solid #4d4d4d; overflow:auto; font-size:12px; }
22+
</style>
23+
<div class="wrap">
24+
<div class="card">
25+
<h1 class="title">Serving Group Operations Get IDs</h1>
26+
<div class="meta">GET /cmts/servingGroup/operations/get/ids</div>
27+
<pre>{{raw}}</pre>
28+
</div>
29+
</div>
30+
`;
31+
32+
pm.visualizer.set(template, { raw: JSON.stringify(response, null, 2) });
33+
})();
34+
language: text/javascript
35+
order: 1
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
$kind: http-request
2+
url: '{{pypnm_cmts_url}}/cmts/servingGroup/operations/get/status'
3+
method: GET
4+
scripts:
5+
- type: afterResponse
6+
code: |-
7+
// Postman Visualizer: PyPNM-CMTS/ServingGroup/Opertions/Get/status
8+
// Last Update: 2026-03-08 20:05:00 MST
9+
// Visual Constraints: Follow canonical visual rules in CODING_AGENTS.md.
10+
11+
(function () {
12+
const response = pm.response.json();
13+
14+
const template = `
15+
<style>
16+
body { background:#141821; color:#e7edf8; font-family:Arial,sans-serif; margin:0; padding:16px; }
17+
.wrap { max-width:1600px; margin:0 auto; }
18+
.card { background:#1b2332; border:1px solid rgba(255,255,255,0.09); border-radius:10px; padding:14px; }
19+
.title { margin:0 0 8px 0; color:#f3f6ff; text-align:center; font-size:20px; font-weight:700; }
20+
.meta { color:#dbe3ff; font-size:12px; margin-bottom:10px; text-align:center; }
21+
pre { margin:0; padding:10px; border-radius:6px; background:#1a1a1a; border:1px solid #4d4d4d; overflow:auto; font-size:12px; }
22+
</style>
23+
<div class="wrap">
24+
<div class="card">
25+
<h1 class="title">Serving Group Operations Get Status</h1>
26+
<div class="meta">GET /cmts/servingGroup/operations/get/status</div>
27+
<pre>{{raw}}</pre>
28+
</div>
29+
</div>
30+
`;
31+
32+
pm.visualizer.set(template, { raw: JSON.stringify(response, null, 2) });
33+
})();
34+
language: text/javascript
35+
order: 2

0 commit comments

Comments
 (0)