Skip to content

Commit 1837b59

Browse files
committed
Update CMTS operation-id request body schema
Feature: align PyPNM-CMTS requests with new response wrapper - update all CMTS cancel/status/results request YAML bodies - keep operation.pnm_capture_operation_id variable per endpoint - add response.output.request_summary with value brief - remove legacy selection/analysis/output body blocks from results - apply schema update across downstream and upstream OFDMA paths - 2026-03-11 22:39:37
1 parent a1a9e65 commit 1837b59

22 files changed

Lines changed: 210 additions & 261 deletions

postman/collections/PyPNM-CMTS/ServingGroup/Downstream/ChannelEstCoeff/Cancel.request.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,14 @@ url: "{{pypnm_cmts_url}}/cmts/pnm/sg/ds/ofdm/channelEstCoeff/cancel"
33
method: POST
44
body:
55
type: json
6-
content: "{\r
7-
8-
\ \"pnm_capture_operation_id\": \"{{chan_est_cmts_operation_id}}\"\r
9-
10-
}"
6+
content: "{
7+
\"operation\": {
8+
\"pnm_capture_operation_id\": \"{{chan_est_cmts_operation_id}}\"
9+
},
10+
\"response\": {
11+
\"output\": {
12+
\"request_summary\": \"brief\"
13+
}
14+
}
15+
}"
1116
order: 3000

postman/collections/PyPNM-CMTS/ServingGroup/Downstream/ChannelEstCoeff/Results.request.yaml

Lines changed: 10 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,16 @@ url: "{{pypnm_cmts_url}}/cmts/pnm/sg/ds/ofdm/channelEstCoeff/results"
33
method: POST
44
body:
55
type: json
6-
content: "{\r
7-
8-
\ \"operation\": {\r
9-
10-
\ \"pnm_capture_operation_id\": \"{{chan_est_cmts_operation_id}}\"\r
11-
12-
\ },\r
13-
14-
\ \"selection\": {\r
15-
16-
\ \"serving_group_ids\": [],\r
17-
18-
\ \"channel_ids\": [],\r
19-
20-
\ \"mac_addresses\": []\r
21-
22-
\ },\r
23-
24-
\ \"analysis\": {\r
25-
26-
\ \"type\": \"basic\"\r
27-
28-
\ },\r
29-
30-
\ \"output\": {\r
31-
32-
\ \"type\": \"json\"\r
33-
34-
\ }\r
35-
36-
}\r\n"
6+
content: "{
7+
\"operation\": {
8+
\"pnm_capture_operation_id\": \"{{chan_est_cmts_operation_id}}\"
9+
},
10+
\"response\": {
11+
\"output\": {
12+
\"request_summary\": \"brief\"
13+
}
14+
}
15+
}"
3716
scripts:
3817
- type: afterResponse
3918
code: >-

postman/collections/PyPNM-CMTS/ServingGroup/Downstream/ChannelEstCoeff/Status.request.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,14 @@ url: "{{pypnm_cmts_url}}/cmts/pnm/sg/ds/ofdm/channelEstCoeff/status"
33
method: POST
44
body:
55
type: json
6-
content: "{\r
7-
8-
\ \"pnm_capture_operation_id\": \"{{chan_est_cmts_operation_id}}\"\r
9-
10-
}"
6+
content: "{
7+
\"operation\": {
8+
\"pnm_capture_operation_id\": \"{{chan_est_cmts_operation_id}}\"
9+
},
10+
\"response\": {
11+
\"output\": {
12+
\"request_summary\": \"brief\"
13+
}
14+
}
15+
}"
1116
order: 2000

postman/collections/PyPNM-CMTS/ServingGroup/Downstream/ConstellationDisplay/Cancel.request.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,14 @@ url: "{{pypnm_cmts_url}}/cmts/pnm/sg/ds/ofdm/constellationDisplay/cancel"
33
method: POST
44
body:
55
type: json
6-
content: "{\r
7-
8-
\ \"pnm_capture_operation_id\":
9-
\"{{constellation_display_cmts_operation_id}}\"\r
10-
11-
}"
6+
content: "{
7+
\"operation\": {
8+
\"pnm_capture_operation_id\": \"{{constellation_display_cmts_operation_id}}\"
9+
},
10+
\"response\": {
11+
\"output\": {
12+
\"request_summary\": \"brief\"
13+
}
14+
}
15+
}"
1216
order: 3000

postman/collections/PyPNM-CMTS/ServingGroup/Downstream/ConstellationDisplay/Results.request.yaml

Lines changed: 10 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -3,38 +3,16 @@ url: "{{pypnm_cmts_url}}/cmts/pnm/sg/ds/ofdm/constellationDisplay/results"
33
method: POST
44
body:
55
type: json
6-
content: "{\r
7-
8-
\ \"operation\": {\r
9-
10-
\ \"pnm_capture_operation_id\":
11-
\"{{constellation_display_cmts_operation_id}}\"\r
12-
13-
\ },\r
14-
15-
\ \"selection\": {\r
16-
17-
\ \"serving_group_ids\": [],\r
18-
19-
\ \"channel_ids\": [],\r
20-
21-
\ \"mac_addresses\": []\r
22-
23-
\ },\r
24-
25-
\ \"analysis\": {\r
26-
27-
\ \"type\": \"basic\"\r
28-
29-
\ },\r
30-
31-
\ \"output\": {\r
32-
33-
\ \"type\": \"json\"\r
34-
35-
\ }\r
36-
37-
}\r\n"
6+
content: "{
7+
\"operation\": {
8+
\"pnm_capture_operation_id\": \"{{constellation_display_cmts_operation_id}}\"
9+
},
10+
\"response\": {
11+
\"output\": {
12+
\"request_summary\": \"brief\"
13+
}
14+
}
15+
}"
3816
scripts:
3917
- type: afterResponse
4018
code: >-

postman/collections/PyPNM-CMTS/ServingGroup/Downstream/ConstellationDisplay/Status.request.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,14 @@ url: "{{pypnm_cmts_url}}/cmts/pnm/sg/ds/ofdm/constellationDisplay/status"
33
method: POST
44
body:
55
type: json
6-
content: "{\r
7-
8-
\ \"pnm_capture_operation_id\":
9-
\"{{constellation_display_cmts_operation_id}}\"\r
10-
11-
}"
6+
content: "{
7+
\"operation\": {
8+
\"pnm_capture_operation_id\": \"{{constellation_display_cmts_operation_id}}\"
9+
},
10+
\"response\": {
11+
\"output\": {
12+
\"request_summary\": \"brief\"
13+
}
14+
}
15+
}"
1216
order: 2000

postman/collections/PyPNM-CMTS/ServingGroup/Downstream/FecSummary/Cancel.request.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,14 @@ url: "{{pypnm_cmts_url}}/cmts/pnm/sg/ds/ofdm/fecSummary/cancel"
33
method: POST
44
body:
55
type: json
6-
content: "{\r
7-
8-
\ \"pnm_capture_operation_id\": \"{{fec_summary_cmts_operation_id}}\"\r
9-
10-
}"
6+
content: "{
7+
\"operation\": {
8+
\"pnm_capture_operation_id\": \"{{fec_summary_cmts_operation_id}}\"
9+
},
10+
\"response\": {
11+
\"output\": {
12+
\"request_summary\": \"brief\"
13+
}
14+
}
15+
}"
1116
order: 3000

postman/collections/PyPNM-CMTS/ServingGroup/Downstream/FecSummary/Results.request.yaml

Lines changed: 10 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,16 @@ url: "{{pypnm_cmts_url}}/cmts/pnm/sg/ds/ofdm/fecSummary/results"
33
method: POST
44
body:
55
type: json
6-
content: "{\r
7-
8-
\ \"operation\": {\r
9-
10-
\ \"pnm_capture_operation_id\": \"{{fec_summary_cmts_operation_id}}\"\r
11-
12-
\ },\r
13-
14-
\ \"selection\": {\r
15-
16-
\ \"serving_group_ids\": [],\r
17-
18-
\ \"channel_ids\": [],\r
19-
20-
\ \"mac_addresses\": []\r
21-
22-
\ },\r
23-
24-
\ \"analysis\": {\r
25-
26-
\ \"type\": \"basic\"\r
27-
28-
\ },\r
29-
30-
\ \"output\": {\r
31-
32-
\ \"type\": \"json\"\r
33-
34-
\ }\r
35-
36-
}\r\n"
6+
content: "{
7+
\"operation\": {
8+
\"pnm_capture_operation_id\": \"{{fec_summary_cmts_operation_id}}\"
9+
},
10+
\"response\": {
11+
\"output\": {
12+
\"request_summary\": \"brief\"
13+
}
14+
}
15+
}"
3716
scripts:
3817
- type: afterResponse
3918
code: >-

postman/collections/PyPNM-CMTS/ServingGroup/Downstream/FecSummary/Status.request.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,14 @@ url: "{{pypnm_cmts_url}}/cmts/pnm/sg/ds/ofdm/fecSummary/status"
33
method: POST
44
body:
55
type: json
6-
content: "{\r
7-
8-
\ \"pnm_capture_operation_id\": \"{{fec_summary_cmts_operation_id}}\"\r
9-
10-
}"
6+
content: "{
7+
\"operation\": {
8+
\"pnm_capture_operation_id\": \"{{fec_summary_cmts_operation_id}}\"
9+
},
10+
\"response\": {
11+
\"output\": {
12+
\"request_summary\": \"brief\"
13+
}
14+
}
15+
}"
1116
order: 2000

postman/collections/PyPNM-CMTS/ServingGroup/Downstream/Histogram/Cancel.request.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,14 @@ url: "{{pypnm_cmts_url}}/cmts/pnm/sg/ds/ofdm/histogram/cancel"
33
method: POST
44
body:
55
type: json
6-
content: "{\r
7-
8-
\ \"pnm_capture_operation_id\": \"{{histogram_cmts_operation_id}}\"\r
9-
10-
}"
6+
content: "{
7+
\"operation\": {
8+
\"pnm_capture_operation_id\": \"{{histogram_cmts_operation_id}}\"
9+
},
10+
\"response\": {
11+
\"output\": {
12+
\"request_summary\": \"brief\"
13+
}
14+
}
15+
}"
1116
order: 3000

0 commit comments

Comments
 (0)