2 Profile
Jamie edited this page 2018-08-23 13:32:18 +01:00

Endpoint: "/qualityprofile"

GET

Summary

Gets all quality profiles

Parameters

None

Returns JsonArray
[
  {
    "name": "Any",
    "cutoff": {
      "id": 1,
      "name": "MP3-192"
    },
    "items": [
      {
        "quality": {
          "id": 0,
          "name": "Unknown"
        },
        "allowed": false
      },
      {
        "quality": {
          "id": 1,
          "name": "MP3-192"
        },
        "allowed": false
      },
      {
        "quality": {
          "id": 2,
          "name": "MP3-VBR"
        },
        "allowed": true
      },
      {
        "quality": {
          "id": 3,
          "name": "MP3-256"
        },
        "allowed": true
      },
      {
        "quality": {
          "id": 4,
          "name": "MP3-320"
        },
        "allowed": true
      },
      {
        "quality": {
          "id": 5,
          "name": "MP3-512"
        },
        "allowed": true
      },
      {
        "quality": {
          "id": 6,
          "name": "FLAC"
        },
        "allowed": true
      }
    ],
    "language": "english",
    "id": 1
  },
  {
    "name": "Lossless",
    "cutoff": {
      "id": 6,
      "name": "FLAC"
    },
    "items": [
      {
        "quality": {
          "id": 0,
          "name": "Unknown"
        },
        "allowed": false
      },
      {
        "quality": {
          "id": 1,
          "name": "MP3-192"
        },
        "allowed": false
      },
      {
        "quality": {
          "id": 2,
          "name": "MP3-VBR"
        },
        "allowed": false
      },
      {
        "quality": {
          "id": 3,
          "name": "MP3-256"
        },
        "allowed": false
      },
      {
        "quality": {
          "id": 4,
          "name": "MP3-320"
        },
        "allowed": false
      },
      {
        "quality": {
          "id": 5,
          "name": "MP3-512"
        },
        "allowed": false
      },
      {
        "quality": {
          "id": 6,
          "name": "FLAC"
        },
        "allowed": false
      }
    ],
    "language": "english",
    "id": 2
  },
  {
    "name": "Standard",
    "cutoff": {
      "id": 1,
      "name": "MP3-192"
    },
    "items": [
      {
        "quality": {
          "id": 0,
          "name": "Unknown"
        },
        "allowed": false
      },
      {
        "quality": {
          "id": 1,
          "name": "MP3-192"
        },
        "allowed": false
      },
      {
        "quality": {
          "id": 2,
          "name": "MP3-VBR"
        },
        "allowed": false
      },
      {
        "quality": {
          "id": 3,
          "name": "MP3-256"
        },
        "allowed": true
      },
      {
        "quality": {
          "id": 4,
          "name": "MP3-320"
        },
        "allowed": true
      },
      {
        "quality": {
          "id": 5,
          "name": "MP3-512"
        },
        "allowed": false
      },
      {
        "quality": {
          "id": 6,
          "name": "FLAC"
        },
        "allowed": false
      }
    ],
    "language": "english",
    "id": 3
  }
]