A filter on match labels can be added to a match listing query, but I don’t see any way to add match labels, either when creating a match or after, via the WebSocket or REST APIs? Is it in anyway possible or should I open a feature request?
I’ll link examples from our tic-tac-toe project template.
Match labels are set from within the match handlers returning the initial label in the matchInit hook or using the dispatcher matchLabelUpdate function.
Hope this helps.
Thanks for the answer @sesposito,
If I understand correctly, both these solutions are using the server-side API for authoritative matches. I would like to do it via the WebSocket / Rest APIs. Is that possible?
Match labels are not supported from client relayed matches, see: Match name/label - #2 by zyro.