Update API pages with v0.50.0

This commit is contained in:
netbirddev
2025-07-04 19:15:29 +00:00
parent 9dc623cd05
commit 4f34fa5fee

View File

@@ -187,7 +187,11 @@ echo $response;
"domain": "netbird.io",
"domain_category": "private",
"created_at": "2023-05-05T09:00:35.477782Z",
"created_by": "google-oauth2|277474792786460067937"
"created_by": "google-oauth2|277474792786460067937",
"onboarding": {
"signup_form_pending": true,
"onboarding_flow_pending": false
}
}
]
```
@@ -219,7 +223,11 @@ echo $response;
"domain": "string",
"domain_category": "string",
"created_at": "string",
"created_by": "string"
"created_by": "string",
"onboarding": {
"signup_form_pending": "boolean",
"onboarding_flow_pending": "boolean"
}
}
]
```
@@ -510,6 +518,28 @@ echo $response;
</Properties>
</details>
</Property>
<Property name="onboarding" type="object" required={false}>
<details class="custom-details" open>
<summary>More Information</summary>
<Properties>
<Properties><Property name="signup_form_pending" type="boolean" required={true}>
Indicates whether the account signup form is pending
</Property>
<Property name="onboarding_flow_pending" type="boolean" required={true}>
Indicates whether the account onboarding flow is pending
</Property>
</Properties>
</Properties>
</details>
</Property>
</Properties>
@@ -544,6 +574,10 @@ curl -X PUT https://api.netbird.io/api/accounts/{accountId} \
"network_traffic_packet_counter_enabled": true
},
"lazy_connection_enabled": true
},
"onboarding": {
"signup_form_pending": true,
"onboarding_flow_pending": false
}
}'
```
@@ -571,6 +605,10 @@ let data = JSON.stringify({
"network_traffic_packet_counter_enabled": true
},
"lazy_connection_enabled": true
},
"onboarding": {
"signup_form_pending": true,
"onboarding_flow_pending": false
}
});
let config = {
@@ -620,6 +658,10 @@ payload = json.dumps({
"network_traffic_packet_counter_enabled": true
},
"lazy_connection_enabled": true
},
"onboarding": {
"signup_form_pending": true,
"onboarding_flow_pending": false
}
})
headers = {
@@ -669,6 +711,10 @@ func main() {
"network_traffic_packet_counter_enabled": true
},
"lazy_connection_enabled": true
},
"onboarding": {
"signup_form_pending": true,
"onboarding_flow_pending": false
}
}`)
client := &http.Client {
@@ -736,6 +782,10 @@ request.body = JSON.dump({
"network_traffic_packet_counter_enabled": true
},
"lazy_connection_enabled": true
},
"onboarding": {
"signup_form_pending": true,
"onboarding_flow_pending": false
}
})
response = https.request(request)
@@ -767,6 +817,10 @@ RequestBody body = RequestBody.create(mediaType, '{
"network_traffic_packet_counter_enabled": true
},
"lazy_connection_enabled": true
},
"onboarding": {
"signup_form_pending": true,
"onboarding_flow_pending": false
}
}');
Request request = new Request.Builder()
@@ -814,6 +868,10 @@ curl_setopt_array($curl, array(
"network_traffic_packet_counter_enabled": true
},
"lazy_connection_enabled": true
},
"onboarding": {
"signup_form_pending": true,
"onboarding_flow_pending": false
}
}',
CURLOPT_HTTPHEADER => array(
@@ -860,7 +918,11 @@ echo $response;
"domain": "netbird.io",
"domain_category": "private",
"created_at": "2023-05-05T09:00:35.477782Z",
"created_by": "google-oauth2|277474792786460067937"
"created_by": "google-oauth2|277474792786460067937",
"onboarding": {
"signup_form_pending": true,
"onboarding_flow_pending": false
}
}
```
```json {{ title: 'Schema' }}
@@ -890,7 +952,11 @@ echo $response;
"domain": "string",
"domain_category": "string",
"created_at": "string",
"created_by": "string"
"created_by": "string",
"onboarding": {
"signup_form_pending": "boolean",
"onboarding_flow_pending": "boolean"
}
}
```
</CodeGroup>