1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

Update image swagger docs to represent the API correctly

This commit is contained in:
Johan van Eck 2021-07-29 10:15:47 +03:00 committed by Qstick
parent 203d735a85
commit 3ec5d1ef3d

View File

@ -3883,13 +3883,18 @@
"properties": {
"coverType": {
"type": "string",
"enum": [
"poster",
"fanart"
]
"enum": ["poster", "fanart"],
"example": "poster"
},
"url": {
"type": "string"
"type": "string",
"summary": "A path that can be used together with the host to find the image - requires API key",
"example": "/radarr/MediaCover/39/poster.jpg?lastWrite=637618111851086964"
},
"remoteUrl": {
"type": "string",
"summary": "A full URL of the TMDB source",
"example": "https://image.tmdb.org/t/p/original/i0FHyNF9VvQTXOi4yKnZJ1zql1.jpg"
}
},
"xml": {