Automated API Docs update

This commit is contained in:
Servarr 2023-10-30 19:42:36 +00:00 committed by Bogdan
parent eeb5e9b30f
commit d511f7ee3e

View file

@ -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,14 +12876,6 @@
}, },
"nullable": true "nullable": true
}, },
"artistIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"nullable": true
},
"indexerIds": { "indexerIds": {
"type": "array", "type": "array",
"items": { "items": {
@ -12654,6 +12891,22 @@
"format": "int32" "format": "int32"
}, },
"nullable": true "nullable": true
},
"autoTagIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"nullable": true
},
"artistIds": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"nullable": true
} }
}, },
"additionalProperties": false "additionalProperties": false