atproto blogging
at main 85 lines 2.5 kB view raw
1{ 2 "lexicon": 1, 3 "id": "app.bsky.notification.putPreferencesV2", 4 "defs": { 5 "main": { 6 "type": "procedure", 7 "description": "Set notification-related preferences for an account. Requires auth.", 8 "input": { 9 "encoding": "application/json", 10 "schema": { 11 "type": "object", 12 "properties": { 13 "chat": { 14 "type": "ref", 15 "ref": "app.bsky.notification.defs#chatPreference" 16 }, 17 "follow": { 18 "type": "ref", 19 "ref": "app.bsky.notification.defs#filterablePreference" 20 }, 21 "like": { 22 "type": "ref", 23 "ref": "app.bsky.notification.defs#filterablePreference" 24 }, 25 "likeViaRepost": { 26 "type": "ref", 27 "ref": "app.bsky.notification.defs#filterablePreference" 28 }, 29 "mention": { 30 "type": "ref", 31 "ref": "app.bsky.notification.defs#filterablePreference" 32 }, 33 "quote": { 34 "type": "ref", 35 "ref": "app.bsky.notification.defs#filterablePreference" 36 }, 37 "reply": { 38 "type": "ref", 39 "ref": "app.bsky.notification.defs#filterablePreference" 40 }, 41 "repost": { 42 "type": "ref", 43 "ref": "app.bsky.notification.defs#filterablePreference" 44 }, 45 "repostViaRepost": { 46 "type": "ref", 47 "ref": "app.bsky.notification.defs#filterablePreference" 48 }, 49 "starterpackJoined": { 50 "type": "ref", 51 "ref": "app.bsky.notification.defs#preference" 52 }, 53 "subscribedPost": { 54 "type": "ref", 55 "ref": "app.bsky.notification.defs#preference" 56 }, 57 "unverified": { 58 "type": "ref", 59 "ref": "app.bsky.notification.defs#preference" 60 }, 61 "verified": { 62 "type": "ref", 63 "ref": "app.bsky.notification.defs#preference" 64 } 65 } 66 } 67 }, 68 "output": { 69 "encoding": "application/json", 70 "schema": { 71 "type": "object", 72 "required": [ 73 "preferences" 74 ], 75 "properties": { 76 "preferences": { 77 "type": "ref", 78 "ref": "app.bsky.notification.defs#preferences" 79 } 80 } 81 } 82 } 83 } 84 } 85}