• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support General Questions API Help

     
    • 0 Vote(s) - 0 Average

    API Help

    chicckd
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2025 May
    Reputation: 0
    #1
    2025-05-30, 03:11 PM
    I've tried to figure out the API for Jellyfin but failed!

    I'm looking at doing something really simple, enable or disable a library via an API so I can script it. Or if there is another way of doing this in a script I'd try.

    I was trying to create something using this

    https://api.jellyfin.org/#tag/LibraryStr...aryOptions

    But getting really stuck as to how it works or the data I need to feed to the API?

    Does anyone have any pointers?

    TIA.
    chicckd
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2025 May
    Reputation: 0
    #2
    6 hours ago
    Hello.

    Would anyone be able to help with this?

    I think it should be simple for some one other than me but I'm struggling with the API commands.

    I would like a script that would enable our disable a library of that's possible?

    I'm just stuck!
    niels
    Offline

    Core Team

    Posts: 289
    Threads: 4
    Joined: 2023 Jun
    Reputation: 17
    Country:Netherlands
    #3
    3 hours ago
    You first need to send a GET request to get the current library options, then change the ones you need to change (so Enabled in this case) and then finally POST it back to the linked API operation.
    [Image: GitHub%20Sponsors-grey?logo=github] [Image: Buy%20Me%20a%20Coffee-grey?logo=buymeacoffee]
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode