• 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 endpoint to modify metadata

     
    • 0 Vote(s) - 0 Average

    API endpoint to modify metadata

    I'd like to set "valoración personal"
    chipiguay
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2025 Nov
    Reputation: 0
    Country:Spain
    #2
    2025-12-21, 07:06 PM (This post was last modified: 2025-12-21, 07:08 PM by chipiguay. Edited 1 time in total.)
    Hi all!

    I found what endpoint I need to use:
    - <url>/Items

    with both GET and POST requests.

    I hit however another wall: I can fetch the data but I cannot update the details.
    The POST request I'm using is as follows:
    Headers:
    - Authorization: MediaBrowser Token="{TOKEN}"
    - Accept: application/json; charset=utf-8
    - Content-Type: application/json
    - Accept-Encoding: text/plain
    - Accept: '*'
    Url:
    - https://<my-server>/items/<itemId>
    Data:
    - {"CustomRating": "13"}

    Response is:
    {"type":"https://tools.ietf.org/html/rfc9110#section-15.5.1","title":"One or more validation errors occurred.","status":400,"errors":{"$":["\u0027C\u0027 is an invalid start of a value. Path: $ | LineNumber: 0 | BytePositionInLine: 0."],"request":["The request field is required."]},"traceId":"00-c4537c18c628d487cd49a2429ad69e1e-a5d9afd2eff4f505-00"}

    I get the data payload I'm sending is not what the server expects, but the docs (https://api.jellyfin.org/#tag/ItemUpdate...UpdateItem) I'm checking don't provide any further details on this regard.

    In case anyone is curious, so far my code is here: https://codeberg.org/elfio/common-sense-media-jellyfin/

    Feedback is welcome! :pray:
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    API endpoint to modify metadata - by chipiguay - 2025-11-01, 11:18 PM
    RE: API endpoint to modify metadata - by chipiguay - 2025-12-21, 07:06 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