Sonarr Media Management Config API
The MediaManagementConfig API from Sonarr — 2 operation(s) for mediamanagementconfig.
The MediaManagementConfig API from Sonarr — 2 operation(s) for mediamanagementconfig.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/sonarr:sonarr-mediamanagementconfig-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Sonarr Media Management Config API
description: Sonarr API docs - The v3 API docs apply to both v3 and v4 versions of Sonarr. Some functionality may only be available in v4 of the Sonarr application.
license:
name: GPL-3.0
url: https://github.com/Sonarr/Sonarr/blob/develop/LICENSE
version: 3.0.0
servers:
- url: '{protocol}://{hostpath}'
variables:
protocol:
default: http
enum:
- http
- https
hostpath:
default: localhost:8989
security:
- X-Api-Key: []
- apikey: []
tags:
- name: MediaManagementConfig
paths:
/api/v3/config/mediamanagement:
get:
tags:
- MediaManagementConfig
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/MediaManagementConfigResource'
summary: Get api config mediamanagement
x-summary-source: derived
operationId: getApiV3ConfigMediamanagement
x-operation-id-source: derived
/api/v3/config/mediamanagement/{id}:
put:
tags:
- MediaManagementConfig
parameters:
- name: id
in: path
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/MediaManagementConfigResource'
responses:
'200':
description: OK
content:
text/plain:
schema:
$ref: '#/components/schemas/MediaManagementConfigResource'
application/json:
schema:
$ref: '#/components/schemas/MediaManagementConfigResource'
text/json:
schema:
$ref: '#/components/schemas/MediaManagementConfigResource'
summary: Replace api config mediamanagement by id
x-summary-source: derived
operationId: putApiV3ConfigMediamanagementById
x-operation-id-source: derived
get:
tags:
- MediaManagementConfig
parameters:
- name: id
in: path
required: true
schema:
type: integer
format: int32
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/MediaManagementConfigResource'
'404':
description: Not Found
summary: Get api config mediamanagement by id
x-summary-source: derived
operationId: getApiV3ConfigMediamanagementById
x-operation-id-source: derived
components:
schemas:
SeasonPackUpgradeType:
enum:
- all
- threshold
- any
type: string
FileDateType:
enum:
- none
- localAirDate
- utcAirDate
type: string
EpisodeTitleRequiredType:
enum:
- always
- bulkSeasonReleases
- never
type: string
MediaManagementConfigResource:
type: object
properties:
id:
type: integer
format: int32
autoUnmonitorPreviouslyDownloadedEpisodes:
type: boolean
recycleBin:
type:
- string
- 'null'
recycleBinCleanupDays:
type: integer
format: int32
downloadPropersAndRepacks:
$ref: '#/components/schemas/ProperDownloadTypes'
createEmptySeriesFolders:
type: boolean
deleteEmptyFolders:
type: boolean
fileDate:
$ref: '#/components/schemas/FileDateType'
rescanAfterRefresh:
$ref: '#/components/schemas/RescanAfterRefreshType'
setPermissionsLinux:
type: boolean
chmodFolder:
type:
- string
- 'null'
chownGroup:
type:
- string
- 'null'
episodeTitleRequired:
$ref: '#/components/schemas/EpisodeTitleRequiredType'
skipFreeSpaceCheckWhenGrabbing:
type: boolean
skipFreeSpaceCheckWhenImporting:
type: boolean
minimumFreeSpaceWhenImporting:
type: integer
format: int32
copyUsingHardlinks:
type: boolean
useScriptImport:
type: boolean
scriptImportPath:
type:
- string
- 'null'
importExtraFiles:
type: boolean
extraFileExtensions:
type:
- string
- 'null'
enableMediaInfo:
type: boolean
userRejectedExtensions:
type:
- string
- 'null'
seasonPackUpgrade:
$ref: '#/components/schemas/SeasonPackUpgradeType'
seasonPackUpgradeThreshold:
type: number
format: double
additionalProperties: false
RescanAfterRefreshType:
enum:
- always
- afterManual
- never
type: string
ProperDownloadTypes:
enum:
- preferAndUpgrade
- doNotUpgrade
- doNotPrefer
type: string
securitySchemes:
X-Api-Key:
type: apiKey
description: Apikey passed as header
name: X-Api-Key
in: header
apikey:
type: apiKey
description: Apikey passed as query parameter
name: apikey
in: query