mirror of
https://github.com/Dictionarry-Hub/profilarr.git
synced 2026-01-22 10:51:02 +01:00
feat(api): add bruno Radarr API requests for movies and quality profiles (we stan bruno)
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -36,3 +36,6 @@ obj/
|
||||
*.user
|
||||
*.suo
|
||||
.vs/
|
||||
|
||||
# Bruno environments (contain API keys)
|
||||
bruno/environments/
|
||||
|
||||
6
bruno/bruno.json
Normal file
6
bruno/bruno.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"version": "1",
|
||||
"name": "Profilarr",
|
||||
"type": "collection",
|
||||
"format": "yaml"
|
||||
}
|
||||
15
bruno/radarr/get-all-movies.bru
Normal file
15
bruno/radarr/get-all-movies.bru
Normal file
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: Get All Movies
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{radarrUrl}}/api/v3/movie
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
headers {
|
||||
X-Api-Key: {{radarrApiKey}}
|
||||
}
|
||||
15
bruno/radarr/get-movie.bru
Normal file
15
bruno/radarr/get-movie.bru
Normal file
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: Get Movie
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{radarrUrl}}/api/v3/movie/1
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
headers {
|
||||
X-Api-Key: {{radarrApiKey}}
|
||||
}
|
||||
15
bruno/radarr/get-quality-profiles.bru
Normal file
15
bruno/radarr/get-quality-profiles.bru
Normal file
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: Get Quality Profiles
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{radarrUrl}}/api/v3/qualityprofile
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
headers {
|
||||
X-Api-Key: {{radarrApiKey}}
|
||||
}
|
||||
Reference in New Issue
Block a user