MCPcopy Create free account
hub / github.com/tiann/hapi / archiveSession

Method archiveSession

web/src/api/client.ts:417–422  ·  view source on GitHub ↗
(sessionId: string)

Source from the content-addressed store, hash-verified

415 }
416
417 async archiveSession(sessionId: string): Promise<void> {
418 await this.request(`/api/sessions/${encodeURIComponent(sessionId)}/archive`, {
419 method: 'POST',
420 body: JSON.stringify({})
421 })
422 }
423
424 async reopenSession(sessionId: string): Promise<ReopenSessionResponse> {
425 return await this.request<ReopenSessionResponse>(

Callers 1

useSessionActionsFunction · 0.45

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected