1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-29 23:12:39 +01:00

Automated API Docs update

ignore-downstream
This commit is contained in:
Sonarr 2024-08-26 00:30:31 +00:00 committed by Mark McDowall
parent 041fdd3929
commit 882b54be61

View File

@ -933,6 +933,26 @@
} }
}, },
"/api/v3/customformat": { "/api/v3/customformat": {
"get": {
"tags": [
"CustomFormat"
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CustomFormatResource"
}
}
}
}
}
}
},
"post": { "post": {
"tags": [ "tags": [
"CustomFormat" "CustomFormat"
@ -968,26 +988,6 @@
} }
} }
} }
},
"get": {
"tags": [
"CustomFormat"
],
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CustomFormatResource"
}
}
}
}
}
}
} }
}, },
"/api/v3/customformat/{id}": { "/api/v3/customformat/{id}": {
@ -1087,6 +1087,53 @@
} }
} }
}, },
"/api/v3/customformat/bulk": {
"put": {
"tags": [
"CustomFormat"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CustomFormatBulkResource"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CustomFormatResource"
}
}
}
}
}
},
"delete": {
"tags": [
"CustomFormat"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CustomFormatBulkResource"
}
}
}
},
"responses": {
"200": {
"description": "OK"
}
}
}
},
"/api/v3/customformat/schema": { "/api/v3/customformat/schema": {
"get": { "get": {
"tags": [ "tags": [
@ -7986,6 +8033,25 @@
}, },
"additionalProperties": false "additionalProperties": false
}, },
"CustomFormatBulkResource": {
"type": "object",
"properties": {
"ids": {
"uniqueItems": true,
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"nullable": true
},
"includeCustomFormatWhenRenaming": {
"type": "boolean",
"nullable": true
}
},
"additionalProperties": false
},
"CustomFormatResource": { "CustomFormatResource": {
"type": "object", "type": "object",
"properties": { "properties": {