Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 506 Bytes

File metadata and controls

42 lines (31 loc) · 506 Bytes

工作区接口 /workspace

返回总入口:返回接口文档首页

GET /workspace/

读取工作区状态。

鉴权:已登录

响应:

{"state": {...}}

或:

{"state": null}

PUT /workspace/

保存工作区状态。

鉴权:已登录

请求体:

{"state": {"windows": [], "tabs": []}}

响应:

{"ok": true}

DELETE /workspace/

清空工作区状态。

鉴权:已登录

响应:

{"ok": true}