Page 1 of 1

API calls - inconsistent clip connect

Posted: Sun Feb 12, 2023 20:09
by slopes
I'm trying to do a simple API call to a local instance of Resolume Arena from the Swagger test interface on the same machine.

This is the Request URL for the "Connect the clip by its position in the clip grid"
http://192.168.1.XX:8080/api/v1/composi ... /1/connect

I'm not able to consistently to get it to work. I've reinstalled the latest version of Arena, started on a blank project, and it still is all over the place.

I'm able to start with Clip 1 on Layer 1 by issuing an API call. Then I go to Layer 1 Clip 2 by executing the API call from Swagger. All good so far. It goes forward on the same Layer fine. Clip 1, 2, 3, etc.

Then, I try to go back to Layer 1, Clip 1 from say Clip 4. Doesn't work. Server response says 204 but the clip doesn't move.

What am I missing?

Re: API calls - inconsistent clip connect

Posted: Thu Feb 16, 2023 10:50
by Zoltán
I'd guess you only send the true value.
Whether to connect the clip. This is analogous to whether the mouse is pressed down on the clip. If omitted, true and false are both send - as if a short click was generated
With true only it's behaving like the mouse button pressed. You need to release it first with false.

Or simply not send the true/false.

Re: API calls - inconsistent clip connect

Posted: Sun Feb 19, 2023 20:02
by slopes
You are absolutely right. Thank you.