Create Events via http post

s3bi

New member
Hi,

I created a feature request via e-Mail at Area51 Tech Support.

I requested a possibility to create named events vie URL. I figured out that it is possible to create an Event by executing an URL like this: http://3play-XXXXXXXX/v1/shortcut?name=mark-out
This is a very helpful solution!

My Request is to add the posibility to create named events via URL like this http://3play-XXXXXXXX/v1/shortcut?name=mark-out&value=<NAME_OF_EVENT>
This would give us a powerful solution to create automatic events for Basketball games triggerd by an action scout.

I just wanted to add this request here in the Forum as well.

Thanks and best regards from Germany!
 
You can't name them in a single command, but there are other commands to add name to the clips. I'm not in front of a 3PLAY right night to find out what they are, but if I recall you can make a macro of manually entering a name on a clip to get the commands that would be needed to do this via web control.
 
You can do this now, I think, by resorting to a different shortcut. The attached image shows a macro I recorded. When executed, it sets the memo field for the second clip in the currently selected Clip List to the value "MyTag". (By the way, the full syntax for this and other 3Play shortcuts can be found in the Automation and Integration Guide.)

View attachment 134524
 

Attachments

  • 3P_setprop.png
    3P_setprop.png
    20.8 KB · Views: 573
mhhh... Maybe my description was not not detiled enough.
I plan to create events from a external interface by executing the url with parameters.

No human is sitting in front of the 3play at this moment. There is a live scouting during the game and on every game event like "assist", "3point", "rebound" ... there is a trigger on a flat file wich triggers the interface.

So my target ist to have events at real time the command is triggerd like:
http://3play-XXXXXXXX/v1/shortcut?name=mark-out&value=START-OF-GAME
http://3play-XXXXXXXX/v1/shortcut?name=mark-out&value=HOME::JUMP-BALL-WON
http://3play-XXXXXXXX/v1/shortcut?name=mark-out&value=HOME::3POINT-MADE
http://3play-XXXXXXXX/v1/shortcut?name=mark-out&value=GUEST::2POINT-FAILED
http://3play-XXXXXXXX/v1/shortcut?name=mark-out&value=HOME::DEVENSIVE-REBOUND
http://3play-XXXXXXXX/v1/shortcut?name=mark-out&value=HOME::PLAYER2-FOULD-BY-PLAYER10
http://3play-XXXXXXXX/v1/shortcut?name=mark-out&value=HOME::FREETHROW-MADE
http://3play-XXXXXXXX/v1/shortcut?name=mark-out&value=HOME::FREETHROW-FAILED
http://3play-XXXXXXXX/v1/shortcut?name=mark-out&value=GUEST::DEVENSIVE-REBOUND
... and so on...

My interface could also execute more then one URL in a row, thats not the problem. But the online support told me it´s not possible to create "named events" through http-post.
I would be very happy if somebody has an idea how it could work.

thanks
 
I may be missing your point, but you can execute most any supported shortcut (including the one I illustrated) using http. (This is basically how the 440 'surface' works).
 
You would use your first HTTP GET command to mark an event. Then send another HTTP GET command to set the tag information.

Here is an example to the picture that Steve posted above.

http://3play-xxxx/v1/shortcut?name=set_item_prop&type=cliplist&prop=Aliases[1]&value=MyTag

Replace 'MyTag' with information you want to tag the clip with.

(I'm not sure why a space is appearing in the word 'Aliases' above, there should be no space there)
 
Last edited:
Thank you very much for this explaination! This is exactly what I´m looking for.
I will test this.
 
Great, let us know how it works out. I'm excited to see people building stuff using web control!
 
just to confirm: As stated in the "Automation & Integration Guide" - http communication is available still only for the mini version of 3Play?
For TriCaster Advanced Edition and 3Play Mini (only), TCP/IP communication is augmented by HTTP methods that are easily accessed by advanced end users.

If yes, any chance that as well 3Play 440 and 4800 will be updated in future?
 
just to confirm: As stated in the "Automation & Integration Guide" - http communication is available still only for the mini version of 3Play?


If yes, any chance that as well 3Play 440 and 4800 will be updated in future?

You can do it on a 440/4800, just need to direct your HTTP commands to port 5952 (it will not respond on port 80). For example:

http://3play-xd:5952/v1/shotcut?name=mark-out

Also, HTTP support on 440/4800 isn't as extensive as you will find on the Mini, but you can still send it commands or trigger macros via HTTP.
 
I think there is information if you sign up for the SDK. I also teach a class in San Antonio on how to do the HTTP commands.

I can try to answer questions, but the first question is are you familiar with REST API?
 
Back
Top