Automated API Docs update

pull/9014/head
Servarr 1 year ago committed by Bogdan
parent f9f44aec7a
commit a946546793

@ -7017,123 +7017,26 @@
} }
} }
}, },
"/api/v3/release/push": { "/api/v3/releaseprofile": {
"post": {
"tags": [
"ReleasePush"
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ReleaseResource"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ReleaseResource"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/ReleaseResource"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ReleaseResource"
}
}
},
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ReleaseResource"
}
}
},
"text/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ReleaseResource"
}
}
}
}
}
}
}
},
"/api/v3/release/push/{id}": {
"get": {
"tags": [
"ReleasePush"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/ReleaseResource"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/ReleaseResource"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/ReleaseResource"
}
}
}
}
}
}
},
"/api/v3/remotepathmapping": {
"post": { "post": {
"tags": [ "tags": [
"RemotePathMapping" "ReleaseProfile"
], ],
"requestBody": { "requestBody": {
"content": { "content": {
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/RemotePathMappingResource" "$ref": "#/components/schemas/ReleaseProfileResource"
} }
}, },
"text/json": { "text/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/RemotePathMappingResource" "$ref": "#/components/schemas/ReleaseProfileResource"
} }
}, },
"application/*+json": { "application/*+json": {
"schema": { "schema": {
"$ref": "#/components/schemas/RemotePathMappingResource" "$ref": "#/components/schemas/ReleaseProfileResource"
} }
} }
} }
@ -7144,17 +7047,17 @@
"content": { "content": {
"text/plain": { "text/plain": {
"schema": { "schema": {
"$ref": "#/components/schemas/RemotePathMappingResource" "$ref": "#/components/schemas/ReleaseProfileResource"
} }
}, },
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/RemotePathMappingResource" "$ref": "#/components/schemas/ReleaseProfileResource"
} }
}, },
"text/json": { "text/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/RemotePathMappingResource" "$ref": "#/components/schemas/ReleaseProfileResource"
} }
} }
} }
@ -7163,7 +7066,7 @@
}, },
"get": { "get": {
"tags": [ "tags": [
"RemotePathMapping" "ReleaseProfile"
], ],
"responses": { "responses": {
"200": { "200": {
@ -7173,7 +7076,7 @@
"schema": { "schema": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/components/schemas/RemotePathMappingResource" "$ref": "#/components/schemas/ReleaseProfileResource"
} }
} }
}, },
@ -7181,7 +7084,7 @@
"schema": { "schema": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/components/schemas/RemotePathMappingResource" "$ref": "#/components/schemas/ReleaseProfileResource"
} }
} }
}, },
@ -7189,7 +7092,7 @@
"schema": { "schema": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/components/schemas/RemotePathMappingResource" "$ref": "#/components/schemas/ReleaseProfileResource"
} }
} }
} }
@ -7198,10 +7101,10 @@
} }
} }
}, },
"/api/v3/remotepathmapping/{id}": { "/api/v3/releaseprofile/{id}": {
"delete": { "delete": {
"tags": [ "tags": [
"RemotePathMapping" "ReleaseProfile"
], ],
"parameters": [ "parameters": [
{ {
@ -7222,7 +7125,7 @@
}, },
"put": { "put": {
"tags": [ "tags": [
"RemotePathMapping" "ReleaseProfile"
], ],
"parameters": [ "parameters": [
{ {
@ -7238,17 +7141,17 @@
"content": { "content": {
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/RemotePathMappingResource" "$ref": "#/components/schemas/ReleaseProfileResource"
} }
}, },
"text/json": { "text/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/RemotePathMappingResource" "$ref": "#/components/schemas/ReleaseProfileResource"
} }
}, },
"application/*+json": { "application/*+json": {
"schema": { "schema": {
"$ref": "#/components/schemas/RemotePathMappingResource" "$ref": "#/components/schemas/ReleaseProfileResource"
} }
} }
} }
@ -7259,17 +7162,17 @@
"content": { "content": {
"text/plain": { "text/plain": {
"schema": { "schema": {
"$ref": "#/components/schemas/RemotePathMappingResource" "$ref": "#/components/schemas/ReleaseProfileResource"
} }
}, },
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/RemotePathMappingResource" "$ref": "#/components/schemas/ReleaseProfileResource"
} }
}, },
"text/json": { "text/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/RemotePathMappingResource" "$ref": "#/components/schemas/ReleaseProfileResource"
} }
} }
} }
@ -7278,7 +7181,7 @@
}, },
"get": { "get": {
"tags": [ "tags": [
"RemotePathMapping" "ReleaseProfile"
], ],
"parameters": [ "parameters": [
{ {
@ -7297,17 +7200,17 @@
"content": { "content": {
"text/plain": { "text/plain": {
"schema": { "schema": {
"$ref": "#/components/schemas/RemotePathMappingResource" "$ref": "#/components/schemas/ReleaseProfileResource"
} }
}, },
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/RemotePathMappingResource" "$ref": "#/components/schemas/ReleaseProfileResource"
} }
}, },
"text/json": { "text/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/RemotePathMappingResource" "$ref": "#/components/schemas/ReleaseProfileResource"
} }
} }
} }
@ -7315,21 +7218,30 @@
} }
} }
}, },
"/api/v3/rename": { "/api/v3/release/push": {
"get": { "post": {
"tags": [ "tags": [
"RenameMovie" "ReleasePush"
], ],
"parameters": [ "requestBody": {
{ "content": {
"name": "movieId", "application/json": {
"in": "query", "schema": {
"schema": { "$ref": "#/components/schemas/ReleaseResource"
"type": "integer", }
"format": "int32" },
"text/json": {
"schema": {
"$ref": "#/components/schemas/ReleaseResource"
}
},
"application/*+json": {
"schema": {
"$ref": "#/components/schemas/ReleaseResource"
}
} }
} }
], },
"responses": { "responses": {
"200": { "200": {
"description": "Success", "description": "Success",
@ -7338,7 +7250,7 @@
"schema": { "schema": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/components/schemas/RenameMovieResource" "$ref": "#/components/schemas/ReleaseResource"
} }
} }
}, },
@ -7346,7 +7258,7 @@
"schema": { "schema": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/components/schemas/RenameMovieResource" "$ref": "#/components/schemas/ReleaseResource"
} }
} }
}, },
@ -7354,7 +7266,7 @@
"schema": { "schema": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/components/schemas/RenameMovieResource" "$ref": "#/components/schemas/ReleaseResource"
} }
} }
} }
@ -7363,10 +7275,21 @@
} }
} }
}, },
"/api/v3/restriction": { "/api/v3/release/push/{id}": {
"get": { "get": {
"tags": [ "tags": [
"Restriction" "ReleasePush"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
}
], ],
"responses": { "responses": {
"200": { "200": {
@ -7374,51 +7297,44 @@
"content": { "content": {
"text/plain": { "text/plain": {
"schema": { "schema": {
"type": "array", "$ref": "#/components/schemas/ReleaseResource"
"items": {
"$ref": "#/components/schemas/RestrictionResource"
}
} }
}, },
"application/json": { "application/json": {
"schema": { "schema": {
"type": "array", "$ref": "#/components/schemas/ReleaseResource"
"items": {
"$ref": "#/components/schemas/RestrictionResource"
}
} }
}, },
"text/json": { "text/json": {
"schema": { "schema": {
"type": "array", "$ref": "#/components/schemas/ReleaseResource"
"items": {
"$ref": "#/components/schemas/RestrictionResource"
}
} }
} }
} }
} }
} }
}, }
},
"/api/v3/remotepathmapping": {
"post": { "post": {
"tags": [ "tags": [
"Restriction" "RemotePathMapping"
], ],
"requestBody": { "requestBody": {
"content": { "content": {
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/RestrictionResource" "$ref": "#/components/schemas/RemotePathMappingResource"
} }
}, },
"text/json": { "text/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/RestrictionResource" "$ref": "#/components/schemas/RemotePathMappingResource"
} }
}, },
"application/*+json": { "application/*+json": {
"schema": { "schema": {
"$ref": "#/components/schemas/RestrictionResource" "$ref": "#/components/schemas/RemotePathMappingResource"
} }
} }
} }
@ -7429,17 +7345,53 @@
"content": { "content": {
"text/plain": { "text/plain": {
"schema": { "schema": {
"$ref": "#/components/schemas/RestrictionResource" "$ref": "#/components/schemas/RemotePathMappingResource"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/RemotePathMappingResource"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/RemotePathMappingResource"
}
}
}
}
}
},
"get": {
"tags": [
"RemotePathMapping"
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RemotePathMappingResource"
}
} }
}, },
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/RestrictionResource" "type": "array",
"items": {
"$ref": "#/components/schemas/RemotePathMappingResource"
}
} }
}, },
"text/json": { "text/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/RestrictionResource" "type": "array",
"items": {
"$ref": "#/components/schemas/RemotePathMappingResource"
}
} }
} }
} }
@ -7447,10 +7399,31 @@
} }
} }
}, },
"/api/v3/restriction/{id}": { "/api/v3/remotepathmapping/{id}": {
"delete": {
"tags": [
"RemotePathMapping"
],
"parameters": [
{
"name": "id",
"in": "path",
"required": true,
"schema": {
"type": "integer",
"format": "int32"
}
}
],
"responses": {
"200": {
"description": "Success"
}
}
},
"put": { "put": {
"tags": [ "tags": [
"Restriction" "RemotePathMapping"
], ],
"parameters": [ "parameters": [
{ {
@ -7466,17 +7439,17 @@
"content": { "content": {
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/RestrictionResource" "$ref": "#/components/schemas/RemotePathMappingResource"
} }
}, },
"text/json": { "text/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/RestrictionResource" "$ref": "#/components/schemas/RemotePathMappingResource"
} }
}, },
"application/*+json": { "application/*+json": {
"schema": { "schema": {
"$ref": "#/components/schemas/RestrictionResource" "$ref": "#/components/schemas/RemotePathMappingResource"
} }
} }
} }
@ -7487,26 +7460,26 @@
"content": { "content": {
"text/plain": { "text/plain": {
"schema": { "schema": {
"$ref": "#/components/schemas/RestrictionResource" "$ref": "#/components/schemas/RemotePathMappingResource"
} }
}, },
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/RestrictionResource" "$ref": "#/components/schemas/RemotePathMappingResource"
} }
}, },
"text/json": { "text/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/RestrictionResource" "$ref": "#/components/schemas/RemotePathMappingResource"
} }
} }
} }
} }
} }
}, },
"delete": { "get": {
"tags": [ "tags": [
"Restriction" "RemotePathMapping"
], ],
"parameters": [ "parameters": [
{ {
@ -7521,19 +7494,37 @@
], ],
"responses": { "responses": {
"200": { "200": {
"description": "Success" "description": "Success",
"content": {
"text/plain": {
"schema": {
"$ref": "#/components/schemas/RemotePathMappingResource"
}
},
"application/json": {
"schema": {
"$ref": "#/components/schemas/RemotePathMappingResource"
}
},
"text/json": {
"schema": {
"$ref": "#/components/schemas/RemotePathMappingResource"
}
}
}
} }
} }
}, }
},
"/api/v3/rename": {
"get": { "get": {
"tags": [ "tags": [
"Restriction" "RenameMovie"
], ],
"parameters": [ "parameters": [
{ {
"name": "id", "name": "movieId",
"in": "path", "in": "query",
"required": true,
"schema": { "schema": {
"type": "integer", "type": "integer",
"format": "int32" "format": "int32"
@ -7546,17 +7537,26 @@
"content": { "content": {
"text/plain": { "text/plain": {
"schema": { "schema": {
"$ref": "#/components/schemas/RestrictionResource" "type": "array",
"items": {
"$ref": "#/components/schemas/RenameMovieResource"
}
} }
}, },
"application/json": { "application/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/RestrictionResource" "type": "array",
"items": {
"$ref": "#/components/schemas/RenameMovieResource"
}
} }
}, },
"text/json": { "text/json": {
"schema": { "schema": {
"$ref": "#/components/schemas/RestrictionResource" "type": "array",
"items": {
"$ref": "#/components/schemas/RenameMovieResource"
}
} }
} }
} }
@ -8552,11 +8552,19 @@
], ],
"type": "string" "type": "string"
}, },
"AuthenticationRequiredType": {
"enum": [
"enabled",
"disabledForLocalAddresses"
],
"type": "string"
},
"AuthenticationType": { "AuthenticationType": {
"enum": [ "enum": [
"none", "none",
"basic", "basic",
"forms" "forms",
"external"
], ],
"type": "string" "type": "string"
}, },
@ -9607,6 +9615,9 @@
"type": "string", "type": "string",
"nullable": true "nullable": true
}, },
"privacy": {
"$ref": "#/components/schemas/PrivacyLevel"
},
"placeholder": { "placeholder": {
"type": "string", "type": "string",
"nullable": true "nullable": true
@ -9786,6 +9797,9 @@
"authenticationMethod": { "authenticationMethod": {
"$ref": "#/components/schemas/AuthenticationType" "$ref": "#/components/schemas/AuthenticationType"
}, },
"authenticationRequired": {
"$ref": "#/components/schemas/AuthenticationRequiredType"
},
"analyticsEnabled": { "analyticsEnabled": {
"type": "boolean" "type": "boolean"
}, },
@ -11836,6 +11850,15 @@
}, },
"additionalProperties": false "additionalProperties": false
}, },
"PrivacyLevel": {
"enum": [
"normal",
"password",
"apiKey",
"userName"
],
"type": "string"
},
"ProfileFormatItemResource": { "ProfileFormatItemResource": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -12288,6 +12311,42 @@
], ],
"type": "string" "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": { "ReleaseResource": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -12517,37 +12576,6 @@
], ],
"type": "string" "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": { "Revision": {
"type": "object", "type": "object",
"properties": { "properties": {
@ -12825,7 +12853,7 @@
}, },
"nullable": true "nullable": true
}, },
"restrictionIds": { "releaseProfileIds": {
"type": "array", "type": "array",
"items": { "items": {
"type": "integer", "type": "integer",

Loading…
Cancel
Save