Skip to content

draft_lease ​

POST /draft/lease

接口说明 ​

多客户端同时改一份草稿时的租约:acquire / renew / release。拿不到租约就别写,避免互相覆盖。

参数 ​

参数必填默认值说明
action是—acquire / renew / release
draft_id是—草稿 ID
ttl否60租约秒数

返回 ​

lease_id / expires_at / holder

示例 ​

text
{"action": "acquire", "draft_id": "dfd_xxx", "ttl": 60}

个人自建服务