You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`-L`, `--live-update`: Enable live updates while the server is running
37
51
38
52
### Python API
39
53
@@ -63,17 +77,17 @@ start_server(server_settings)
63
77
64
78
## What the server provides today
65
79
66
-
-**CocoInsight access**: Enable with CLI `-ci`, or by API set `ServerSettings.cors_origins` to `"https://cocoindex.io"`. Then open [https://cocoindex.io/cocoinsight](https://cocoindex.io/cocoinsight) and point it to your server address.
80
+
***CocoInsight access**: Enable with CLI `-ci`, or by API set `ServerSettings.cors_origins` to `"https://cocoindex.io"`. Then open [https://cocoindex.io/cocoinsight](https://cocoindex.io/cocoinsight) and point it to your server address.
67
81
It'll talk to CocoIndex internal REST APIs exposed through `/cocoindex/api`.
68
82
The internal API is mainly designed for CocoInsight to use today, is subject to change and not considered as stable.
69
83
70
-
-**Live updates from the CLI**: When running with `-L`, the server performs live updates while it’s up.
84
+
***Live updates from the CLI**: When running with `-L`, the server performs live updates while it’s up.
71
85
It's doing same thing as `cocoindex update -L` while the HTTP server is running.
72
86
73
-
-**Health check**: `GET /healthz` responds with `application/json`:
87
+
***Health check**: `GET /healthz` responds with `application/json`:
74
88
75
-
-`status`: always `"ok"` when healthy
76
-
-`version`: the build-time package version (e.g., `"0.3.5"`)
89
+
*`status`: always `"ok"` when healthy
90
+
*`version`: the build-time package version (e.g., `"0.3.5"`)
0 commit comments