Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Soft deprecate Rules API #1454

Merged
merged 2 commits into from
Jan 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions management/server/http/api/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1822,8 +1822,9 @@ paths:
/api/rules:
get:
summary: List all Rules
description: Returns a list of all rules
description: Returns a list of all rules. This will be deprecated in favour of `/api/policies`.
tags: [ Rules ]
deprecated: true
security:
- BearerAuth: [ ]
- TokenAuth: [ ]
Expand All @@ -1846,7 +1847,8 @@ paths:
"$ref": "#/components/responses/internal_error"
post:
summary: Create a Rule
description: Creates a rule
description: Creates a rule. This will be deprecated in favour of `/api/policies`.
deprecated: true
tags: [ Rules ]
security:
- BearerAuth: [ ]
Expand All @@ -1867,7 +1869,8 @@ paths:
/api/rules/{ruleId}:
get:
summary: Retrieve a Rule
description: Get information about a rules
description: Get information about a rules. This will be deprecated in favour of `/api/policies/{policyID}`.
deprecated: true
tags: [ Rules ]
security:
- BearerAuth: [ ]
Expand Down Expand Up @@ -1896,7 +1899,8 @@ paths:
"$ref": "#/components/responses/internal_error"
put:
summary: Update a Rule
description: Update/Replace a rule
description: Update/Replace a rule. This will be deprecated in favour of `/api/policies/{policyID}`.
deprecated: true
tags: [ Rules ]
security:
- BearerAuth: [ ]
Expand Down Expand Up @@ -1931,7 +1935,8 @@ paths:
"$ref": "#/components/responses/internal_error"
delete:
summary: Delete a Rule
description: Delete a rule
description: Delete a rule. This will be deprecated in favour of `/api/policies/{policyID}`.
deprecated: true
tags: [ Rules ]
security:
- BearerAuth: [ ]
Expand Down
Loading