Plex Companion protocol API?

I've seen this mentioned deep down in a small handful of other posts, but thought I might give it it's own.  Given that Plex Companion has presumably superseded the old-school HTTP playback API, is there any documentation or sample code for implementing a Plex Companion Controller?  Thanks in advance.

Also curious about this. Does anyone have more information on this?