Policy
Policy created successfully
Invalid request body
Failed to create policy in policy table
Policy deleted successfully
Standard error response for API endpoints
HTTP status code
Optional additional error details
Error message describing what went wrong
Invalid request body
Failed to delete policy from policy table
Policies retrieved successfully
Invalid request body
Failed to retriev policies from policy table
Job policies synced successfully
Standard error response for API endpoints
HTTP status code
Optional additional error details
Error message describing what went wrong
Failed to sync job policies
Policy updated successfully
Invalid request body
Failed to update policy from policy table
Policy ID to get status for
Job policy status
Policy not found
Internal server error
Policy ID to get affected jobs for
Jobs affected by the policy
Policy not found or not a job policy
Internal server error
Policy UUID
Returns pods currently monitored by the policy
Invalid policy_id format
Policy not found
Failed to connect/fetch from database
Last updated
Was this helpful?