com.suibari.nagi.drawGuestCard

未サインイン端末が今日の全肯定カードを1枚引く。同じ端末秘密・同じ日付では同じカードを返す。JST 4:00 が日付境界。

Repository @suibari.com did:plc:uixgxpiqf4i63p6rgpu7ytmx namespace authority
Details · procedure
Kindprocedure
Authoritynagi.suibari.com
Indexed

Procedure

procedure · POST

Input

application/json

deviceToken

requiredstring
  • minLength: 32
  • maxLength: 128

Output

application/json

alreadyDrawn

requiredboolean

card

requiredunknown

commentPending

requiredboolean

drawStatus

requiredunknown

expiresAt

requiredstring · datetime

isNew

requiredboolean

source

requiredstring
  • knownValues: my_nagi

Similar lexicons

semantic match

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

  • 全肯定カードを1枚引く。my Nagiの通常枠と他ユーザーへのリアクション枠を1日各1回利用できる(JST 4:00 が日付境界)。同じ枠を既に引いている場合は、そのカードをそのまま返す(冪等)。抽選はサーバ側で行う。source=anniversary は抽選ではなく、その日が記念日の人へ未受領ぶんを一括で配る(同じ記念日は1年に1枚)。

  • 全肯定カードを引いたことの控え。**権威ではない。** ドローの結果を決めるのは AppView で、このレコードは「引いた」という申告にすぎず、card_draws / card_instances と突き合わせて一致しないものは索引しない。ユーザーの repo に置くのは、リアクションの subject が実在の PDS レコードを要求するため(本人の repo なら通知の宛先もそのまま本人になる)。rkey は "{drawDate}-{source}"、記念日は "{drawDate}-anniv-{slot}"。

  • おすそわけボードから、まだ持っていないカードを1枚、Ƶ を払って受け取る。早い者勝ち。AAR はボードに無ければ botたんの分を受け取る。提供者は枚数で重み付けしたランダムで選ばれ、カードに「〜からもらった」が付く。要認証。