mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-21 01:46:35 +00:00
Update API pages with v0.25.4
This commit is contained in:
@@ -2,11 +2,11 @@ export const title = 'Rules'
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
## List all Rules {{ tag: 'GET' , label: '/api/rules' }}
|
## List all Rules {{ tag: 'GET' , label: '/api/rules' }} <Badge status="warning" text="Deprecated" />
|
||||||
|
|
||||||
<Row>
|
<Row>
|
||||||
<Col>
|
<Col>
|
||||||
Returns a list of all rules
|
Returns a list of all rules. This will be deprecated in favour of `/api/policies`.
|
||||||
</Col>
|
</Col>
|
||||||
|
|
||||||
<Col sticky>
|
<Col sticky>
|
||||||
@@ -226,11 +226,11 @@ echo $response;
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
## Create a Rule {{ tag: 'POST' , label: '/api/rules' }}
|
## Create a Rule {{ tag: 'POST' , label: '/api/rules' }} <Badge status="warning" text="Deprecated" />
|
||||||
|
|
||||||
<Row>
|
<Row>
|
||||||
<Col>
|
<Col>
|
||||||
Creates a rule
|
Creates a rule. This will be deprecated in favour of `/api/policies`.
|
||||||
|
|
||||||
#### Request-Body Parameters
|
#### Request-Body Parameters
|
||||||
<Properties>
|
<Properties>
|
||||||
@@ -578,11 +578,11 @@ echo $response;
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
## Retrieve a Rule {{ tag: 'GET' , label: '/api/rules/{ruleId}' }}
|
## Retrieve a Rule {{ tag: 'GET' , label: '/api/rules/{ruleId}' }} <Badge status="warning" text="Deprecated" />
|
||||||
|
|
||||||
<Row>
|
<Row>
|
||||||
<Col>
|
<Col>
|
||||||
Get information about a rules
|
Get information about a rules. This will be deprecated in favour of `/api/policies/{policyID}`.
|
||||||
|
|
||||||
#### Path Parameters
|
#### Path Parameters
|
||||||
<Properties>
|
<Properties>
|
||||||
@@ -806,11 +806,11 @@ echo $response;
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
## Update a Rule {{ tag: 'PUT' , label: '/api/rules/{ruleId}' }}
|
## Update a Rule {{ tag: 'PUT' , label: '/api/rules/{ruleId}' }} <Badge status="warning" text="Deprecated" />
|
||||||
|
|
||||||
<Row>
|
<Row>
|
||||||
<Col>
|
<Col>
|
||||||
Update/Replace a rule
|
Update/Replace a rule. This will be deprecated in favour of `/api/policies/{policyID}`.
|
||||||
|
|
||||||
#### Path Parameters
|
#### Path Parameters
|
||||||
<Properties>
|
<Properties>
|
||||||
@@ -1170,11 +1170,11 @@ echo $response;
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
## Delete a Rule {{ tag: 'DELETE' , label: '/api/rules/{ruleId}' }}
|
## Delete a Rule {{ tag: 'DELETE' , label: '/api/rules/{ruleId}' }} <Badge status="warning" text="Deprecated" />
|
||||||
|
|
||||||
<Row>
|
<Row>
|
||||||
<Col>
|
<Col>
|
||||||
Delete a rule
|
Delete a rule. This will be deprecated in favour of `/api/policies/{policyID}`.
|
||||||
|
|
||||||
#### Path Parameters
|
#### Path Parameters
|
||||||
<Properties>
|
<Properties>
|
||||||
|
|||||||
Reference in New Issue
Block a user