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

Automated API Docs update

This commit is contained in:
Servarr 2022-03-15 03:35:46 +00:00 committed by Qstick
parent 51485259ae
commit ed060d552f

View File

@ -115,46 +115,6 @@
} }
} }
}, },
"/api/v3/altyear/{id}": {
"get": {
"tags": [
"AlternativeYear"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/AlternativeYearResource"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/AlternativeYearResource"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AlternativeYearResource"
}
}
}
}
}
}
},
"/login": { "/login": {
"post": { "post": {
"tags": [ "tags": [
@ -3861,6 +3821,7 @@
"in": "path", "in": "path",
"required": true, "required": true,
"schema": { "schema": {
"pattern": "[-.a-zA-Z0-9]+?\\.txt",
"type": "string" "type": "string"
} }
} }
@ -4000,6 +3961,7 @@
"in": "path", "in": "path",
"required": true, "required": true,
"schema": { "schema": {
"pattern": "(.+)\\.(jpg|png|gif)",
"type": "string" "type": "string"
} }
} }
@ -7471,6 +7433,7 @@
"in": "path", "in": "path",
"required": true, "required": true,
"schema": { "schema": {
"pattern": "^(?!api/).*",
"type": "string" "type": "string"
} }
} }
@ -7515,6 +7478,7 @@
"in": "path", "in": "path",
"required": true, "required": true,
"schema": { "schema": {
"pattern": "^(?!(api|feed)/).*",
"type": "string" "type": "string"
} }
} }
@ -8155,6 +8119,7 @@
"in": "path", "in": "path",
"required": true, "required": true,
"schema": { "schema": {
"pattern": "[-.a-zA-Z0-9]+?\\.txt",
"type": "string" "type": "string"
} }
} }
@ -8224,24 +8189,6 @@
}, },
"additionalProperties": false "additionalProperties": false
}, },
"AlternativeYearResource": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"movieId": {
"type": "integer",
"format": "int32"
},
"year": {
"type": "integer",
"format": "int32"
}
},
"additionalProperties": false
},
"ApplyTags": { "ApplyTags": {
"enum": [ "enum": [
"add", "add",
@ -9095,7 +9042,8 @@
"data": { "data": {
"type": "object", "type": "object",
"additionalProperties": { "additionalProperties": {
"type": "string" "type": "string",
"nullable": true
}, },
"nullable": true "nullable": true
}, },
@ -9278,28 +9226,34 @@
}, },
"scheme": { "scheme": {
"type": "string", "type": "string",
"nullable": true "nullable": true,
"readOnly": true
}, },
"host": { "host": {
"type": "string", "type": "string",
"nullable": true "nullable": true,
"readOnly": true
}, },
"port": { "port": {
"type": "integer", "type": "integer",
"format": "int32", "format": "int32",
"nullable": true "nullable": true,
"readOnly": true
}, },
"path": { "path": {
"type": "string", "type": "string",
"nullable": true "nullable": true,
"readOnly": true
}, },
"query": { "query": {
"type": "string", "type": "string",
"nullable": true "nullable": true,
"readOnly": true
}, },
"fragment": { "fragment": {
"type": "string", "type": "string",
"nullable": true "nullable": true,
"readOnly": true
} }
}, },
"additionalProperties": false "additionalProperties": false
@ -10703,6 +10657,26 @@
}, },
"additionalProperties": false "additionalProperties": false
}, },
"ParseResource": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"title": {
"type": "string",
"nullable": true
},
"parsedMovieInfo": {
"$ref": "#/components/schemas/ParsedMovieInfo"
},
"movie": {
"$ref": "#/components/schemas/MovieResource"
}
},
"additionalProperties": false
},
"ParsedMovieInfo": { "ParsedMovieInfo": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -10761,7 +10735,9 @@
}, },
"extraInfo": { "extraInfo": {
"type": "object", "type": "object",
"additionalProperties": { }, "additionalProperties": {
"nullable": true
},
"nullable": true "nullable": true
}, },
"movieTitle": { "movieTitle": {
@ -10777,26 +10753,6 @@
}, },
"additionalProperties": false "additionalProperties": false
}, },
"ParseResource": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"title": {
"type": "string",
"nullable": true
},
"parsedMovieInfo": {
"$ref": "#/components/schemas/ParsedMovieInfo"
},
"movie": {
"$ref": "#/components/schemas/MovieResource"
}
},
"additionalProperties": false
},
"ProfileFormatItemResource": { "ProfileFormatItemResource": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -11204,6 +11160,13 @@
}, },
"additionalProperties": false "additionalProperties": false
}, },
"RatingType": {
"enum": [
"user",
"critic"
],
"type": "string"
},
"Ratings": { "Ratings": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -11222,13 +11185,6 @@
}, },
"additionalProperties": false "additionalProperties": false
}, },
"RatingType": {
"enum": [
"user",
"critic"
],
"type": "string"
},
"Rejection": { "Rejection": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -11612,6 +11568,21 @@
], ],
"type": "string" "type": "string"
}, },
"TMDbCountryCode": {
"enum": [
"au",
"br",
"ca",
"fr",
"de",
"gb",
"it",
"es",
"us",
"nz"
],
"type": "string"
},
"TagDetailsResource": { "TagDetailsResource": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -11734,23 +11705,28 @@
}, },
"days": { "days": {
"type": "integer", "type": "integer",
"format": "int32" "format": "int32",
"readOnly": true
}, },
"hours": { "hours": {
"type": "integer", "type": "integer",
"format": "int32" "format": "int32",
"readOnly": true
}, },
"milliseconds": { "milliseconds": {
"type": "integer", "type": "integer",
"format": "int32" "format": "int32",
"readOnly": true
}, },
"minutes": { "minutes": {
"type": "integer", "type": "integer",
"format": "int32" "format": "int32",
"readOnly": true
}, },
"seconds": { "seconds": {
"type": "integer", "type": "integer",
"format": "int32" "format": "int32",
"readOnly": true
}, },
"totalDays": { "totalDays": {
"type": "number", "type": "number",
@ -11780,21 +11756,6 @@
}, },
"additionalProperties": false "additionalProperties": false
}, },
"TMDbCountryCode": {
"enum": [
"au",
"br",
"ca",
"fr",
"de",
"gb",
"it",
"es",
"us",
"nz"
],
"type": "string"
},
"TrackedDownloadState": { "TrackedDownloadState": {
"enum": [ "enum": [
"downloading", "downloading",
@ -11978,19 +11939,23 @@
"properties": { "properties": {
"major": { "major": {
"type": "integer", "type": "integer",
"format": "int32" "format": "int32",
"readOnly": true
}, },
"minor": { "minor": {
"type": "integer", "type": "integer",
"format": "int32" "format": "int32",
"readOnly": true
}, },
"build": { "build": {
"type": "integer", "type": "integer",
"format": "int32" "format": "int32",
"readOnly": true
}, },
"revision": { "revision": {
"type": "integer", "type": "integer",
"format": "int32" "format": "int32",
"readOnly": true
}, },
"majorRevision": { "majorRevision": {
"type": "integer", "type": "integer",