com.tynanpurdy.giftlist.getList
Someone's current gift list: the collection their newest com.tynanpurdy.giftlist.list sidecar marks (or, for owners with no sidecar yet, their newest collection with the given name), and the gifts on it, newest first.
Details · query
| Kind | query |
|---|---|
| Authority | giftlist.tynanpurdy.com |
| Commit rev | 3n3isjbidoz22 |
| Indexed |
Checks
Validunlimited-stringdefs.item.properties.addedAtNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.item.properties.noteNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.list.properties.cidNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.list.properties.createdAtNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.list.properties.descriptionNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.list.properties.nameNo maxLength, maxGraphemes or format limits this string.missing-primary-descriptiondefs.mainThe query has no description.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"item": {
"properties": {
"addedAt": {
"type": "string"
},
"card": {
"description": "The network.cosmik.card record, as stored.",
"type": "unknown"
},
"cardUri": {
"format": "at-uri",
"type": "string"
},
"linkUri": {
"format": "at-uri",
"type": "string"
},
"note": {
"description": "The owner's newest note on the card.",
"type": "string"
}
},
"required": [
"cardUri",
"card",
"addedAt"
],
"type": "object"
},
"list": {
"properties": {
"cid": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"description": {
"type": "string"
},
"marked": {
"description": "Whether a sidecar marks this list. False for a list found by name, whose owner should add one.",
"type": "boolean"
},
"name": {
"type": "string"
},
"uri": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"cid",
"name"
],
"type": "object"
},
"main": {
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"items": {
"items": {
"ref": "#item",
"type": "ref"
},
"type": "array"
},
"list": {
"ref": "#list",
"type": "ref"
}
},
"type": "object"
}
},
"parameters": {
"properties": {
"actor": {
"format": "did",
"type": "string"
},
"name": {
"description": "Fallback for owners with no sidecar yet: the collection name to look for.",
"maxLength": 100,
"type": "string"
}
},
"required": [
"actor"
],
"type": "params"
},
"type": "query"
}
},
"description": "Someone's current gift list: the collection their newest com.tynanpurdy.giftlist.list sidecar marks (or, for owners with no sidecar yet, their newest collection with the given name), and the gifts on it, newest first.",
"id": "com.tynanpurdy.giftlist.getList",
"lexicon": 1
}