MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / getServerCapabilities

Function getServerCapabilities

apps/web/src/bridge/http-bridge.ts:240–245  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

238}
239
240function getServerCapabilities(): Promise<ServerCapabilities | null> {
241 return jsonRequest<ServerCapabilities>('/capabilities').catch((err) => {
242 if (err instanceof HttpRequestError && err.status === 404) return null
243 throw err
244 })
245}
246
247function getServerSession(): Promise<ServerSessionStatus> {
248 return jsonRequest<ServerSessionStatus>('/session')

Callers

nothing calls this directly

Calls 1

jsonRequestFunction · 0.85

Tested by

no test coverage detected