python-plexapi icon indicating copy to clipboard operation
python-plexapi copied to clipboard

fix: acceptInvite deprecated

Open mtthidoteu opened this issue 5 months ago • 0 comments

Description

MyPlexAccount.acceptInvite now targets Plex TV’s new v2 endpoint:

  • Replaced the deprecated
    PUT https://plex.tv/api/invites/requests/{invite.id}
    with
    POST https://plex.tv/api/v2/shared_servers/{invite.id}/accept.

This keeps the library working after Plex removed the old route.

Fixes #1536

Type of change

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature
  • [ ] Breaking change
  • [ ] Documentation update

Checklist

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [x] I have added or updated the docstring for new or existing methods
  • [ ] I have added tests when applicable (existing tests that cover acceptInvite still pass)

mtthidoteu avatar Jul 04 '25 14:07 mtthidoteu