Skip to main content

Libraries

Library sections and the items they contain.

List library sections

GET /library/sections
Returns all configured library sections, such as movies, TV shows, music, and photos.

Response

{
  "MediaContainer": {
    "size": 2,
    "Directory": [
      {
        "key": "1",
        "type": "movie",
        "title": "Movies"
      }
    ]
  }
}
FieldTypeDescription
keystringSection identifier.
typestringSection type: movie, show, artist, or photo.
titlestringDisplay name.
See the Quick Start for a runnable example, and the API Reference for the full endpoint schema.