Update API pages with v0.42.0

This commit is contained in:
netbirddev
2025-04-23 20:28:45 +00:00
parent b64c52e5bd
commit 0cbdc99cb1

View File

@@ -176,12 +176,17 @@ echo $response;
"Administrators"
],
"routing_peer_dns_resolution_enabled": true,
"dns_domain": "my-organization.org",
"extra": {
"peer_approval_enabled": true,
"network_traffic_logs_enabled": true,
"network_traffic_packet_counter_enabled": true
}
}
},
"domain": "netbird.io",
"domain_category": "private",
"created_at": "2023-05-05T09:00:35.477782Z",
"created_by": "google-oauth2|277474792786460067937"
}
]
```
@@ -202,12 +207,17 @@ echo $response;
"string"
],
"routing_peer_dns_resolution_enabled": "boolean",
"dns_domain": "string",
"extra": {
"peer_approval_enabled": "boolean",
"network_traffic_logs_enabled": "boolean",
"network_traffic_packet_counter_enabled": "boolean"
}
}
},
"domain": "string",
"domain_category": "string",
"created_at": "string",
"created_by": "string"
}
]
```
@@ -455,6 +465,11 @@ echo $response;
Enables or disables DNS resolution on the routing peers
</Property>
<Property name="dns_domain" type="string" required={false}>
Allows to define a custom dns domain for the account
</Property>
<Property name="extra" type="object" required={false}>
@@ -515,6 +530,7 @@ curl -X PUT https://api.netbird.io/api/accounts/{accountId} \
"Administrators"
],
"routing_peer_dns_resolution_enabled": true,
"dns_domain": "my-organization.org",
"extra": {
"peer_approval_enabled": true,
"network_traffic_logs_enabled": true,
@@ -540,6 +556,7 @@ let data = JSON.stringify({
"Administrators"
],
"routing_peer_dns_resolution_enabled": true,
"dns_domain": "my-organization.org",
"extra": {
"peer_approval_enabled": true,
"network_traffic_logs_enabled": true,
@@ -587,6 +604,7 @@ payload = json.dumps({
"Administrators"
],
"routing_peer_dns_resolution_enabled": true,
"dns_domain": "my-organization.org",
"extra": {
"peer_approval_enabled": true,
"network_traffic_logs_enabled": true,
@@ -634,6 +652,7 @@ func main() {
"Administrators"
],
"routing_peer_dns_resolution_enabled": true,
"dns_domain": "my-organization.org",
"extra": {
"peer_approval_enabled": true,
"network_traffic_logs_enabled": true,
@@ -699,6 +718,7 @@ request.body = JSON.dump({
"Administrators"
],
"routing_peer_dns_resolution_enabled": true,
"dns_domain": "my-organization.org",
"extra": {
"peer_approval_enabled": true,
"network_traffic_logs_enabled": true,
@@ -728,6 +748,7 @@ RequestBody body = RequestBody.create(mediaType, '{
"Administrators"
],
"routing_peer_dns_resolution_enabled": true,
"dns_domain": "my-organization.org",
"extra": {
"peer_approval_enabled": true,
"network_traffic_logs_enabled": true,
@@ -773,6 +794,7 @@ curl_setopt_array($curl, array(
"Administrators"
],
"routing_peer_dns_resolution_enabled": true,
"dns_domain": "my-organization.org",
"extra": {
"peer_approval_enabled": true,
"network_traffic_logs_enabled": true,
@@ -813,12 +835,17 @@ echo $response;
"Administrators"
],
"routing_peer_dns_resolution_enabled": true,
"dns_domain": "my-organization.org",
"extra": {
"peer_approval_enabled": true,
"network_traffic_logs_enabled": true,
"network_traffic_packet_counter_enabled": true
}
}
},
"domain": "netbird.io",
"domain_category": "private",
"created_at": "2023-05-05T09:00:35.477782Z",
"created_by": "google-oauth2|277474792786460067937"
}
```
```json {{ title: 'Schema' }}
@@ -837,12 +864,17 @@ echo $response;
"string"
],
"routing_peer_dns_resolution_enabled": "boolean",
"dns_domain": "string",
"extra": {
"peer_approval_enabled": "boolean",
"network_traffic_logs_enabled": "boolean",
"network_traffic_packet_counter_enabled": "boolean"
}
}
},
"domain": "string",
"domain_category": "string",
"created_at": "string",
"created_by": "string"
}
```
</CodeGroup>