MCPcopy Create free account
hub / github.com/astercloud/aster / getSessions

Method getSessions

studio/src/api/client.ts:139–142  ·  view source on GitHub ↗
(opts: SessionQueryOpts = {})

Source from the content-addressed store, hash-verified

137
138 // Sessions
139 async getSessions(opts: SessionQueryOpts = {}): Promise<SessionListResult> {
140 const query = this.buildQueryString(opts);
141 return this.fetch<SessionListResult>(`/dashboard/sessions${query}`);
142 }
143
144 async getSession(id: string): Promise<SessionDetail> {
145 return this.fetch<SessionDetail>(`/dashboard/sessions/${id}`);

Callers 1

useSessionsFunction · 0.80

Calls 2

buildQueryStringMethod · 0.95
fetchMethod · 0.95

Tested by

no test coverage detected