From bef616e5952840f8cd756c809e7cc7a9a90ad03c Mon Sep 17 00:00:00 2001 From: Sam Chau Date: Sun, 25 Jan 2026 23:35:35 +1030 Subject: [PATCH] feat(bruno): add Profilarr API requests --- bruno/profilarr/arr-library.bru | 11 +++++++++++ bruno/profilarr/arr-releases.bru | 11 +++++++++++ bruno/profilarr/evaluate-releases.bru | 23 +++++++++++++++++++++++ bruno/profilarr/folder.bru | 7 +++++++ bruno/profilarr/health-verbose.bru | 11 +++++++++++ bruno/profilarr/health.bru | 11 +++++++++++ bruno/profilarr/openapi.bru | 11 +++++++++++ 7 files changed, 85 insertions(+) create mode 100644 bruno/profilarr/arr-library.bru create mode 100644 bruno/profilarr/arr-releases.bru create mode 100644 bruno/profilarr/evaluate-releases.bru create mode 100644 bruno/profilarr/folder.bru create mode 100644 bruno/profilarr/health-verbose.bru create mode 100644 bruno/profilarr/health.bru create mode 100644 bruno/profilarr/openapi.bru diff --git a/bruno/profilarr/arr-library.bru b/bruno/profilarr/arr-library.bru new file mode 100644 index 0000000..3f01b9d --- /dev/null +++ b/bruno/profilarr/arr-library.bru @@ -0,0 +1,11 @@ +meta { + name: Get Arr Library + type: http + seq: 5 +} + +get { + url: {{profilarrUrl}}/api/v1/arr/library?instanceId=1 + body: none + auth: none +} diff --git a/bruno/profilarr/arr-releases.bru b/bruno/profilarr/arr-releases.bru new file mode 100644 index 0000000..d7f7308 --- /dev/null +++ b/bruno/profilarr/arr-releases.bru @@ -0,0 +1,11 @@ +meta { + name: Search Arr Releases + type: http + seq: 6 +} + +get { + url: {{profilarrUrl}}/api/v1/arr/releases?instanceId=1&itemId=1&season=1 + body: none + auth: none +} diff --git a/bruno/profilarr/evaluate-releases.bru b/bruno/profilarr/evaluate-releases.bru new file mode 100644 index 0000000..c5ead65 --- /dev/null +++ b/bruno/profilarr/evaluate-releases.bru @@ -0,0 +1,23 @@ +meta { + name: Evaluate Releases + type: http + seq: 4 +} + +post { + url: {{profilarrUrl}}/api/v1/entity-testing/evaluate + body: json + auth: none +} + +body:json { + { + "releases": [ + { + "id": 1, + "title": "Movie.Name.2024.2160p.UHD.BluRay.REMUX.DV.HDR.HEVC.TrueHD.7.1.Atmos-GROUP", + "type": "movie" + } + ] + } +} diff --git a/bruno/profilarr/folder.bru b/bruno/profilarr/folder.bru new file mode 100644 index 0000000..8450d6a --- /dev/null +++ b/bruno/profilarr/folder.bru @@ -0,0 +1,7 @@ +meta { + name: Profilarr +} + +headers { + X-Api-Key: {{profilarrApiKey}} +} diff --git a/bruno/profilarr/health-verbose.bru b/bruno/profilarr/health-verbose.bru new file mode 100644 index 0000000..041f2ed --- /dev/null +++ b/bruno/profilarr/health-verbose.bru @@ -0,0 +1,11 @@ +meta { + name: Health Check (Verbose) + type: http + seq: 2 +} + +get { + url: {{profilarrUrl}}/api/v1/health?verbose=true + body: none + auth: none +} diff --git a/bruno/profilarr/health.bru b/bruno/profilarr/health.bru new file mode 100644 index 0000000..042dfd5 --- /dev/null +++ b/bruno/profilarr/health.bru @@ -0,0 +1,11 @@ +meta { + name: Health Check + type: http + seq: 1 +} + +get { + url: {{profilarrUrl}}/api/v1/health + body: none + auth: none +} diff --git a/bruno/profilarr/openapi.bru b/bruno/profilarr/openapi.bru new file mode 100644 index 0000000..e30f277 --- /dev/null +++ b/bruno/profilarr/openapi.bru @@ -0,0 +1,11 @@ +meta { + name: OpenAPI Spec + type: http + seq: 3 +} + +get { + url: {{profilarrUrl}}/api/v1/openapi.json + body: none + auth: none +}