cards.sunshine.listScans
Lists the scans of a Sunshine Card that this instance has signed, most recent (highest counter) first. A scan its scanner has since deleted is still listed.
Details · query
| Kind | query |
|---|---|
| Authority | sunshine.cards |
| Indexed |
Checks
Validunlimited-stringdefs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Lists the scans of a Sunshine Card that this instance has signed, most recent (highest counter) first. A scan its scanner has since deleted is still listed.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cursor": {
"description": "Present when there may be more scans: pass it to list them.",
"type": "string"
},
"scans": {
"items": {
"ref": "#scan",
"type": "ref"
},
"type": "array"
}
},
"required": [
"scans"
],
"type": "object"
}
},
"parameters": {
"properties": {
"cursor": {
"type": "string"
},
"did": {
"description": "The card's creator.",
"format": "did",
"type": "string"
},
"limit": {
"default": 50,
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"uid": {
"description": "The tag's serial number, in hex.",
"maxLength": 14,
"minLength": 14,
"type": "string"
}
},
"required": [
"did",
"uid"
],
"type": "params"
},
"type": "query"
},
"scan": {
"properties": {
"counter": {
"description": "The tag's read counter for this scan.",
"maximum": 16777215,
"minimum": 1,
"type": "integer"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"scanner": {
"format": "did",
"type": "string"
},
"uri": {
"description": "The cards.sunshine.scan record in the scanner's repo.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"scanner",
"counter",
"createdAt"
],
"type": "object"
}
},
"id": "cards.sunshine.listScans",
"lexicon": 1
}