1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-11-25 12:12:58 +01:00

Parse endpoint docs

Mark McDowall 2017-08-21 21:24:38 -07:00
parent 396b811219
commit 3426280700
No known key found for this signature in database
GPG Key ID: D4CEFA9A718052E0
3 changed files with 60 additions and 0 deletions

@ -47,6 +47,7 @@ Where:
- [[Images]]
- [[Wanted Missing]]
- [[Queue]]
- [[Parse]]
- [[Profile]]
- [[Release]]
- [[Release/Push|Release-Push]]

58
API/Parse.md Normal file

@ -0,0 +1,58 @@
**Endpoint: "/parse"**
## GET ##
##### Summary #####
Returns the result of parsing a title or path. `series` and `episodes` will be returned only if the parsing matches to a specific series and one or more episodes. `series` and `episodes` will be formatted the same as [[Series]] and [[Episode]] responses.
##### Parameters ######
Required:
`title (string)`
or
`path (string)`
##### Response #####
```JSON
{
"title": "Series.Title.S01E01.720p.HDTV-Sonarr",
"parsedEpisodeInfo": {
"releaseTitle": "Series.Title.S01E01.720p.HDTV-Sonarr",
"seriesTitle": "Series Title",
"seriesTitleInfo": {
"title": "Series Title",
"titleWithoutYear": "Series Title",
"year": 0
},
"quality": {
"quality": {
"id": 4,
"name": "HDTV-720p"
},
"revision": {
"version": 1,
"real": 0
}
},
"seasonNumber": 1,
"episodeNumbers": [
1
],
"absoluteEpisodeNumbers": [],
"language": "english",
"fullSeason": false,
"special": false,
"releaseGroup": "Sonarr",
"releaseHash": "",
"isDaily": false,
"isAbsoluteNumbering": false,
"isPossibleSpecialEpisode": false
},
"series": {},
"episodes": []
}
```

@ -52,6 +52,7 @@
* [[Images]]
* [[Wanted Missing]]
* [[Queue]]
* [[Parse]]
* [[Profile]]
* [[Release]]
* [[Release/Push|Release-Push]]