• 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 Keys - how to use?

     
    • 0 Vote(s) - 0 Average

    API Keys - how to use?

    Isn't there a way to use curl with API keys?
    jellyfin
    Offline

    Member

    Posts: 56
    Threads: 12
    Joined: 2024 Nov
    Reputation: 0
    Country:Germany
    #3
    3 hours ago (This post was last modified: 3 hours ago by jellyfin. Edited 1 time in total.)
    (Yesterday, 05:37 AM)crobibero Wrote: This is currently the best resource for using a Jellyfin ApiKey or token.

    https://gist.github.com/nielsvanvelzen/e...1ffaf12a6f

    Thanks, but I saw really zero information about how to do this.
    What is need: curl command and options, the required string and other arguments to use this.

    I then googled more and found that some Emby information may still be valid for Jellyfin!

    The following (which I could not find anywhere in the Jellyfin docs) rescans all libraries:

    curl --data '' http://127.0.0.1:8096/Emby/Library/Refre...=<API_KEY>

    I think other syntax, using -X POST and similar stuff may also work, but I did not research further.

    I also found  information about how to rescan just one library:

    curl -X POST "http://127.0.0.1:8096/Emby/Library/Media/Updated?api_key=<API_KEY>" -H "accept: */*" -H "Content-Type: application/json" -d "{\"Updates\":[{\"Path\":\"${DIR}\",\"UpdateType\":\"\"}]}"

    UpdateType is optional, but I could not find out, which syntax to use when letting it out.
    But anyways, the above did not work for me.

    Anybody has more information on how to do this?
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    API Keys - how to use? - by jellyfin - 2025-11-28, 10:34 PM
    RE: API Keys - how to use? - by crobibero - Yesterday, 05:37 AM
    RE: API Keys - how to use? - by jellyfin - 3 hours ago

    • 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