mirror of
https://github.com/Radarr/Radarr.git
synced 2025-04-24 14:37:07 -04:00
Added /rootfolder to swagger.json
This commit is contained in:
parent
cc466b9e5b
commit
c9477d4b5a
1 changed files with 48 additions and 0 deletions
|
@ -3693,6 +3693,54 @@
|
|||
"Queue"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/rootfolder": {
|
||||
"get": {
|
||||
"summary": "Gets root folder",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "Successful request",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"examples": {
|
||||
"Response": {
|
||||
"value": [
|
||||
{
|
||||
"path": "C:\\Downloads\\Movies",
|
||||
"freeSpace": 282500063232,
|
||||
"unmappedFolders": [],
|
||||
"id": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"401": {
|
||||
"description": "Invalid API Key"
|
||||
}
|
||||
},
|
||||
"operationId": "get-rootfolder",
|
||||
"description": "Query Radarr for root folder information\n\nSettings: Media Management > Root Folders",
|
||||
"security": [
|
||||
{
|
||||
"X-API-Key": []
|
||||
},
|
||||
{
|
||||
"apikey": []
|
||||
}
|
||||
],
|
||||
"tags": [
|
||||
"Root Folder"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue