mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-11-22 02:32:51 +01:00
Minimums for webhook schema
parent
acea2223e4
commit
950ca91453
@ -42,10 +42,10 @@ This page provides a [JSON schema](http://json-schema.org/) for validating event
|
||||
"type": "object",
|
||||
"required": ["id", "title", "path"],
|
||||
"properties": {
|
||||
"id": { "type": "integer", "minimum": 0 },
|
||||
"id": { "type": "integer", "minimum": 1 },
|
||||
"title": { "type": "string" },
|
||||
"path": { "type": "string" },
|
||||
"tvdbId": { "type": "integer", "minimum": 0 }
|
||||
"tvdbId": { "type": "integer", "minimum": 1 }
|
||||
}
|
||||
},
|
||||
"episodes": {
|
||||
@ -62,7 +62,7 @@ This page provides a [JSON schema](http://json-schema.org/) for validating event
|
||||
"airDate": { "type": "string", "format": "date" },
|
||||
"airDateUtc": { "type": "string", "format": "date-time" },
|
||||
"quality": { "type": "string", "description": "Deprecated: will be removed in a future version" },
|
||||
"qualityVersion": { "type": "integer", "minimum": 0, "description": "Deprecated: will be removed in a future version" },
|
||||
"qualityVersion": { "type": "integer", "minimum": 1, "description": "Deprecated: will be removed in a future version" },
|
||||
"releaseGroup": { "type": "string", "description": "Deprecated: will be removed in a future version" },
|
||||
"sceneName": { "type": "string", "description": "Deprecated: will be removed in a future version" }
|
||||
}
|
||||
@ -72,7 +72,7 @@ This page provides a [JSON schema](http://json-schema.org/) for validating event
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"quality": { "type": "string"},
|
||||
"qualityVersion": { "type": "integer", "minimum": 0 },
|
||||
"qualityVersion": { "type": "integer", "minimum": 1 },
|
||||
"releaseGroup": { "type": "string" },
|
||||
"releaseTitle": { "type": "string" },
|
||||
"indexer": { "type": "string" },
|
||||
@ -83,11 +83,11 @@ This page provides a [JSON schema](http://json-schema.org/) for validating event
|
||||
"type": "object",
|
||||
"required": ["id", "relativePath", "path"],
|
||||
"properties": {
|
||||
"id": { "type": "integer", "minimum": 0 },
|
||||
"id": { "type": "integer", "minimum": 1 },
|
||||
"relativePath": { "type": "string" },
|
||||
"path": { "type": "string" },
|
||||
"quality": { "type": "string" },
|
||||
"qualityVersion": { "type": "integer", "minimum": 0 },
|
||||
"qualityVersion": { "type": "integer", "minimum": 1 },
|
||||
"releaseGroup": { "type": "string" },
|
||||
"sceneName": { "type": "string" }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user