Skip to content

Gathering programs: register

The Gathering Verbs register as MCP do programs, with inputs, result, refusals and an example.

Reference for Gathering, one group of Gathering programs.

Gathering.register

Register gives a Contact a place at a Gathering, or a waitlist place when the Gathering is full. Verb page.

Text
do: return await $.Gathering.register(input)

Emits Gathering.registered.

Inputs

InputTypeRequiredDescription
gatheringGatheringrequiredThe Gathering.
contactContactrequiredWho takes the place.

Returns

OutputTypeRequiredDescription
registrationRegistrationrequiredThe Registration, registered or waitlisted.
gatheringGatheringrequiredThe Gathering with its registered count.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.None.

Example

JSON
{
  "name": "do",
  "arguments": {
    "code": "return await $.Gathering.register({ gathering: 'gathering_ACB9Q1atRR', contact: 'contact_WsrosCQi6J' })"
  }
}