Skip to content

fix(templates): radarr/nabarr grants sonarr's importlistexclusion route, not radarr's#95

Merged
nzxl101 merged 1 commit into
Notifiarr:developfrom
bakerboy448:fix/nabarr-radarr-exclusions
Jul 12, 2026
Merged

fix(templates): radarr/nabarr grants sonarr's importlistexclusion route, not radarr's#95
nzxl101 merged 1 commit into
Notifiarr:developfrom
bakerboy448:fix/nabarr-radarr-exclusions

Conversation

@bakerboy448

Copy link
Copy Markdown
Contributor

`radarr/nabarr.json` granted `/api/v3/importlistexclusion` (+ `/{id}`), which doesn't exist on Radarr - that's Sonarr's route name. Radarr's own `ImportListExclusionController` overrides its route to `exclusions`, which this same template file already correctly grants separately.

Verified via both repos' `ImportListExclusionController.cs` route attributes, and nabarr's own client source (`l3uddz/nabarr`) confirming its Radarr client only ever calls GET `/exclusions`, its Sonarr client only GET `/importlistexclusion`.

…endpoint

radarr/nabarr.json includes /api/v3/importlistexclusion and
/api/v3/importlistexclusion/{id}, which do not exist on Radarr — that
route name is Sonarr's ImportListExclusionController
([V3ApiController] with no route override, so it defaults to the
controller name). Radarr's own exclusions controller explicitly
overrides its route to "exclusions" ([V3ApiController("exclusions")]),
which is already correctly granted in this same file.

Confirmed via Radarr/Sonarr source (ImportListExclusionController.cs
in both repos) and via nabarr's own client (l3uddz/nabarr): the Radarr
client only ever calls GET /exclusions, the Sonarr client only ever
calls GET /importlistexclusion — never both on the same arr type.
Removing the dead Sonarr-shaped grant from the Radarr template.
@nzxl101
nzxl101 merged commit 773e719 into Notifiarr:develop Jul 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants