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

Method update

client-sdks/client-js/src/resources/session.ts:58–63  ·  view source on GitHub ↗

* 更新 Session * @param sessionId Session ID * @param updates 更新内容

(sessionId: string, updates: UpdateSessionRequest)

Source from the content-addressed store, hash-verified

56 * @param updates 更新内容
57 */
58 async update(sessionId: string, updates: UpdateSessionRequest): Promise<SessionInfo> {
59 return this.request<SessionInfo>(`/v1/sessions/${sessionId}`, {
60 method: "PATCH",
61 body: updates,
62 });
63 }
64
65 /**
66 * 删除 Session

Callers 4

pauseMethod · 0.95
activateMethod · 0.95
completeMethod · 0.95
archiveMethod · 0.95

Calls 1

requestMethod · 0.80

Tested by

no test coverage detected