1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-17 15:02:34 +02:00

Added /rootfolder to swagger.json

This commit is contained in:
woiza 2021-03-29 23:20:08 +02:00 committed by GitHub
parent cc466b9e5b
commit c9477d4b5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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": {