• 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 Correct way to use Jellyfin API to restart the server

     
    • 0 Vote(s) - 0 Average

    Correct way to use Jellyfin API to restart the server

    Jellyfin API - restart
    R4RaiN
    Offline

    Junior Member

    Posts: 11
    Threads: 5
    Joined: 2024 Feb
    Reputation: 0
    Country:Australia
    #1
    2024-02-29, 09:44 AM (This post was last modified: 2024-02-29, 09:45 AM by R4RaiN.)
    What's the correct way to make an api request to restart the server ?

    what I did :
    curl -i -X POST -H "Authorization: CustomAuthentication 404ba4ecac5e46e4aa38fb2bac9656c1" http://ip:8096/system/restart

    tried

    curl -i -X POST -H "Authorization: CustomAuthentication 404ba4ecac5e46e4aa38fb2bac9656c1" http://ip:8096/api/system/restart

    responses:
    HTTP/1.1 302 Found
    Content-Length: 0
    Date: Thu, 29 Feb 2024 09:38:52 GMT
    Server: Kestrel
    Location: /jellyfin/web/index.html

    when I used 

    curl -i -X POST -H "Authorization: CustomAuthentication 404ba4ecac5e46e4aa38fb2bac9656c1" http://ip:8096/jellyfin/api/system/restart

    Response:
    HTTP/1.1 404 Not Found
    Content-Length: 0
    Date: Thu, 29 Feb 2024 09:42:46 GMT
    Server: Kestrel
    X-Response-Time-ms: 0

    curl -i -X POST -H "Authorization: 404ba4ecac5e46e4aa38fb2bac9656c1" http://ip:8096/api/system/restart HTTP/1.1 302 Found Content-Length: 0 Date: Thu, 29 Feb 2024 09:42:29 GMT Server: Kestrel Location: /jellyfin/web/index.html
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Correct way to use Jellyfin API to restart the server - by R4RaiN - 2024-02-29, 09:44 AM
    RE: Correct way to use Jellyfin API to restart the server - by niels - 2024-02-29, 10:22 AM
    RE: Correct way to use Jellyfin API to restart the server - by R4RaiN - 2024-02-29, 08:48 PM

    • 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