This repository has no description
1{
2 "lexicon": 1,
3 "id": "org.tangled.temp.focus.beginSession",
4 "defs": {
5 "main": {
6 "type": "procedure",
7 "description": "Activate focus mode. Returns the oldest unread work notification so the client can navigate to it.",
8 "output": {
9 "encoding": "application/json",
10 "schema": {
11 "type": "object",
12 "properties": {
13 "notificationId": {
14 "type": "integer",
15 "description": "ID of the first notification to address. Absent if the queue is empty."
16 },
17 "repoDid": {
18 "type": "string",
19 "format": "did",
20 "description": "DID of the repository the item belongs to. Absent if the queue is empty."
21 },
22 "issueAt": {
23 "type": "string",
24 "format": "at-uri",
25 "description": "AT-URI of the issue to navigate to, if the item is an issue."
26 },
27 "pullAt": {
28 "type": "string",
29 "format": "at-uri",
30 "description": "AT-URI of the pull to navigate to, if the item is a pull."
31 }
32 }
33 }
34 },
35 "errors": [
36 {
37 "name": "NoFocusItems",
38 "description": "There are no unread work notifications to focus on."
39 }
40 ]
41 }
42 }
43}