atproto blogging
1{
2 "lexicon": 1,
3 "id": "app.bsky.notification.putActivitySubscription",
4 "defs": {
5 "main": {
6 "type": "procedure",
7 "description": "Puts an activity subscription entry. The key should be omitted for creation and provided for updates. Requires auth.",
8 "input": {
9 "encoding": "application/json",
10 "schema": {
11 "type": "object",
12 "required": [
13 "subject",
14 "activitySubscription"
15 ],
16 "properties": {
17 "activitySubscription": {
18 "type": "ref",
19 "ref": "app.bsky.notification.defs#activitySubscription"
20 },
21 "subject": {
22 "type": "string",
23 "format": "did"
24 }
25 }
26 }
27 },
28 "output": {
29 "encoding": "application/json",
30 "schema": {
31 "type": "object",
32 "required": [
33 "subject"
34 ],
35 "properties": {
36 "activitySubscription": {
37 "type": "ref",
38 "ref": "app.bsky.notification.defs#activitySubscription"
39 },
40 "subject": {
41 "type": "string",
42 "format": "did"
43 }
44 }
45 }
46 }
47 }
48 }
49}