Member sets
Spread sessions across a member set
Turn the set’s session spreading on or off. On, an agent placed on the set may run its isolated sessions — with its repositories, provider credentials and agent secrets — on members other than the one holding it, provided that machine’s owner has opted it in with sandbox.share. Off (the default), every session runs on its holder. Every member-set response carries the current value as spreadSessions.
授权
bearerAuth 授权Bearer <token>
位置: header
路径参数
orgId*string
id*string
请求主体
application/json
TypeScript 定义
在 TypeScript 中使用 request body 类型。
响应主体
application/json
application/json
application/json
curl -X PUT "https://example.com/v1/orgs/string/member-sets/string/spread-sessions" \ -H "Content-Type: application/json" \ -d '{ "enabled": true }'{ "setId": "83e19bc1-5428-42b5-88ea-b28354e481f3", "name": "string", "memberDaemonIds": [ "877b0342-55ab-415d-9758-c97337e2dbea" ], "agentCount": -9007199254740991, "spreadSessions": true}