Skip to content

Commit 50eb6ef

Browse files
Azat Mardangitbook-bot
authored andcommitted
GitBook: No commit message
1 parent 1018ab6 commit 50eb6ef

File tree

33 files changed

+196
-199
lines changed

33 files changed

+196
-199
lines changed
60.6 KB
Loading
113 KB
Loading
42.6 KB
Loading
24.5 MB
Loading
383 KB
Loading
404 KB
Loading
59.5 KB
Loading
-43.7 KB
Loading
354 KB
Loading
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
{
2+
"openapi": "3.0.0",
3+
"info": {
4+
"title": "Seam Connect OpenAPI",
5+
"version": "1.0.0"
6+
},
7+
"paths": {
8+
"/connect_webviews/create": {
9+
"post": {
10+
"description": "Create a Connect Webview to allow user login",
11+
"requestBody": {
12+
"required": true,
13+
"content": {
14+
"application/json": {
15+
"schema": {
16+
"type": "object",
17+
"properties": {
18+
"device_selection_mode": {
19+
"description": "Inside webview, how device selection should be displayed to user,\nor if it should be displayed at all\n",
20+
"type": "string",
21+
"enum": ["none", "single", "multiple"]
22+
},
23+
"custom_redirect_url": {
24+
"type": "string",
25+
"description": "Where the Webview should redirect the user after a\nsuccessful login.\n"
26+
},
27+
"accepted_providers": {
28+
"type": "array",
29+
"items": {
30+
"type": "string",
31+
"description": "Device provider, the service to log into",
32+
"enum": ["noiseaware", "august"]
33+
}
34+
}
35+
}
36+
}
37+
}
38+
}
39+
},
40+
"responses": {
41+
"200": {
42+
"description": "Returns a pending action result"
43+
}
44+
}
45+
}
46+
},
47+
"/locks/lock_door": {
48+
"post": {
49+
"description": "Lock a Door",
50+
"requestBody": {
51+
"required": true,
52+
"content": {
53+
"application/json": {
54+
"schema": {
55+
"type": "object",
56+
"properties": {
57+
"device_id": {
58+
"type": "string"
59+
}
60+
}
61+
}
62+
}
63+
}
64+
},
65+
"responses": {
66+
"200": {
67+
"description": "Returns a pending action result"
68+
}
69+
}
70+
}
71+
}
72+
},
73+
"components": {},
74+
"tags": []
75+
}

0 commit comments

Comments
 (0)