party.whey.files.prefs.pin
A favourite drive or folder pinned in the sidebar. The record key is a stable hash of the subject. A drive pin uses kind=drive; a folder pin uses kind=dir and must also carry driveName, path, rkey, and collection.
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | prefs.files.whey.party |
| Commit rev | 3n3jx5tziks23 |
| Indexed |
Checks
Validunlimited-stringdefs.main.record.properties.kindNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "A favourite drive or folder pinned in the sidebar. The record key is a stable hash of the subject. A drive pin uses kind=drive; a folder pin uses kind=dir and must also carry driveName, path, rkey, and collection.",
"key": "any",
"record": {
"properties": {
"at": {
"description": "When the item was pinned.",
"format": "datetime",
"type": "string"
},
"collection": {
"description": "Folder collection. Required by core for kind=dir.",
"enum": [
"party.whey.files.dir"
],
"format": "nsid",
"type": "string"
},
"driveName": {
"description": "Drive display name. Required by core for kind=dir; optional for kind=drive.",
"maxLength": 255,
"minLength": 1,
"type": "string"
},
"kind": {
"enum": [
"drive",
"dir"
],
"type": "string"
},
"name": {
"description": "Display name of the drive or folder at pin time.",
"maxLength": 255,
"minLength": 1,
"type": "string"
},
"path": {
"description": "Folder path inside the drive. Required by core for kind=dir.",
"maxLength": 4096,
"minLength": 1,
"type": "string"
},
"rkey": {
"description": "Folder record key. Required by core for kind=dir.",
"format": "record-key",
"type": "string"
},
"space": {
"description": "Canonical drive space: at:space/<authority>/party.whey.files.drive/<skey>.",
"maxLength": 512,
"type": "string"
}
},
"required": [
"space",
"name",
"kind",
"at"
],
"type": "object"
},
"type": "record"
}
},
"id": "party.whey.files.prefs.pin",
"lexicon": 1
}