games.gamesgamesgamesgames.toggleListItem

Add or remove a game from a list. Creates a listItem if none exists, deletes it if one does.

Details · procedure
Kindprocedure
Authoritygamesgamesgamesgames.games
Indexed

Procedure

procedure · POST

Input

application/json

gameUri

requiredstring · at-uri

AT URI of the game record.

listUri

requiredstring · at-uri

AT URI of the list.

Output

application/json

action

requiredstring

Whether the game was added to or removed from the list.

  • knownValues: added | removed

cid

string

CID of the created listItem record. Present when action is 'added'.

uri

string · at-uri

AT URI of the created listItem record. Present when action is 'added'.

Similar lexicons

semantic match

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