Update API pages with v0.54.2

This commit is contained in:
netbirddev
2025-08-13 19:18:07 +00:00
parent e77a233390
commit a2f38e97eb

View File

@@ -181,6 +181,9 @@ echo $response;
"extra": {
"peer_approval_enabled": true,
"network_traffic_logs_enabled": true,
"network_traffic_logs_groups": [
"ch8i4ug6lnn4g9hqv7m0"
],
"network_traffic_packet_counter_enabled": true
},
"lazy_connection_enabled": true
@@ -218,6 +221,9 @@ echo $response;
"extra": {
"peer_approval_enabled": "boolean",
"network_traffic_logs_enabled": "boolean",
"network_traffic_logs_groups": [
"string"
],
"network_traffic_packet_counter_enabled": "boolean"
},
"lazy_connection_enabled": "boolean"
@@ -503,6 +509,11 @@ echo $response;
Enables or disables network traffic logging. If enabled, all network traffic events from peers will be stored.
</Property>
<Property name="network_traffic_logs_groups" type="string[]" required={true}>
Limits traffic logging to these groups. If unset all peers are enabled.
</Property>
<Property name="network_traffic_packet_counter_enabled" type="boolean" required={true}>
@@ -579,6 +590,9 @@ curl -X PUT https://api.netbird.io/api/accounts/{accountId} \
"extra": {
"peer_approval_enabled": true,
"network_traffic_logs_enabled": true,
"network_traffic_logs_groups": [
"ch8i4ug6lnn4g9hqv7m0"
],
"network_traffic_packet_counter_enabled": true
},
"lazy_connection_enabled": true
@@ -611,6 +625,9 @@ let data = JSON.stringify({
"extra": {
"peer_approval_enabled": true,
"network_traffic_logs_enabled": true,
"network_traffic_logs_groups": [
"ch8i4ug6lnn4g9hqv7m0"
],
"network_traffic_packet_counter_enabled": true
},
"lazy_connection_enabled": true
@@ -665,6 +682,9 @@ payload = json.dumps({
"extra": {
"peer_approval_enabled": true,
"network_traffic_logs_enabled": true,
"network_traffic_logs_groups": [
"ch8i4ug6lnn4g9hqv7m0"
],
"network_traffic_packet_counter_enabled": true
},
"lazy_connection_enabled": true
@@ -719,6 +739,9 @@ func main() {
"extra": {
"peer_approval_enabled": true,
"network_traffic_logs_enabled": true,
"network_traffic_logs_groups": [
"ch8i4ug6lnn4g9hqv7m0"
],
"network_traffic_packet_counter_enabled": true
},
"lazy_connection_enabled": true
@@ -791,6 +814,9 @@ request.body = JSON.dump({
"extra": {
"peer_approval_enabled": true,
"network_traffic_logs_enabled": true,
"network_traffic_logs_groups": [
"ch8i4ug6lnn4g9hqv7m0"
],
"network_traffic_packet_counter_enabled": true
},
"lazy_connection_enabled": true
@@ -827,6 +853,9 @@ RequestBody body = RequestBody.create(mediaType, '{
"extra": {
"peer_approval_enabled": true,
"network_traffic_logs_enabled": true,
"network_traffic_logs_groups": [
"ch8i4ug6lnn4g9hqv7m0"
],
"network_traffic_packet_counter_enabled": true
},
"lazy_connection_enabled": true
@@ -879,6 +908,9 @@ curl_setopt_array($curl, array(
"extra": {
"peer_approval_enabled": true,
"network_traffic_logs_enabled": true,
"network_traffic_logs_groups": [
"ch8i4ug6lnn4g9hqv7m0"
],
"network_traffic_packet_counter_enabled": true
},
"lazy_connection_enabled": true
@@ -926,6 +958,9 @@ echo $response;
"extra": {
"peer_approval_enabled": true,
"network_traffic_logs_enabled": true,
"network_traffic_logs_groups": [
"ch8i4ug6lnn4g9hqv7m0"
],
"network_traffic_packet_counter_enabled": true
},
"lazy_connection_enabled": true
@@ -961,6 +996,9 @@ echo $response;
"extra": {
"peer_approval_enabled": "boolean",
"network_traffic_logs_enabled": "boolean",
"network_traffic_logs_groups": [
"string"
],
"network_traffic_packet_counter_enabled": "boolean"
},
"lazy_connection_enabled": "boolean"