games.atplay.game.createInvitation

Invite other players to a game. The appview writes the invitation to the caller's repo, where the invitees will find it. The state must already be the output of the initiator's own first resolve (see ADR 0006).

Repository @atplay.games did:plc:xawtkr77srkxlwhxjf7whbml namespace authority
Details · procedure
Kindprocedure
Authoritygame.atplay.games
Indexed

Procedure

procedure · POST

Input

application/json

Array of DIDs for other players in the game

  • minLength: 1
itemsstring · did

Any parameters of play used by the game logic

Reference

uri

requiredstring

The AT-URI this invitation should be written to. Only its record key is used, and the caller mints it so anything keyed to the invitation — its secrets, above all — can be stored before the game is published.

  • maxLength: 512

Output

application/json

cid

string
  • maxLength: 256

uri

requiredstring
  • maxLength: 512

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • An invitation to play a game, with everything needed to execute it

  • Publish a turn. The appview writes it to the caller's repo, from where the other players pick it up. Actions may be empty for the negotiation steps middleware drives (ADR 0028). The caller must have stored any secrets this turn depends on first (ADR 0030).