mirror of
https://github.com/Dictionarry-Hub/profilarr.git
synced 2026-01-26 12:52:00 +01:00
feat(bruno): add Profilarr API requests
This commit is contained in:
11
bruno/profilarr/arr-library.bru
Normal file
11
bruno/profilarr/arr-library.bru
Normal file
@@ -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
|
||||
}
|
||||
11
bruno/profilarr/arr-releases.bru
Normal file
11
bruno/profilarr/arr-releases.bru
Normal file
@@ -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
|
||||
}
|
||||
23
bruno/profilarr/evaluate-releases.bru
Normal file
23
bruno/profilarr/evaluate-releases.bru
Normal file
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
7
bruno/profilarr/folder.bru
Normal file
7
bruno/profilarr/folder.bru
Normal file
@@ -0,0 +1,7 @@
|
||||
meta {
|
||||
name: Profilarr
|
||||
}
|
||||
|
||||
headers {
|
||||
X-Api-Key: {{profilarrApiKey}}
|
||||
}
|
||||
11
bruno/profilarr/health-verbose.bru
Normal file
11
bruno/profilarr/health-verbose.bru
Normal file
@@ -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
|
||||
}
|
||||
11
bruno/profilarr/health.bru
Normal file
11
bruno/profilarr/health.bru
Normal file
@@ -0,0 +1,11 @@
|
||||
meta {
|
||||
name: Health Check
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{profilarrUrl}}/api/v1/health
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
11
bruno/profilarr/openapi.bru
Normal file
11
bruno/profilarr/openapi.bru
Normal file
@@ -0,0 +1,11 @@
|
||||
meta {
|
||||
name: OpenAPI Spec
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{profilarrUrl}}/api/v1/openapi.json
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
Reference in New Issue
Block a user