I recall someone saying that support registers have to be added to a module to be accessible via RestAPI (and you need access to that module, of course)
The above applies to the window when it is opened for the first time. If the window is already open and I choose Window/Restore Position, the window takes the correct position. Namely, the upper left ...