Update API pages with v0.30.0

This commit is contained in:
netbirddev
2024-10-04 17:50:13 +00:00
parent 57a6fa739b
commit b7a15c65b2
3 changed files with 330 additions and 114 deletions
+178 -2
View File
@@ -181,6 +181,12 @@ echo $response;
"ports": [ "ports": [
"80" "80"
], ],
"port_ranges": [
{
"start": 80,
"end": 320
}
],
"sources": [ "sources": [
{ {
"id": "ch8i4ug6lnn4g9hqv7m0", "id": "ch8i4ug6lnn4g9hqv7m0",
@@ -224,6 +230,12 @@ echo $response;
"ports": [ "ports": [
"string" "string"
], ],
"port_ranges": [
{
"start": "integer",
"end": "integer"
}
],
"sources": [ "sources": [
{ {
"id": "string", "id": "string",
@@ -330,7 +342,29 @@ echo $response;
</Property> </Property>
<Property name="ports" type="string[]" required={false}> <Property name="ports" type="string[]" required={false}>
Policy rule affected ports or it ranges list Policy rule affected ports
</Property>
<Property name="port_ranges" type="object[]" required={false}>
<details class="custom-details" open>
<summary>Policy rule affected ports ranges list</summary>
<Properties>
<Properties><Property name="start" type="integer" required={true}>
The starting port of the range
</Property>
<Property name="end" type="integer" required={true}>
The ending port of the range
</Property>
</Properties>
</Properties>
</details>
</Property> </Property>
<Property name="sources" type="string[]" required={true}> <Property name="sources" type="string[]" required={true}>
@@ -381,6 +415,12 @@ curl -X POST https://api.netbird.io/api/policies \
"ports": [ "ports": [
"80" "80"
], ],
"port_ranges": [
{
"start": 80,
"end": 320
}
],
"sources": [ "sources": [
"ch8i4ug6lnn4g9hqv797" "ch8i4ug6lnn4g9hqv797"
], ],
@@ -414,6 +454,12 @@ let data = JSON.stringify({
"ports": [ "ports": [
"80" "80"
], ],
"port_ranges": [
{
"start": 80,
"end": 320
}
],
"sources": [ "sources": [
"ch8i4ug6lnn4g9hqv797" "ch8i4ug6lnn4g9hqv797"
], ],
@@ -469,6 +515,12 @@ payload = json.dumps({
"ports": [ "ports": [
"80" "80"
], ],
"port_ranges": [
{
"start": 80,
"end": 320
}
],
"sources": [ "sources": [
"ch8i4ug6lnn4g9hqv797" "ch8i4ug6lnn4g9hqv797"
], ],
@@ -524,6 +576,12 @@ func main() {
"ports": [ "ports": [
"80" "80"
], ],
"port_ranges": [
{
"start": 80,
"end": 320
}
],
"sources": [ "sources": [
"ch8i4ug6lnn4g9hqv797" "ch8i4ug6lnn4g9hqv797"
], ],
@@ -597,6 +655,12 @@ request.body = JSON.dump({
"ports": [ "ports": [
"80" "80"
], ],
"port_ranges": [
{
"start": 80,
"end": 320
}
],
"sources": [ "sources": [
"ch8i4ug6lnn4g9hqv797" "ch8i4ug6lnn4g9hqv797"
], ],
@@ -634,6 +698,12 @@ RequestBody body = RequestBody.create(mediaType, '{
"ports": [ "ports": [
"80" "80"
], ],
"port_ranges": [
{
"start": 80,
"end": 320
}
],
"sources": [ "sources": [
"ch8i4ug6lnn4g9hqv797" "ch8i4ug6lnn4g9hqv797"
], ],
@@ -687,6 +757,12 @@ curl_setopt_array($curl, array(
"ports": [ "ports": [
"80" "80"
], ],
"port_ranges": [
{
"start": 80,
"end": 320
}
],
"sources": [ "sources": [
"ch8i4ug6lnn4g9hqv797" "ch8i4ug6lnn4g9hqv797"
], ],
@@ -734,6 +810,12 @@ echo $response;
"ports": [ "ports": [
"80" "80"
], ],
"port_ranges": [
{
"start": 80,
"end": 320
}
],
"sources": [ "sources": [
{ {
"id": "ch8i4ug6lnn4g9hqv7m0", "id": "ch8i4ug6lnn4g9hqv7m0",
@@ -775,6 +857,12 @@ echo $response;
"ports": [ "ports": [
"string" "string"
], ],
"port_ranges": [
{
"start": "integer",
"end": "integer"
}
],
"sources": [ "sources": [
{ {
"id": "string", "id": "string",
@@ -990,6 +1078,12 @@ echo $response;
"ports": [ "ports": [
"80" "80"
], ],
"port_ranges": [
{
"start": 80,
"end": 320
}
],
"sources": [ "sources": [
{ {
"id": "ch8i4ug6lnn4g9hqv7m0", "id": "ch8i4ug6lnn4g9hqv7m0",
@@ -1031,6 +1125,12 @@ echo $response;
"ports": [ "ports": [
"string" "string"
], ],
"port_ranges": [
{
"start": "integer",
"end": "integer"
}
],
"sources": [ "sources": [
{ {
"id": "string", "id": "string",
@@ -1144,7 +1244,29 @@ echo $response;
</Property> </Property>
<Property name="ports" type="string[]" required={false}> <Property name="ports" type="string[]" required={false}>
Policy rule affected ports or it ranges list Policy rule affected ports
</Property>
<Property name="port_ranges" type="object[]" required={false}>
<details class="custom-details" open>
<summary>Policy rule affected ports ranges list</summary>
<Properties>
<Properties><Property name="start" type="integer" required={true}>
The starting port of the range
</Property>
<Property name="end" type="integer" required={true}>
The ending port of the range
</Property>
</Properties>
</Properties>
</details>
</Property> </Property>
<Property name="sources" type="string[]" required={true}> <Property name="sources" type="string[]" required={true}>
@@ -1195,6 +1317,12 @@ curl -X PUT https://api.netbird.io/api/policies/{policyId} \
"ports": [ "ports": [
"80" "80"
], ],
"port_ranges": [
{
"start": 80,
"end": 320
}
],
"sources": [ "sources": [
"ch8i4ug6lnn4g9hqv797" "ch8i4ug6lnn4g9hqv797"
], ],
@@ -1228,6 +1356,12 @@ let data = JSON.stringify({
"ports": [ "ports": [
"80" "80"
], ],
"port_ranges": [
{
"start": 80,
"end": 320
}
],
"sources": [ "sources": [
"ch8i4ug6lnn4g9hqv797" "ch8i4ug6lnn4g9hqv797"
], ],
@@ -1283,6 +1417,12 @@ payload = json.dumps({
"ports": [ "ports": [
"80" "80"
], ],
"port_ranges": [
{
"start": 80,
"end": 320
}
],
"sources": [ "sources": [
"ch8i4ug6lnn4g9hqv797" "ch8i4ug6lnn4g9hqv797"
], ],
@@ -1338,6 +1478,12 @@ func main() {
"ports": [ "ports": [
"80" "80"
], ],
"port_ranges": [
{
"start": 80,
"end": 320
}
],
"sources": [ "sources": [
"ch8i4ug6lnn4g9hqv797" "ch8i4ug6lnn4g9hqv797"
], ],
@@ -1411,6 +1557,12 @@ request.body = JSON.dump({
"ports": [ "ports": [
"80" "80"
], ],
"port_ranges": [
{
"start": 80,
"end": 320
}
],
"sources": [ "sources": [
"ch8i4ug6lnn4g9hqv797" "ch8i4ug6lnn4g9hqv797"
], ],
@@ -1448,6 +1600,12 @@ RequestBody body = RequestBody.create(mediaType, '{
"ports": [ "ports": [
"80" "80"
], ],
"port_ranges": [
{
"start": 80,
"end": 320
}
],
"sources": [ "sources": [
"ch8i4ug6lnn4g9hqv797" "ch8i4ug6lnn4g9hqv797"
], ],
@@ -1501,6 +1659,12 @@ curl_setopt_array($curl, array(
"ports": [ "ports": [
"80" "80"
], ],
"port_ranges": [
{
"start": 80,
"end": 320
}
],
"sources": [ "sources": [
"ch8i4ug6lnn4g9hqv797" "ch8i4ug6lnn4g9hqv797"
], ],
@@ -1548,6 +1712,12 @@ echo $response;
"ports": [ "ports": [
"80" "80"
], ],
"port_ranges": [
{
"start": 80,
"end": 320
}
],
"sources": [ "sources": [
{ {
"id": "ch8i4ug6lnn4g9hqv7m0", "id": "ch8i4ug6lnn4g9hqv7m0",
@@ -1589,6 +1759,12 @@ echo $response;
"ports": [ "ports": [
"string" "string"
], ],
"port_ranges": [
{
"start": "integer",
"end": "integer"
}
],
"sources": [ "sources": [
{ {
"id": "string", "id": "string",
+54 -90
View File
@@ -197,11 +197,9 @@ echo $response;
}, },
"peer_network_range_check": { "peer_network_range_check": {
"ranges": [ "ranges": [
[ "192.168.1.0/24",
"192.168.1.0/24", "10.0.0.0/8",
"10.0.0.0/8", "2001:db8:1234:1a00::/56"
"2001:db8:1234:1a00::/56"
]
], ],
"action": "allow" "action": "allow"
}, },
@@ -573,11 +571,9 @@ curl -X POST https://api.netbird.io/api/posture-checks \
}, },
"peer_network_range_check": { "peer_network_range_check": {
"ranges": [ "ranges": [
[ "192.168.1.0/24",
"192.168.1.0/24", "10.0.0.0/8",
"10.0.0.0/8", "2001:db8:1234:1a00::/56"
"2001:db8:1234:1a00::/56"
]
], ],
"action": "allow" "action": "allow"
}, },
@@ -631,11 +627,9 @@ let data = JSON.stringify({
}, },
"peer_network_range_check": { "peer_network_range_check": {
"ranges": [ "ranges": [
[ "192.168.1.0/24",
"192.168.1.0/24", "10.0.0.0/8",
"10.0.0.0/8", "2001:db8:1234:1a00::/56"
"2001:db8:1234:1a00::/56"
]
], ],
"action": "allow" "action": "allow"
}, },
@@ -711,11 +705,9 @@ payload = json.dumps({
}, },
"peer_network_range_check": { "peer_network_range_check": {
"ranges": [ "ranges": [
[ "192.168.1.0/24",
"192.168.1.0/24", "10.0.0.0/8",
"10.0.0.0/8", "2001:db8:1234:1a00::/56"
"2001:db8:1234:1a00::/56"
]
], ],
"action": "allow" "action": "allow"
}, },
@@ -791,11 +783,9 @@ func main() {
}, },
"peer_network_range_check": { "peer_network_range_check": {
"ranges": [ "ranges": [
[ "192.168.1.0/24",
"192.168.1.0/24", "10.0.0.0/8",
"10.0.0.0/8", "2001:db8:1234:1a00::/56"
"2001:db8:1234:1a00::/56"
]
], ],
"action": "allow" "action": "allow"
}, },
@@ -889,11 +879,9 @@ request.body = JSON.dump({
}, },
"peer_network_range_check": { "peer_network_range_check": {
"ranges": [ "ranges": [
[ "192.168.1.0/24",
"192.168.1.0/24", "10.0.0.0/8",
"10.0.0.0/8", "2001:db8:1234:1a00::/56"
"2001:db8:1234:1a00::/56"
]
], ],
"action": "allow" "action": "allow"
}, },
@@ -951,11 +939,9 @@ RequestBody body = RequestBody.create(mediaType, '{
}, },
"peer_network_range_check": { "peer_network_range_check": {
"ranges": [ "ranges": [
[ "192.168.1.0/24",
"192.168.1.0/24", "10.0.0.0/8",
"10.0.0.0/8", "2001:db8:1234:1a00::/56"
"2001:db8:1234:1a00::/56"
]
], ],
"action": "allow" "action": "allow"
}, },
@@ -1029,11 +1015,9 @@ curl_setopt_array($curl, array(
}, },
"peer_network_range_check": { "peer_network_range_check": {
"ranges": [ "ranges": [
[ "192.168.1.0/24",
"192.168.1.0/24", "10.0.0.0/8",
"10.0.0.0/8", "2001:db8:1234:1a00::/56"
"2001:db8:1234:1a00::/56"
]
], ],
"action": "allow" "action": "allow"
}, },
@@ -1102,11 +1086,9 @@ echo $response;
}, },
"peer_network_range_check": { "peer_network_range_check": {
"ranges": [ "ranges": [
[ "192.168.1.0/24",
"192.168.1.0/24", "10.0.0.0/8",
"10.0.0.0/8", "2001:db8:1234:1a00::/56"
"2001:db8:1234:1a00::/56"
]
], ],
"action": "allow" "action": "allow"
}, },
@@ -1386,11 +1368,9 @@ echo $response;
}, },
"peer_network_range_check": { "peer_network_range_check": {
"ranges": [ "ranges": [
[ "192.168.1.0/24",
"192.168.1.0/24", "10.0.0.0/8",
"10.0.0.0/8", "2001:db8:1234:1a00::/56"
"2001:db8:1234:1a00::/56"
]
], ],
"action": "allow" "action": "allow"
}, },
@@ -1767,11 +1747,9 @@ curl -X PUT https://api.netbird.io/api/posture-checks/{postureCheckId} \
}, },
"peer_network_range_check": { "peer_network_range_check": {
"ranges": [ "ranges": [
[ "192.168.1.0/24",
"192.168.1.0/24", "10.0.0.0/8",
"10.0.0.0/8", "2001:db8:1234:1a00::/56"
"2001:db8:1234:1a00::/56"
]
], ],
"action": "allow" "action": "allow"
}, },
@@ -1825,11 +1803,9 @@ let data = JSON.stringify({
}, },
"peer_network_range_check": { "peer_network_range_check": {
"ranges": [ "ranges": [
[ "192.168.1.0/24",
"192.168.1.0/24", "10.0.0.0/8",
"10.0.0.0/8", "2001:db8:1234:1a00::/56"
"2001:db8:1234:1a00::/56"
]
], ],
"action": "allow" "action": "allow"
}, },
@@ -1905,11 +1881,9 @@ payload = json.dumps({
}, },
"peer_network_range_check": { "peer_network_range_check": {
"ranges": [ "ranges": [
[ "192.168.1.0/24",
"192.168.1.0/24", "10.0.0.0/8",
"10.0.0.0/8", "2001:db8:1234:1a00::/56"
"2001:db8:1234:1a00::/56"
]
], ],
"action": "allow" "action": "allow"
}, },
@@ -1985,11 +1959,9 @@ func main() {
}, },
"peer_network_range_check": { "peer_network_range_check": {
"ranges": [ "ranges": [
[ "192.168.1.0/24",
"192.168.1.0/24", "10.0.0.0/8",
"10.0.0.0/8", "2001:db8:1234:1a00::/56"
"2001:db8:1234:1a00::/56"
]
], ],
"action": "allow" "action": "allow"
}, },
@@ -2083,11 +2055,9 @@ request.body = JSON.dump({
}, },
"peer_network_range_check": { "peer_network_range_check": {
"ranges": [ "ranges": [
[ "192.168.1.0/24",
"192.168.1.0/24", "10.0.0.0/8",
"10.0.0.0/8", "2001:db8:1234:1a00::/56"
"2001:db8:1234:1a00::/56"
]
], ],
"action": "allow" "action": "allow"
}, },
@@ -2145,11 +2115,9 @@ RequestBody body = RequestBody.create(mediaType, '{
}, },
"peer_network_range_check": { "peer_network_range_check": {
"ranges": [ "ranges": [
[ "192.168.1.0/24",
"192.168.1.0/24", "10.0.0.0/8",
"10.0.0.0/8", "2001:db8:1234:1a00::/56"
"2001:db8:1234:1a00::/56"
]
], ],
"action": "allow" "action": "allow"
}, },
@@ -2223,11 +2191,9 @@ curl_setopt_array($curl, array(
}, },
"peer_network_range_check": { "peer_network_range_check": {
"ranges": [ "ranges": [
[ "192.168.1.0/24",
"192.168.1.0/24", "10.0.0.0/8",
"10.0.0.0/8", "2001:db8:1234:1a00::/56"
"2001:db8:1234:1a00::/56"
]
], ],
"action": "allow" "action": "allow"
}, },
@@ -2296,11 +2262,9 @@ echo $response;
}, },
"peer_network_range_check": { "peer_network_range_check": {
"ranges": [ "ranges": [
[ "192.168.1.0/24",
"192.168.1.0/24", "10.0.0.0/8",
"10.0.0.0/8", "2001:db8:1234:1a00::/56"
"2001:db8:1234:1a00::/56"
]
], ],
"action": "allow" "action": "allow"
}, },
+98 -22
View File
@@ -180,7 +180,10 @@ echo $response;
"groups": [ "groups": [
"chacdk86lnnboviihd70" "chacdk86lnnboviihd70"
], ],
"keep_route": true "keep_route": true,
"access_control_groups": [
"chacbco6lnnbn6cg5s91"
]
} }
] ]
``` ```
@@ -205,7 +208,10 @@ echo $response;
"groups": [ "groups": [
"string" "string"
], ],
"keep_route": "boolean" "keep_route": "boolean",
"access_control_groups": [
"string"
]
} }
] ]
``` ```
@@ -280,6 +286,11 @@ echo $response;
Indicate if the route should be kept after a domain doesn't resolve that IP anymore Indicate if the route should be kept after a domain doesn't resolve that IP anymore
</Property>
<Property name="access_control_groups" type="string[]" required={false}>
Access control group identifier associated with route.
</Property> </Property>
</Properties> </Properties>
@@ -310,7 +321,10 @@ curl -X POST https://api.netbird.io/api/routes \
"groups": [ "groups": [
"chacdk86lnnboviihd70" "chacdk86lnnboviihd70"
], ],
"keep_route": true "keep_route": true,
"access_control_groups": [
"chacbco6lnnbn6cg5s91"
]
}' }'
``` ```
@@ -333,7 +347,10 @@ let data = JSON.stringify({
"groups": [ "groups": [
"chacdk86lnnboviihd70" "chacdk86lnnboviihd70"
], ],
"keep_route": true "keep_route": true,
"access_control_groups": [
"chacbco6lnnbn6cg5s91"
]
}); });
let config = { let config = {
method: 'post', method: 'post',
@@ -378,7 +395,10 @@ payload = json.dumps({
"groups": [ "groups": [
"chacdk86lnnboviihd70" "chacdk86lnnboviihd70"
], ],
"keep_route": true "keep_route": true,
"access_control_groups": [
"chacbco6lnnbn6cg5s91"
]
}) })
headers = { headers = {
'Content-Type': 'application/json', 'Content-Type': 'application/json',
@@ -423,7 +443,10 @@ func main() {
"groups": [ "groups": [
"chacdk86lnnboviihd70" "chacdk86lnnboviihd70"
], ],
"keep_route": true "keep_route": true,
"access_control_groups": [
"chacbco6lnnbn6cg5s91"
]
}`) }`)
client := &http.Client { client := &http.Client {
} }
@@ -486,7 +509,10 @@ request.body = JSON.dump({
"groups": [ "groups": [
"chacdk86lnnboviihd70" "chacdk86lnnboviihd70"
], ],
"keep_route": true "keep_route": true,
"access_control_groups": [
"chacbco6lnnbn6cg5s91"
]
}) })
response = https.request(request) response = https.request(request)
puts response.read_body puts response.read_body
@@ -513,7 +539,10 @@ RequestBody body = RequestBody.create(mediaType, '{
"groups": [ "groups": [
"chacdk86lnnboviihd70" "chacdk86lnnboviihd70"
], ],
"keep_route": true "keep_route": true,
"access_control_groups": [
"chacbco6lnnbn6cg5s91"
]
}'); }');
Request request = new Request.Builder() Request request = new Request.Builder()
.url("https://api.netbird.io/api/routes") .url("https://api.netbird.io/api/routes")
@@ -556,7 +585,10 @@ curl_setopt_array($curl, array(
"groups": [ "groups": [
"chacdk86lnnboviihd70" "chacdk86lnnboviihd70"
], ],
"keep_route": true "keep_route": true,
"access_control_groups": [
"chacbco6lnnbn6cg5s91"
]
}', }',
CURLOPT_HTTPHEADER => array( CURLOPT_HTTPHEADER => array(
'Content-Type: application/json', 'Content-Type: application/json',
@@ -595,7 +627,10 @@ echo $response;
"groups": [ "groups": [
"chacdk86lnnboviihd70" "chacdk86lnnboviihd70"
], ],
"keep_route": true "keep_route": true,
"access_control_groups": [
"chacbco6lnnbn6cg5s91"
]
} }
``` ```
```json {{ title: 'Schema' }} ```json {{ title: 'Schema' }}
@@ -618,7 +653,10 @@ echo $response;
"groups": [ "groups": [
"string" "string"
], ],
"keep_route": "boolean" "keep_route": "boolean",
"access_control_groups": [
"string"
]
} }
``` ```
</CodeGroup> </CodeGroup>
@@ -815,7 +853,10 @@ echo $response;
"groups": [ "groups": [
"chacdk86lnnboviihd70" "chacdk86lnnboviihd70"
], ],
"keep_route": true "keep_route": true,
"access_control_groups": [
"chacbco6lnnbn6cg5s91"
]
} }
``` ```
```json {{ title: 'Schema' }} ```json {{ title: 'Schema' }}
@@ -838,7 +879,10 @@ echo $response;
"groups": [ "groups": [
"string" "string"
], ],
"keep_route": "boolean" "keep_route": "boolean",
"access_control_groups": [
"string"
]
} }
``` ```
</CodeGroup> </CodeGroup>
@@ -920,6 +964,11 @@ echo $response;
Indicate if the route should be kept after a domain doesn't resolve that IP anymore Indicate if the route should be kept after a domain doesn't resolve that IP anymore
</Property>
<Property name="access_control_groups" type="string[]" required={false}>
Access control group identifier associated with route.
</Property> </Property>
</Properties> </Properties>
@@ -950,7 +999,10 @@ curl -X PUT https://api.netbird.io/api/routes/{routeId} \
"groups": [ "groups": [
"chacdk86lnnboviihd70" "chacdk86lnnboviihd70"
], ],
"keep_route": true "keep_route": true,
"access_control_groups": [
"chacbco6lnnbn6cg5s91"
]
}' }'
``` ```
@@ -973,7 +1025,10 @@ let data = JSON.stringify({
"groups": [ "groups": [
"chacdk86lnnboviihd70" "chacdk86lnnboviihd70"
], ],
"keep_route": true "keep_route": true,
"access_control_groups": [
"chacbco6lnnbn6cg5s91"
]
}); });
let config = { let config = {
method: 'put', method: 'put',
@@ -1018,7 +1073,10 @@ payload = json.dumps({
"groups": [ "groups": [
"chacdk86lnnboviihd70" "chacdk86lnnboviihd70"
], ],
"keep_route": true "keep_route": true,
"access_control_groups": [
"chacbco6lnnbn6cg5s91"
]
}) })
headers = { headers = {
'Content-Type': 'application/json', 'Content-Type': 'application/json',
@@ -1063,7 +1121,10 @@ func main() {
"groups": [ "groups": [
"chacdk86lnnboviihd70" "chacdk86lnnboviihd70"
], ],
"keep_route": true "keep_route": true,
"access_control_groups": [
"chacbco6lnnbn6cg5s91"
]
}`) }`)
client := &http.Client { client := &http.Client {
} }
@@ -1126,7 +1187,10 @@ request.body = JSON.dump({
"groups": [ "groups": [
"chacdk86lnnboviihd70" "chacdk86lnnboviihd70"
], ],
"keep_route": true "keep_route": true,
"access_control_groups": [
"chacbco6lnnbn6cg5s91"
]
}) })
response = https.request(request) response = https.request(request)
puts response.read_body puts response.read_body
@@ -1153,7 +1217,10 @@ RequestBody body = RequestBody.create(mediaType, '{
"groups": [ "groups": [
"chacdk86lnnboviihd70" "chacdk86lnnboviihd70"
], ],
"keep_route": true "keep_route": true,
"access_control_groups": [
"chacbco6lnnbn6cg5s91"
]
}'); }');
Request request = new Request.Builder() Request request = new Request.Builder()
.url("https://api.netbird.io/api/routes/{routeId}") .url("https://api.netbird.io/api/routes/{routeId}")
@@ -1196,7 +1263,10 @@ curl_setopt_array($curl, array(
"groups": [ "groups": [
"chacdk86lnnboviihd70" "chacdk86lnnboviihd70"
], ],
"keep_route": true "keep_route": true,
"access_control_groups": [
"chacbco6lnnbn6cg5s91"
]
}', }',
CURLOPT_HTTPHEADER => array( CURLOPT_HTTPHEADER => array(
'Content-Type: application/json', 'Content-Type: application/json',
@@ -1235,7 +1305,10 @@ echo $response;
"groups": [ "groups": [
"chacdk86lnnboviihd70" "chacdk86lnnboviihd70"
], ],
"keep_route": true "keep_route": true,
"access_control_groups": [
"chacbco6lnnbn6cg5s91"
]
} }
``` ```
```json {{ title: 'Schema' }} ```json {{ title: 'Schema' }}
@@ -1258,7 +1331,10 @@ echo $response;
"groups": [ "groups": [
"string" "string"
], ],
"keep_route": "boolean" "keep_route": "boolean",
"access_control_groups": [
"string"
]
} }
``` ```
</CodeGroup> </CodeGroup>