Reorder router rules
PATCH
Set the priority of several content router rules at once
header
X-API-Key<token>API key authentication using X-API-Key header
Priorities to store on several router rules at once
application/json- body
Priorities to store on several router rules at once
orders*array<>Items
1 <= itemsDefault Response
application/json- response
Response carrying a list of router rules
success*booleanmessage*stringrules*array<>curl -X PATCH 'http://localhost:3003/v1/content-router/rules/order' \ -H 'Content-Type: application/json' \ -d '{ "orders": [ { "id": 1, "order": 1 } ]}'Example Response
{ "success": true, "message": "string", "rules": [ { "name": "string", "target_type": "radarr", "target_instance_id": 1, "condition": { "field": "string", "operator": "equals", "value": "string", "negate": false }, "root_folder": "string", "quality_profile": 0, "tags": [ "string" ], "order": 0, "enabled": true, "search_on_add": true, "season_monitoring": "all", "series_type": "standard", "monitor": "movieOnly", "always_require_approval": true, "bypass_user_quotas": true, "approval_reason": "string", "exclude_from_routing": true, "id": 0, "created_at": "string", "updated_at": "string" } ]}