1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-11-22 02:32:51 +01:00

Add page for language profiles v3 endpoint

Timothée Andres 2022-08-19 09:44:27 +02:00
parent fbc7e7b651
commit bebd129cc5

473
Language-Profile.md Normal file

@ -0,0 +1,473 @@
**Endpoint: "/languageprofile"**
## GET ##
##### Summary #####
Gets all language profiles
##### Parameters ######
*None*
##### Returns JsonArray ######
```JSON
[
{
"name": "English",
"upgradeAllowed": false,
"cutoff": {
"id": 1,
"name": "English"
},
"languages": [
{
"language": {
"id": 30,
"name": "Ukrainian"
},
"allowed": false
},
{
"language": {
"id": 29,
"name": "Malayalam"
},
"allowed": false
},
{
"language": {
"id": 13,
"name": "Vietnamese"
},
"allowed": false
},
{
"language": {
"id": 0,
"name": "Unknown"
},
"allowed": false
},
{
"language": {
"id": 17,
"name": "Turkish"
},
"allowed": false
},
{
"language": {
"id": 14,
"name": "Swedish"
},
"allowed": false
},
{
"language": {
"id": 3,
"name": "Spanish"
},
"allowed": false
},
{
"language": {
"id": 11,
"name": "Russian"
},
"allowed": false
},
{
"language": {
"id": 18,
"name": "Portuguese"
},
"allowed": false
},
{
"language": {
"id": 12,
"name": "Polish"
},
"allowed": false
},
{
"language": {
"id": 15,
"name": "Norwegian"
},
"allowed": false
},
{
"language": {
"id": 24,
"name": "Lithuanian"
},
"allowed": false
},
{
"language": {
"id": 21,
"name": "Korean"
},
"allowed": false
},
{
"language": {
"id": 8,
"name": "Japanese"
},
"allowed": false
},
{
"language": {
"id": 5,
"name": "Italian"
},
"allowed": false
},
{
"language": {
"id": 9,
"name": "Icelandic"
},
"allowed": false
},
{
"language": {
"id": 22,
"name": "Hungarian"
},
"allowed": false
},
{
"language": {
"id": 27,
"name": "Hindi"
},
"allowed": false
},
{
"language": {
"id": 23,
"name": "Hebrew"
},
"allowed": false
},
{
"language": {
"id": 20,
"name": "Greek"
},
"allowed": false
},
{
"language": {
"id": 4,
"name": "German"
},
"allowed": false
},
{
"language": {
"id": 2,
"name": "French"
},
"allowed": false
},
{
"language": {
"id": 19,
"name": "Flemish"
},
"allowed": false
},
{
"language": {
"id": 16,
"name": "Finnish"
},
"allowed": false
},
{
"language": {
"id": 1,
"name": "English"
},
"allowed": true
},
{
"language": {
"id": 7,
"name": "Dutch"
},
"allowed": false
},
{
"language": {
"id": 6,
"name": "Danish"
},
"allowed": false
},
{
"language": {
"id": 25,
"name": "Czech"
},
"allowed": false
},
{
"language": {
"id": 10,
"name": "Chinese"
},
"allowed": false
},
{
"language": {
"id": 28,
"name": "Bulgarian"
},
"allowed": false
},
{
"language": {
"id": 26,
"name": "Arabic"
},
"allowed": false
}
],
"id": 1
},
{
"name": "Any (english prefered)",
"upgradeAllowed": true,
"cutoff": {
"id": 1,
"name": "English"
},
"languages": [
{
"language": {
"id": 30,
"name": "Ukrainian"
},
"allowed": false
},
{
"language": {
"id": 29,
"name": "Malayalam"
},
"allowed": false
},
{
"language": {
"id": 13,
"name": "Vietnamese"
},
"allowed": true
},
{
"language": {
"id": 17,
"name": "Turkish"
},
"allowed": true
},
{
"language": {
"id": 14,
"name": "Swedish"
},
"allowed": true
},
{
"language": {
"id": 3,
"name": "Spanish"
},
"allowed": true
},
{
"language": {
"id": 11,
"name": "Russian"
},
"allowed": true
},
{
"language": {
"id": 18,
"name": "Portuguese"
},
"allowed": true
},
{
"language": {
"id": 12,
"name": "Polish"
},
"allowed": true
},
{
"language": {
"id": 15,
"name": "Norwegian"
},
"allowed": true
},
{
"language": {
"id": 24,
"name": "Lithuanian"
},
"allowed": true
},
{
"language": {
"id": 21,
"name": "Korean"
},
"allowed": true
},
{
"language": {
"id": 5,
"name": "Italian"
},
"allowed": true
},
{
"language": {
"id": 9,
"name": "Icelandic"
},
"allowed": true
},
{
"language": {
"id": 22,
"name": "Hungarian"
},
"allowed": true
},
{
"language": {
"id": 27,
"name": "Hindi"
},
"allowed": true
},
{
"language": {
"id": 23,
"name": "Hebrew"
},
"allowed": true
},
{
"language": {
"id": 20,
"name": "Greek"
},
"allowed": true
},
{
"language": {
"id": 19,
"name": "Flemish"
},
"allowed": true
},
{
"language": {
"id": 16,
"name": "Finnish"
},
"allowed": true
},
{
"language": {
"id": 7,
"name": "Dutch"
},
"allowed": true
},
{
"language": {
"id": 6,
"name": "Danish"
},
"allowed": true
},
{
"language": {
"id": 25,
"name": "Czech"
},
"allowed": true
},
{
"language": {
"id": 10,
"name": "Chinese"
},
"allowed": true
},
{
"language": {
"id": 28,
"name": "Bulgarian"
},
"allowed": true
},
{
"language": {
"id": 26,
"name": "Arabic"
},
"allowed": true
},
{
"language": {
"id": 4,
"name": "German"
},
"allowed": true
},
{
"language": {
"id": 0,
"name": "Unknown"
},
"allowed": true
},
{
"language": {
"id": 8,
"name": "Japanese"
},
"allowed": true
},
{
"language": {
"id": 2,
"name": "French"
},
"allowed": true
},
{
"language": {
"id": 1,
"name": "English"
},
"allowed": true
}
],
"id": 3
}
]
```