Sonarr Media Management Settings API
The MediaManagementSettings API from Sonarr — 2 operation(s) for mediamanagementsettings.
The MediaManagementSettings API from Sonarr — 2 operation(s) for mediamanagementsettings.
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-mediamanagementsettings-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 Settings API
description: Sonarr API docs - The v5 API docs apply to Sonarr v5 only.
license:
name: GPL-3.0
url: https://github.com/Sonarr/Sonarr/blob/develop/LICENSE
version: 5.0.0
servers:
- url: '{protocol}://{hostpath}'
variables:
protocol:
default: http
enum:
- http
- https
hostpath:
default: localhost:8989
security:
- X-Api-Key: []
- apikey: []
tags:
- name: MediaManagementSettings
paths:
/api/v5/settings/mediamanagement:
get:
tags:
- MediaManagementSettings
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/MediaManagementSettingsResource'
summary: Get api settings mediamanagement
x-summary-source: derived
operationId: getApiV5SettingsMediamanagement
x-operation-id-source: derived
/api/v5/settings/mediamanagement/{id}:
put:
tags:
- MediaManagementSettings
parameters:
- name: id
in: path
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/MediaManagementSettingsResource'
responses:
'202':
description: Accepted
content:
application/json:
schema:
$ref: '#/components/schemas/MediaManagementSettingsResource'
'404':
description: Not Found
summary: Replace api settings mediamanagement by id
x-summary-source: derived
operationId: putApiV5SettingsMediamanagementById
x-operation-id-source: derived
get:
tags:
- MediaManagementSettings
parameters:
- name: id
in: path
required: true
schema:
type: integer
format: int32
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/MediaManagementSettingsResource'
'404':
description: Not Found
summary: Get api settings mediamanagement by id
x-summary-source: derived
operationId: getApiV5SettingsMediamanagementById
x-operation-id-source: derived
components:
schemas:
SeasonPackUpgradeType:
enum:
- all
- threshold
- any
type: string
FileDateType:
enum:
- none
- localAirDate
- utcAirDate
type: string
MediaManagementSettingsResource:
type: object
properties:
id:
type: integer
format: int32
autoUnmonitorPreviouslyDownloadedEpisodes:
type: boolean
recycleBin:
type:
- string
- 'null'
recycleBinCleanupDays:
type:
- integer
- 'null'
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
- 'null'
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
- 'null'
format: double
additionalProperties: false
EpisodeTitleRequiredType:
enum:
- always
- bulkSeasonReleases
- never
type: string
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