Is there an open API for WD TV?

It’s making use of the DLNA Renderer controls.

That’s not really an “API,” so to speak…  Since it’s making use of the DMR functions, it can only do certain tasks.