Skip to content

Commit a2f38e9

Browse files
author
netbirddev
committed
Update API pages with v0.54.2
1 parent e77a233 commit a2f38e9

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

src/pages/ipa/resources/accounts.mdx

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,9 @@ echo $response;
181181
"extra": {
182182
"peer_approval_enabled": true,
183183
"network_traffic_logs_enabled": true,
184+
"network_traffic_logs_groups": [
185+
"ch8i4ug6lnn4g9hqv7m0"
186+
],
184187
"network_traffic_packet_counter_enabled": true
185188
},
186189
"lazy_connection_enabled": true
@@ -218,6 +221,9 @@ echo $response;
218221
"extra": {
219222
"peer_approval_enabled": "boolean",
220223
"network_traffic_logs_enabled": "boolean",
224+
"network_traffic_logs_groups": [
225+
"string"
226+
],
221227
"network_traffic_packet_counter_enabled": "boolean"
222228
},
223229
"lazy_connection_enabled": "boolean"
@@ -503,6 +509,11 @@ echo $response;
503509
504510
Enables or disables network traffic logging. If enabled, all network traffic events from peers will be stored.
505511
512+
</Property>
513+
<Property name="network_traffic_logs_groups" type="string[]" required={true}>
514+
515+
Limits traffic logging to these groups. If unset all peers are enabled.
516+
506517
</Property>
507518
<Property name="network_traffic_packet_counter_enabled" type="boolean" required={true}>
508519
@@ -579,6 +590,9 @@ curl -X PUT https://api.netbird.io/api/accounts/{accountId} \
579590
"extra": {
580591
"peer_approval_enabled": true,
581592
"network_traffic_logs_enabled": true,
593+
"network_traffic_logs_groups": [
594+
"ch8i4ug6lnn4g9hqv7m0"
595+
],
582596
"network_traffic_packet_counter_enabled": true
583597
},
584598
"lazy_connection_enabled": true
@@ -611,6 +625,9 @@ let data = JSON.stringify({
611625
"extra": {
612626
"peer_approval_enabled": true,
613627
"network_traffic_logs_enabled": true,
628+
"network_traffic_logs_groups": [
629+
"ch8i4ug6lnn4g9hqv7m0"
630+
],
614631
"network_traffic_packet_counter_enabled": true
615632
},
616633
"lazy_connection_enabled": true
@@ -665,6 +682,9 @@ payload = json.dumps({
665682
"extra": {
666683
"peer_approval_enabled": true,
667684
"network_traffic_logs_enabled": true,
685+
"network_traffic_logs_groups": [
686+
"ch8i4ug6lnn4g9hqv7m0"
687+
],
668688
"network_traffic_packet_counter_enabled": true
669689
},
670690
"lazy_connection_enabled": true
@@ -719,6 +739,9 @@ func main() {
719739
"extra": {
720740
"peer_approval_enabled": true,
721741
"network_traffic_logs_enabled": true,
742+
"network_traffic_logs_groups": [
743+
"ch8i4ug6lnn4g9hqv7m0"
744+
],
722745
"network_traffic_packet_counter_enabled": true
723746
},
724747
"lazy_connection_enabled": true
@@ -791,6 +814,9 @@ request.body = JSON.dump({
791814
"extra": {
792815
"peer_approval_enabled": true,
793816
"network_traffic_logs_enabled": true,
817+
"network_traffic_logs_groups": [
818+
"ch8i4ug6lnn4g9hqv7m0"
819+
],
794820
"network_traffic_packet_counter_enabled": true
795821
},
796822
"lazy_connection_enabled": true
@@ -827,6 +853,9 @@ RequestBody body = RequestBody.create(mediaType, '{
827853
"extra": {
828854
"peer_approval_enabled": true,
829855
"network_traffic_logs_enabled": true,
856+
"network_traffic_logs_groups": [
857+
"ch8i4ug6lnn4g9hqv7m0"
858+
],
830859
"network_traffic_packet_counter_enabled": true
831860
},
832861
"lazy_connection_enabled": true
@@ -879,6 +908,9 @@ curl_setopt_array($curl, array(
879908
"extra": {
880909
"peer_approval_enabled": true,
881910
"network_traffic_logs_enabled": true,
911+
"network_traffic_logs_groups": [
912+
"ch8i4ug6lnn4g9hqv7m0"
913+
],
882914
"network_traffic_packet_counter_enabled": true
883915
},
884916
"lazy_connection_enabled": true
@@ -926,6 +958,9 @@ echo $response;
926958
"extra": {
927959
"peer_approval_enabled": true,
928960
"network_traffic_logs_enabled": true,
961+
"network_traffic_logs_groups": [
962+
"ch8i4ug6lnn4g9hqv7m0"
963+
],
929964
"network_traffic_packet_counter_enabled": true
930965
},
931966
"lazy_connection_enabled": true
@@ -961,6 +996,9 @@ echo $response;
961996
"extra": {
962997
"peer_approval_enabled": "boolean",
963998
"network_traffic_logs_enabled": "boolean",
999+
"network_traffic_logs_groups": [
1000+
"string"
1001+
],
9641002
"network_traffic_packet_counter_enabled": "boolean"
9651003
},
9661004
"lazy_connection_enabled": "boolean"

0 commit comments

Comments
 (0)