Sonarr Quality Definition API
The QualityDefinition API from Sonarr — 6 operation(s) for qualitydefinition.
The QualityDefinition API from Sonarr — 6 operation(s) for qualitydefinition.
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-qualitydefinition-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 Quality Definition API
license:
name: GPL-3.0
url: https://github.com/Sonarr/Sonarr/blob/develop/LICENSE
version: '1.0'
description: 'Operations tagged QualityDefinition across 2 of this provider''s published API definitions: openapi_v3.json, openapi_v5.json. Each path carries the servers of the definition it was published in.'
servers:
- url: '{protocol}://{hostpath}'
variables:
protocol:
default: http
enum:
- http
- https
hostpath:
default: localhost:8989
security:
- X-Api-Key: []
- apikey: []
tags:
- name: QualityDefinition
paths:
/api/v3/qualitydefinition/{id}:
put:
tags:
- QualityDefinition
parameters:
- name: id
in: path
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/QualityDefinitionResource'
text/json:
schema:
$ref: '#/components/schemas/QualityDefinitionResource'
application/*+json:
schema:
$ref: '#/components/schemas/QualityDefinitionResource'
responses:
'200':
description: OK
content:
text/plain:
schema:
$ref: '#/components/schemas/QualityDefinitionResource'
application/json:
schema:
$ref: '#/components/schemas/QualityDefinitionResource'
text/json:
schema:
$ref: '#/components/schemas/QualityDefinitionResource'
summary: Replace api qualitydefinition by id
x-summary-source: derived
operationId: putApiV3QualitydefinitionById
x-operation-id-source: derived
get:
tags:
- QualityDefinition
parameters:
- name: id
in: path
required: true
schema:
type: integer
format: int32
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/QualityDefinitionResource'
'404':
description: Not Found
summary: Get api qualitydefinition by id
x-summary-source: derived
operationId: getApiV3QualitydefinitionById
x-operation-id-source: derived
servers:
- url: '{protocol}://{hostpath}'
variables:
protocol:
default: http
enum:
- http
- https
hostpath:
default: localhost:8989
/api/v3/qualitydefinition:
get:
tags:
- QualityDefinition
responses:
'200':
description: OK
content:
text/plain:
schema:
type: array
items:
$ref: '#/components/schemas/QualityDefinitionResource'
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/QualityDefinitionResource'
text/json:
schema:
type: array
items:
$ref: '#/components/schemas/QualityDefinitionResource'
summary: Get api qualitydefinition
x-summary-source: derived
operationId: getApiV3Qualitydefinition
x-operation-id-source: derived
servers:
- url: '{protocol}://{hostpath}'
variables:
protocol:
default: http
enum:
- http
- https
hostpath:
default: localhost:8989
/api/v3/qualitydefinition/update:
put:
tags:
- QualityDefinition
requestBody:
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/QualityDefinitionResource'
text/json:
schema:
type: array
items:
$ref: '#/components/schemas/QualityDefinitionResource'
application/*+json:
schema:
type: array
items:
$ref: '#/components/schemas/QualityDefinitionResource'
responses:
'200':
description: OK
summary: Replace api qualitydefinition update
x-summary-source: derived
operationId: putApiV3QualitydefinitionUpdate
x-operation-id-source: derived
servers:
- url: '{protocol}://{hostpath}'
variables:
protocol:
default: http
enum:
- http
- https
hostpath:
default: localhost:8989
/api/v3/qualitydefinition/limits:
get:
tags:
- QualityDefinition
responses:
'200':
description: OK
content:
text/plain:
schema:
$ref: '#/components/schemas/QualityDefinitionLimitsResource'
application/json:
schema:
$ref: '#/components/schemas/QualityDefinitionLimitsResource'
text/json:
schema:
$ref: '#/components/schemas/QualityDefinitionLimitsResource'
summary: Get api qualitydefinition limits
x-summary-source: derived
operationId: getApiV3QualitydefinitionLimits
x-operation-id-source: derived
servers:
- url: '{protocol}://{hostpath}'
variables:
protocol:
default: http
enum:
- http
- https
hostpath:
default: localhost:8989
/api/v5/qualitydefinition/{id}:
put:
tags:
- QualityDefinition
parameters:
- name: id
in: path
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/QualityDefinitionResource_2'
responses:
'202':
description: Accepted
content:
application/json:
schema:
$ref: '#/components/schemas/QualityDefinitionResource_2'
'404':
description: Not Found
summary: Replace api qualitydefinition by id
x-summary-source: derived
operationId: putApiV5QualitydefinitionById
x-operation-id-source: derived
get:
tags:
- QualityDefinition
parameters:
- name: id
in: path
required: true
schema:
type: integer
format: int32
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/QualityDefinitionResource_2'
'404':
description: Not Found
summary: Get api qualitydefinition by id
x-summary-source: derived
operationId: getApiV5QualitydefinitionById
x-operation-id-source: derived
servers:
- url: '{protocol}://{hostpath}'
variables:
protocol:
default: http
enum:
- http
- https
hostpath:
default: localhost:8989
/api/v5/qualitydefinition:
get:
tags:
- QualityDefinition
responses:
'200':
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/QualityDefinitionResource_2'
summary: Get api qualitydefinition
x-summary-source: derived
operationId: getApiV5Qualitydefinition
x-operation-id-source: derived
put:
tags:
- QualityDefinition
requestBody:
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/QualityDefinitionResource_2'
responses:
'200':
description: OK
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/QualityDefinitionResource_2'
summary: Replace api qualitydefinition
x-summary-source: derived
operationId: putApiV5Qualitydefinition
x-operation-id-source: derived
servers:
- url: '{protocol}://{hostpath}'
variables:
protocol:
default: http
enum:
- http
- https
hostpath:
default: localhost:8989
components:
schemas:
Quality:
type: object
properties:
id:
type: integer
format: int32
name:
type:
- string
- 'null'
source:
$ref: '#/components/schemas/QualitySource'
resolution:
type: integer
format: int32
additionalProperties: false
QualitySource:
enum:
- unknown
- television
- televisionRaw
- web
- webRip
- dvd
- bluray
- blurayRaw
type: string
QualityDefinitionResource:
type: object
properties:
id:
type: integer
format: int32
quality:
$ref: '#/components/schemas/Quality'
title:
type:
- string
- 'null'
weight:
type: integer
format: int32
minSize:
type:
- number
- 'null'
format: double
maxSize:
type:
- number
- 'null'
format: double
preferredSize:
type:
- number
- 'null'
format: double
additionalProperties: false
QualityDefinitionLimitsResource:
type: object
properties:
min:
type: integer
format: int32
max:
type: integer
format: int32
additionalProperties: false
QualityDefinitionResource_2:
type: object
properties:
id:
type: integer
format: int32
quality:
$ref: '#/components/schemas/Quality'
title:
type:
- string
- 'null'
weight:
type: integer
format: int32
additionalProperties: false
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
x-refined-from:
- openapi_v3.json
- openapi_v5.json