This repository has no description
1.2 kB
44 lines
1{
2 "lexicon": 1,
3 "id": "org.tangled.temp.notification.getPreferences",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "Get notification preferences for the authenticated user.",
8 "output": {
9 "encoding": "application/json",
10 "schema": {
11 "type": "ref",
12 "ref": "#preferences"
13 }
14 }
15 },
16 "preferences": {
17 "type": "object",
18 "required": [
19 "repoStarred",
20 "issueCreated",
21 "issueCommented",
22 "issueClosed",
23 "pullCreated",
24 "pullCommented",
25 "pullMerged",
26 "followed",
27 "userMentioned",
28 "emailNotifications"
29 ],
30 "properties": {
31 "repoStarred": { "type": "boolean" },
32 "issueCreated": { "type": "boolean" },
33 "issueCommented": { "type": "boolean" },
34 "issueClosed": { "type": "boolean" },
35 "pullCreated": { "type": "boolean" },
36 "pullCommented": { "type": "boolean" },
37 "pullMerged": { "type": "boolean" },
38 "followed": { "type": "boolean" },
39 "userMentioned": { "type": "boolean" },
40 "emailNotifications": { "type": "boolean" }
41 }
42 }
43 }
44}