From
bafyreigu4g35bqtyyxln2lgzrhtffpef2y5ycqpfz73vnemo57zzsr3fui
indexed 2026-11-20 05:09 UTC
View this version
To
bafyreickxxtwwon5osi23ba3tzd7cmcohsvaubrjlnl6glvw2kbvpcnsy4
indexed 2026-11-21 02:28 UTC
View this version
Compatibility
backward compatible Backward compatible. 2 non-breaking changes.
Non-breaking changes (2)
- AddedVertex AddedVertex { vertex_id: "blog.brookie.atprotify.getPreferences#preferences.chat" }
- AddedEdge AddedEdge { src: "blog.brookie.atprotify.getPreferences#preferences", tgt: "blog.brookie.atprotify.getPreferences#preferences.chat", kind: "prop", name: Some("chat") }
Migration guidance
Added
AddedVertex { vertex_id: "blog.brookie.atprotify.getPreferences#preferences.chat" }
Notes
- Non-breaking: AddedEdge { src: "blog.brookie.atprotify.getPreferences#preferences", tgt: "blog.brookie.atprotify.getPreferences#preferences.chat", kind: "prop", name: Some("chat") }
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"main": {55
"description": "Get a registered device's notification preferences for the authenticated account. Requires service auth bound to this method.",66
"errors": [77
{88
"description": "The device isn't registered for this account.",99
"name": "NotFound"1010
}1111
],1212
"output": {1313
"encoding": "application/json",1414
"schema": {1515
"ref": "#preferences",1616
"type": "ref"1717
}1818
},1919
"parameters": {2020
"properties": {2121
"platform": {2222
"type": "string"2323
},2424
"token": {2525
"maxLength": 4096,2626
"type": "string"2727
}2828
},2929
"required": [3030
"platform",3131
"token"3232
],3333
"type": "params"3434
},3535
"type": "query"3636
},3737
"preferences": {3838
"properties": {39
"chat": {40
"description": "What the relay holds for the account's direct messages: no grant, unread counts only, or previews (sender and text).",41
"knownValues": [42
"none",43
"counts",44
"previews"45
],46
"type": "string"47
},3948
"disabledRules": {4049
"items": {4150
"type": "string"4251
},4352
"type": "array"4453
},4554
"followsOnly": {4655
"items": {4756
"type": "string"4857
},4958
"type": "array"5059
},5160
"mutedActors": {5261
"items": {5362
"format": "did",5463
"type": "string"5564
},5665
"type": "array"5766
},5867
"subscriptions": {5968
"items": {6069
"ref": "#subscription",6170
"type": "ref"6271
},6372
"type": "array"6473
}6574
},6675
"required": [6776
"disabledRules",6877
"mutedActors",6978
"followsOnly",7079
"subscriptions"7180
],7281
"type": "object"7382
},7483
"subscription": {7584
"properties": {7685
"channels": {7786
"description": "Channels named by the relay's subscriber rules, like post and reply.",7887
"items": {7988
"type": "string"8089
},8190
"type": "array"8291
},8392
"did": {8493
"format": "did",8594
"type": "string"8695
}8796
},8897
"required": [8998
"did",9099
"channels"91100
],92101
"type": "object"93102
}94103
},95104
"id": "blog.brookie.atprotify.getPreferences",96105
"lexicon": 197106
}