Pulsarr

Reorder router rules

PATCH
/v1/content-router/rules/order

Set the priority of several content router rules at once

Authorization

headerX-API-Key<token>

API key authentication using X-API-Key header

Request Body

Priorities to store on several router rules at once

application/json
  1. body

Priorities to store on several router rules at once

orders*array<>
Items1 <= items

Response Body

Default Response

application/json
  1. response

Response carrying a list of router rules

success*boolean
message*string
rules*array<>
Example Request
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"    }  ]}