Call a catalog method by name — invoke('spaces:invite', { spaceId, login, role }).
A thin generic over the host protocol: the host validates params and gates the
call (an un-granted method → forbidden, even if you name it directly). For a
STREAMING method (ApiMethod.stream), use invokeStream.
Call a catalog method by name —
invoke('spaces:invite', { spaceId, login, role }). A thin generic over the host protocol: the host validates params and gates the call (an un-granted method →forbidden, even if you name it directly). For a STREAMING method (ApiMethod.stream), use invokeStream.