mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-18 16:36: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>
|
||||
<Col>
|
||||
Returns a list of all rules
|
||||
Returns a list of all rules. This will be deprecated in favour of `/api/policies`.
|
||||
</Col>
|
||||
|
||||
<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>
|
||||
<Col>
|
||||
Creates a rule
|
||||
Creates a rule. This will be deprecated in favour of `/api/policies`.
|
||||
|
||||
#### Request-Body Parameters
|
||||
<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>
|
||||
<Col>
|
||||
Get information about a rules
|
||||
Get information about a rules. This will be deprecated in favour of `/api/policies/{policyID}`.
|
||||
|
||||
#### Path Parameters
|
||||
<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>
|
||||
<Col>
|
||||
Update/Replace a rule
|
||||
Update/Replace a rule. This will be deprecated in favour of `/api/policies/{policyID}`.
|
||||
|
||||
#### Path Parameters
|
||||
<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>
|
||||
<Col>
|
||||
Delete a rule
|
||||
Delete a rule. This will be deprecated in favour of `/api/policies/{policyID}`.
|
||||
|
||||
#### Path Parameters
|
||||
<Properties>
|
||||
|
||||
Reference in New Issue
Block a user