Functions are fairly straightforward! They are declared by using the keyword fun and you specify parameters with their types. fun myFunction (x: int, y: int) = x + y + 1 It takes an expression after ...
The result will include a list of required parameters, as well as hints for some endpoints. If the specified endpoint has more than one distinct parameter requirement, for example one of teamId, ...