Update image swagger docs to represent the API correctly

pull/5600/head
Johan van Eck 4 years ago committed by Qstick
parent 203d735a85
commit 3ec5d1ef3d

@ -3883,13 +3883,18 @@
"properties": { "properties": {
"coverType": { "coverType": {
"type": "string", "type": "string",
"enum": [ "enum": ["poster", "fanart"],
"poster", "example": "poster"
"fanart"
]
}, },
"url": { "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": { "xml": {

Loading…
Cancel
Save