mirror of
https://github.com/netbirdio/docs.git
synced 2026-09-18 04:49:05 +02:00
Update API pages with v0.79.0-rc.1
This commit is contained in:
@@ -214,11 +214,6 @@ echo $response;
|
||||
"windows_path": "C:
rogramData
etBird\netbird.exe"
|
||||
}
|
||||
]
|
||||
},
|
||||
"certificate_check": {
|
||||
"ca_certificates": [
|
||||
"-----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -274,11 +269,6 @@ echo $response;
|
||||
"windows_path": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
"certificate_check": {
|
||||
"ca_certificates": [
|
||||
"string"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -530,23 +520,6 @@ echo $response;
|
||||
</Properties>
|
||||
</details>
|
||||
|
||||
</Property>
|
||||
<Property name="certificate_check" type="object" required={false}>
|
||||
|
||||
<details className="custom-details" open>
|
||||
<summary>Posture check for a certificate held by the peer that chains to one of the given CA certificates</summary>
|
||||
<Properties>
|
||||
|
||||
<Properties><Property name="ca_certificates" type="string[]" required={true}>
|
||||
|
||||
PEM encoded CA certificates the peer's certificate must chain to
|
||||
|
||||
</Property>
|
||||
</Properties>
|
||||
|
||||
</Properties>
|
||||
</details>
|
||||
|
||||
</Property>
|
||||
</Properties>
|
||||
|
||||
@@ -617,11 +590,6 @@ curl -X POST https://api.netbird.io/api/posture-checks \
|
||||
"windows_path": "C:
rogramData
etBird\netbird.exe"
|
||||
}
|
||||
]
|
||||
},
|
||||
"certificate_check": {
|
||||
"ca_certificates": [
|
||||
"-----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----"
|
||||
]
|
||||
}
|
||||
}
|
||||
}'
|
||||
@@ -680,11 +648,6 @@ let data = JSON.stringify({
|
||||
"windows_path": "C:
rogramData
etBird\netbird.exe"
|
||||
}
|
||||
]
|
||||
},
|
||||
"certificate_check": {
|
||||
"ca_certificates": [
|
||||
"-----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----"
|
||||
]
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -765,11 +728,6 @@ payload = json.dumps({
|
||||
"windows_path": "C:
rogramData
etBird\netbird.exe"
|
||||
}
|
||||
]
|
||||
},
|
||||
"certificate_check": {
|
||||
"ca_certificates": [
|
||||
"-----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----"
|
||||
]
|
||||
}
|
||||
}
|
||||
})
|
||||
@@ -850,11 +808,6 @@ func main() {
|
||||
"windows_path": "C:
rogramData
etBird\netbird.exe"
|
||||
}
|
||||
]
|
||||
},
|
||||
"certificate_check": {
|
||||
"ca_certificates": [
|
||||
"-----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----"
|
||||
]
|
||||
}
|
||||
}
|
||||
}`)
|
||||
@@ -954,11 +907,6 @@ request.body = JSON.dump({
|
||||
"windows_path": "C:
rogramData
etBird\netbird.exe"
|
||||
}
|
||||
]
|
||||
},
|
||||
"certificate_check": {
|
||||
"ca_certificates": [
|
||||
"-----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----"
|
||||
]
|
||||
}
|
||||
}
|
||||
})
|
||||
@@ -1021,11 +969,6 @@ RequestBody body = RequestBody.create(mediaType, '{
|
||||
"windows_path": "C:
rogramData
etBird\netbird.exe"
|
||||
}
|
||||
]
|
||||
},
|
||||
"certificate_check": {
|
||||
"ca_certificates": [
|
||||
"-----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----"
|
||||
]
|
||||
}
|
||||
}
|
||||
}');
|
||||
@@ -1104,11 +1047,6 @@ curl_setopt_array($curl, array(
|
||||
"windows_path": "C:
rogramData
etBird\netbird.exe"
|
||||
}
|
||||
]
|
||||
},
|
||||
"certificate_check": {
|
||||
"ca_certificates": [
|
||||
"-----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----"
|
||||
]
|
||||
}
|
||||
}
|
||||
}',
|
||||
@@ -1182,11 +1120,6 @@ echo $response;
|
||||
"windows_path": "C:
rogramData
etBird\netbird.exe"
|
||||
}
|
||||
]
|
||||
},
|
||||
"certificate_check": {
|
||||
"ca_certificates": [
|
||||
"-----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1240,11 +1173,6 @@ echo $response;
|
||||
"windows_path": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
"certificate_check": {
|
||||
"ca_certificates": [
|
||||
"string"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1477,11 +1405,6 @@ echo $response;
|
||||
"windows_path": "C:
rogramData
etBird\netbird.exe"
|
||||
}
|
||||
]
|
||||
},
|
||||
"certificate_check": {
|
||||
"ca_certificates": [
|
||||
"-----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1535,11 +1458,6 @@ echo $response;
|
||||
"windows_path": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
"certificate_check": {
|
||||
"ca_certificates": [
|
||||
"string"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1798,23 +1716,6 @@ echo $response;
|
||||
</Properties>
|
||||
</details>
|
||||
|
||||
</Property>
|
||||
<Property name="certificate_check" type="object" required={false}>
|
||||
|
||||
<details className="custom-details" open>
|
||||
<summary>Posture check for a certificate held by the peer that chains to one of the given CA certificates</summary>
|
||||
<Properties>
|
||||
|
||||
<Properties><Property name="ca_certificates" type="string[]" required={true}>
|
||||
|
||||
PEM encoded CA certificates the peer's certificate must chain to
|
||||
|
||||
</Property>
|
||||
</Properties>
|
||||
|
||||
</Properties>
|
||||
</details>
|
||||
|
||||
</Property>
|
||||
</Properties>
|
||||
|
||||
@@ -1885,11 +1786,6 @@ curl -X PUT https://api.netbird.io/api/posture-checks/{postureCheckId} \
|
||||
"windows_path": "C:
rogramData
etBird\netbird.exe"
|
||||
}
|
||||
]
|
||||
},
|
||||
"certificate_check": {
|
||||
"ca_certificates": [
|
||||
"-----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----"
|
||||
]
|
||||
}
|
||||
}
|
||||
}'
|
||||
@@ -1948,11 +1844,6 @@ let data = JSON.stringify({
|
||||
"windows_path": "C:
rogramData
etBird\netbird.exe"
|
||||
}
|
||||
]
|
||||
},
|
||||
"certificate_check": {
|
||||
"ca_certificates": [
|
||||
"-----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----"
|
||||
]
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -2033,11 +1924,6 @@ payload = json.dumps({
|
||||
"windows_path": "C:
rogramData
etBird\netbird.exe"
|
||||
}
|
||||
]
|
||||
},
|
||||
"certificate_check": {
|
||||
"ca_certificates": [
|
||||
"-----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----"
|
||||
]
|
||||
}
|
||||
}
|
||||
})
|
||||
@@ -2118,11 +2004,6 @@ func main() {
|
||||
"windows_path": "C:
rogramData
etBird\netbird.exe"
|
||||
}
|
||||
]
|
||||
},
|
||||
"certificate_check": {
|
||||
"ca_certificates": [
|
||||
"-----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----"
|
||||
]
|
||||
}
|
||||
}
|
||||
}`)
|
||||
@@ -2222,11 +2103,6 @@ request.body = JSON.dump({
|
||||
"windows_path": "C:
rogramData
etBird\netbird.exe"
|
||||
}
|
||||
]
|
||||
},
|
||||
"certificate_check": {
|
||||
"ca_certificates": [
|
||||
"-----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----"
|
||||
]
|
||||
}
|
||||
}
|
||||
})
|
||||
@@ -2289,11 +2165,6 @@ RequestBody body = RequestBody.create(mediaType, '{
|
||||
"windows_path": "C:
rogramData
etBird\netbird.exe"
|
||||
}
|
||||
]
|
||||
},
|
||||
"certificate_check": {
|
||||
"ca_certificates": [
|
||||
"-----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----"
|
||||
]
|
||||
}
|
||||
}
|
||||
}');
|
||||
@@ -2372,11 +2243,6 @@ curl_setopt_array($curl, array(
|
||||
"windows_path": "C:
rogramData
etBird\netbird.exe"
|
||||
}
|
||||
]
|
||||
},
|
||||
"certificate_check": {
|
||||
"ca_certificates": [
|
||||
"-----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----"
|
||||
]
|
||||
}
|
||||
}
|
||||
}',
|
||||
@@ -2450,11 +2316,6 @@ echo $response;
|
||||
"windows_path": "C:
rogramData
etBird\netbird.exe"
|
||||
}
|
||||
]
|
||||
},
|
||||
"certificate_check": {
|
||||
"ca_certificates": [
|
||||
"-----BEGIN CERTIFICATE-----\nMIIB...\n-----END CERTIFICATE-----"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2508,11 +2369,6 @@ echo $response;
|
||||
"windows_path": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
"certificate_check": {
|
||||
"ca_certificates": [
|
||||
"string"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user