Update API pages with v0.25.4

This commit is contained in:
netbirddev
2024-01-16 09:16:37 +00:00
parent e6ee8ec034
commit c1aa6739df
11 changed files with 53 additions and 53 deletions

View File

@@ -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>