Plex Media Server - JSON rather than XML?

I'm currently looking into controlling my Plex server via the API. I have two questions:

 

  1. Is there a way to get JSON returned from commands rather than XML?
  2. Are the available commands documented cleanly anywhere, or do I have to go scavenging around API wrappers and things that have already been implemented, which may or may not be complete?

Add an http header:


Accept: application/json


To get back a JSON response. For the rest you can check the wiki for some docs but there isn’t really a fully documented third party api. The best is to look at examples or search the forum.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.