Automated API Docs update

pull/4255/head
Servarr 1 year ago committed by Bogdan
parent eeb5e9b30f
commit d511f7ee3e

@ -755,6 +755,183 @@
} }
} }
}, },
"/api/v1/autotagging/{id}": {
"get": {
"tags": [
"AutoTagging"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/AutoTaggingResource"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/AutoTaggingResource"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AutoTaggingResource"
}
}
}
}
}
},
"put": {
"tags": [
"AutoTagging"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AutoTaggingResource"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/AutoTaggingResource"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/AutoTaggingResource"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AutoTaggingResource"
}
}
}
}
}
},
"delete": {
"tags": [
"AutoTagging"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
}
],
"responses": {
"200": {
"description": "Success"
}
}
}
},
"/api/v1/autotagging": {
"post": {
"tags": [
"AutoTagging"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AutoTaggingResource"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/AutoTaggingResource"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/AutoTaggingResource"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/AutoTaggingResource"
}
}
}
}
}
},
"get": {
"tags": [
"AutoTagging"
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AutoTaggingResource"
}
}
}
}
}
}
}
},
"/api/v1/autotagging/schema": {
"get": {
"tags": [
"AutoTagging"
],
"responses": {
"200": {
"description": "Success"
}
}
}
},
"/api/v1/system/backup": { "/api/v1/system/backup": {
"get": { "get": {
"tags": [ "tags": [
@ -8847,6 +9024,74 @@
], ],
"type": "string" "type": "string"
}, },
"AutoTaggingResource": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string",
"nullable": true
},
"removeTagsAutomatically": {
"type": "boolean"
},
"tags": {
"uniqueItems": true,
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"nullable": true
},
"specifications": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AutoTaggingSpecificationSchema"
},
"nullable": true
}
},
"additionalProperties": false
},
"AutoTaggingSpecificationSchema": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string",
"nullable": true
},
"implementation": {
"type": "string",
"nullable": true
},
"implementationName": {
"type": "string",
"nullable": true
},
"negate": {
"type": "boolean"
},
"required": {
"type": "boolean"
},
"fields": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Field"
},
"nullable": true
}
},
"additionalProperties": false
},
"BackupResource": { "BackupResource": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -12631,7 +12876,7 @@
}, },
"nullable": true "nullable": true
}, },
"artistIds": { "indexerIds": {
"type": "array", "type": "array",
"items": { "items": {
"type": "integer", "type": "integer",
@ -12639,7 +12884,7 @@
}, },
"nullable": true "nullable": true
}, },
"indexerIds": { "downloadClientIds": {
"type": "array", "type": "array",
"items": { "items": {
"type": "integer", "type": "integer",
@ -12647,7 +12892,15 @@
}, },
"nullable": true "nullable": true
}, },
"downloadClientIds": { "autoTagIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"nullable": true
},
"artistIds": {
"type": "array", "type": "array",
"items": { "items": {
"type": "integer", "type": "integer",

Loading…
Cancel
Save