1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-10-03 22:57:18 +02:00

Automated API Docs update

This commit is contained in:
Servarr 2023-08-15 12:19:50 +00:00 committed by Bogdan
parent f9f44aec7a
commit a946546793

View File

@ -7017,6 +7017,207 @@
}
}
},
"/api/v3/releaseprofile": {
"post": {
"tags": [
"ReleaseProfile"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ReleaseProfileResource"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ReleaseProfileResource"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/ReleaseProfileResource"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ReleaseProfileResource"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ReleaseProfileResource"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ReleaseProfileResource"
}
}
}
}
}
},
"get": {
"tags": [
"ReleaseProfile"
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ReleaseProfileResource"
}
}
},
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ReleaseProfileResource"
}
}
},
"text/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ReleaseProfileResource"
}
}
}
}
}
}
}
},
"/api/v3/releaseprofile/{id}": {
"delete": {
"tags": [
"ReleaseProfile"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
}
],
"responses": {
"200": {
"description": "Success"
}
}
},
"put": {
"tags": [
"ReleaseProfile"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ReleaseProfileResource"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ReleaseProfileResource"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/ReleaseProfileResource"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ReleaseProfileResource"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ReleaseProfileResource"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ReleaseProfileResource"
}
}
}
}
}
},
"get": {
"tags": [
"ReleaseProfile"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ReleaseProfileResource"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ReleaseProfileResource"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ReleaseProfileResource"
}
}
}
}
}
}
},
"/api/v3/release/push": {
"post": {
"tags": [
@ -7363,207 +7564,6 @@
}
}
},
"/api/v3/restriction": {
"get": {
"tags": [
"Restriction"
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RestrictionResource"
}
}
},
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RestrictionResource"
}
}
},
"text/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RestrictionResource"
}
}
}
}
}
}
},
"post": {
"tags": [
"Restriction"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/RestrictionResource"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/RestrictionResource"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/RestrictionResource"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/RestrictionResource"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/RestrictionResource"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/RestrictionResource"
}
}
}
}
}
}
},
"/api/v3/restriction/{id}": {
"put": {
"tags": [
"Restriction"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/RestrictionResource"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/RestrictionResource"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/RestrictionResource"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/RestrictionResource"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/RestrictionResource"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/RestrictionResource"
}
}
}
}
}
},
"delete": {
"tags": [
"Restriction"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
}
],
"responses": {
"200": {
"description": "Success"
}
}
},
"get": {
"tags": [
"Restriction"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/RestrictionResource"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/RestrictionResource"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/RestrictionResource"
}
}
}
}
}
}
},
"/api/v3/rootfolder": {
"post": {
"tags": [
@ -8552,11 +8552,19 @@
],
"type": "string"
},
"AuthenticationRequiredType": {
"enum": [
"enabled",
"disabledForLocalAddresses"
],
"type": "string"
},
"AuthenticationType": {
"enum": [
"none",
"basic",
"forms"
"forms",
"external"
],
"type": "string"
},
@ -9607,6 +9615,9 @@
"type": "string",
"nullable": true
},
"privacy": {
"$ref": "#/components/schemas/PrivacyLevel"
},
"placeholder": {
"type": "string",
"nullable": true
@ -9786,6 +9797,9 @@
"authenticationMethod": {
"$ref": "#/components/schemas/AuthenticationType"
},
"authenticationRequired": {
"$ref": "#/components/schemas/AuthenticationRequiredType"
},
"analyticsEnabled": {
"type": "boolean"
},
@ -11836,6 +11850,15 @@
},
"additionalProperties": false
},
"PrivacyLevel": {
"enum": [
"normal",
"password",
"apiKey",
"userName"
],
"type": "string"
},
"ProfileFormatItemResource": {
"type": "object",
"properties": {
@ -12288,6 +12311,42 @@
],
"type": "string"
},
"ReleaseProfileResource": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"name": {
"type": "string",
"nullable": true
},
"enabled": {
"type": "boolean"
},
"required": {
"nullable": true
},
"ignored": {
"nullable": true
},
"indexerId": {
"type": "integer",
"format": "int32"
},
"tags": {
"uniqueItems": true,
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"nullable": true
}
},
"additionalProperties": false
},
"ReleaseResource": {
"type": "object",
"properties": {
@ -12517,37 +12576,6 @@
],
"type": "string"
},
"RestrictionResource": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"required": {
"type": "string",
"nullable": true
},
"preferred": {
"type": "string",
"nullable": true
},
"ignored": {
"type": "string",
"nullable": true
},
"tags": {
"uniqueItems": true,
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"nullable": true
}
},
"additionalProperties": false
},
"Revision": {
"type": "object",
"properties": {
@ -12825,7 +12853,7 @@
},
"nullable": true
},
"restrictionIds": {
"releaseProfileIds": {
"type": "array",
"items": {
"type": "integer",