获取保护范围
GET {{base_url}}/sheets/v2/spreadsheets/:spreadsheetToken/protected_range_batch_get?protectIds=7034065500711796764
该接口用于根据保护范围ID查询详细的保护行列信息,最多支持同时查询5个ID。
参考接口文档:获取保护范围
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
protectIds | number |
RESPONSES
status: OK
{"code":0,"data":{"protectedRanges":[{"dimension":{"endIndex":13,"majorDimension":"COLUMNS","sheetId":"1QXD0s","startIndex":10},"editors":{"users":[{"memberId":"6886024159147737089","memberType":"userId"}]},"lockInfo":"你能编辑","protectId":"7034065500711796764","sheetId":"1QXD0s"}]},"msg":"success"}