com.suibari.nagi.drawGuestCard
未サインイン端末が今日の全肯定カードを1枚引く。同じ端末秘密・同じ日付では同じカードを返す。JST 4:00 が日付境界。
Details · procedure
| Kind | procedure |
|---|---|
| Authority | nagi.suibari.com |
| Indexed |
Checks
Validunlimited-stringdefs.main.output.schema.properties.sourceNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "未サインイン端末が今日の全肯定カードを1枚引く。同じ端末秘密・同じ日付では同じカードを返す。JST 4:00 が日付境界。",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"deviceToken": {
"maxLength": 128,
"minLength": 32,
"type": "string"
}
},
"required": [
"deviceToken"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"alreadyDrawn": {
"type": "boolean"
},
"card": {
"type": "unknown"
},
"commentPending": {
"type": "boolean"
},
"drawStatus": {
"type": "unknown"
},
"expiresAt": {
"format": "datetime",
"type": "string"
},
"isNew": {
"type": "boolean"
},
"source": {
"knownValues": [
"my_nagi"
],
"type": "string"
}
},
"required": [
"card",
"source",
"alreadyDrawn",
"isNew",
"commentPending",
"drawStatus",
"expiresAt"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "com.suibari.nagi.drawGuestCard",
"lexicon": 1
}