mirror of
https://github.com/Sonarr/Sonarr
synced 2026-01-24 08:22:16 +01:00
Automated API Docs update
ignore-downstream
This commit is contained in:
parent
91f1b672c5
commit
3977d8766c
1 changed files with 388 additions and 1 deletions
|
|
@ -2321,7 +2321,7 @@
|
|||
"in": "query",
|
||||
"schema": {
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
"default": true
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
@ -2650,6 +2650,171 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"/api/v5/remotepathmapping": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"RemotePathMapping"
|
||||
],
|
||||
"requestBody": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/RemotePathMappingResource"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"content": {
|
||||
"text/plain": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/RemotePathMappingResource"
|
||||
}
|
||||
},
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/RemotePathMappingResource"
|
||||
}
|
||||
},
|
||||
"text/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/RemotePathMappingResource"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"get": {
|
||||
"tags": [
|
||||
"RemotePathMapping"
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/RemotePathMappingResource"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/v5/remotepathmapping/{id}": {
|
||||
"delete": {
|
||||
"tags": [
|
||||
"RemotePathMapping"
|
||||
],
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK"
|
||||
}
|
||||
}
|
||||
},
|
||||
"put": {
|
||||
"tags": [
|
||||
"RemotePathMapping"
|
||||
],
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"requestBody": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/RemotePathMappingResource"
|
||||
}
|
||||
},
|
||||
"text/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/RemotePathMappingResource"
|
||||
}
|
||||
},
|
||||
"application/*+json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/RemotePathMappingResource"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"content": {
|
||||
"text/plain": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/RemotePathMappingResource"
|
||||
}
|
||||
},
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/RemotePathMappingResource"
|
||||
}
|
||||
},
|
||||
"text/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/RemotePathMappingResource"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"get": {
|
||||
"tags": [
|
||||
"RemotePathMapping"
|
||||
],
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/RemotePathMappingResource"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/v5/rename": {
|
||||
"get": {
|
||||
"tags": [
|
||||
|
|
@ -3166,6 +3331,46 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"/api/v5/series/import": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"SeriesImport"
|
||||
],
|
||||
"requestBody": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SeriesResource"
|
||||
}
|
||||
}
|
||||
},
|
||||
"text/json": {
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SeriesResource"
|
||||
}
|
||||
}
|
||||
},
|
||||
"application/*+json": {
|
||||
"schema": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/SeriesResource"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/v5/series/lookup": {
|
||||
"get": {
|
||||
"tags": [
|
||||
|
|
@ -3607,6 +3812,101 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"/api/v5/settings/ui/{id}": {
|
||||
"put": {
|
||||
"tags": [
|
||||
"UiSettings"
|
||||
],
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"requestBody": {
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/UiSettingsResource"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"content": {
|
||||
"text/plain": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/UiSettingsResource"
|
||||
}
|
||||
},
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/UiSettingsResource"
|
||||
}
|
||||
},
|
||||
"text/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/UiSettingsResource"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"get": {
|
||||
"tags": [
|
||||
"UiSettings"
|
||||
],
|
||||
"parameters": [
|
||||
{
|
||||
"name": "id",
|
||||
"in": "path",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/UiSettingsResource"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/v5/settings/ui": {
|
||||
"get": {
|
||||
"tags": [
|
||||
"UiSettings"
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/UiSettingsResource"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/v5/update": {
|
||||
"get": {
|
||||
"tags": [
|
||||
|
|
@ -6506,6 +6806,28 @@
|
|||
],
|
||||
"type": "string"
|
||||
},
|
||||
"RemotePathMappingResource": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"host": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"remotePath": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"localPath": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"RenameEpisodeResource": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
@ -6712,6 +7034,10 @@
|
|||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"monitoredEpisodeCount": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"sizeOnDisk": {
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
|
|
@ -7040,6 +7366,10 @@
|
|||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"monitoredEpisodeCount": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"sizeOnDisk": {
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
|
|
@ -7425,6 +7755,54 @@
|
|||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"UiSettingsResource": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"firstDayOfWeek": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
},
|
||||
"calendarWeekColumnHeader": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"shortDateFormat": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"longDateFormat": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"timeFormat": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"timeZone": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"showRelativeDates": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"enableColorImpairedMode": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"theme": {
|
||||
"type": "string",
|
||||
"nullable": true
|
||||
},
|
||||
"uiLanguage": {
|
||||
"type": "integer",
|
||||
"format": "int32"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"UnmappedFolder": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
@ -7668,6 +8046,9 @@
|
|||
{
|
||||
"name": "ReleasePush"
|
||||
},
|
||||
{
|
||||
"name": "RemotePathMapping"
|
||||
},
|
||||
{
|
||||
"name": "RenameEpisode"
|
||||
},
|
||||
|
|
@ -7686,6 +8067,9 @@
|
|||
{
|
||||
"name": "SeriesFolder"
|
||||
},
|
||||
{
|
||||
"name": "SeriesImport"
|
||||
},
|
||||
{
|
||||
"name": "SeriesLookup"
|
||||
},
|
||||
|
|
@ -7701,6 +8085,9 @@
|
|||
{
|
||||
"name": "Task"
|
||||
},
|
||||
{
|
||||
"name": "UiSettings"
|
||||
},
|
||||
{
|
||||
"name": "Update"
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue