获取文档公共设置V2

POST {{base_url}}/drive/permission/v2/public/

Reference

  1. 参考接口 获取文档公共设置V2

Success Response Sample

{
    "code": 0,
    "data": {
        "comment_entity": "anyone_can_view",
        "external_access": false,
        "invite_external": false,
        "link_share_entity": "off",
        "permission_version": "8",
        "security_entity": "anyone_can_view",
        "share_entity": "off"
    },
    "msg": "Success"
}

Request Body

{"token"=>"string", "type"=>"string"}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstringuser_access_token 或 tenant_access_token
值格式:"Bearer access_token"

示例值:"Bearer u-7f1bcd13fc57d46bac21793a18e560" | | Content-Type | string | | 固定值:"application/json; charset=utf-8" |

RESPONSES

status: OK

{"code":0,"data":{"comment_entity":"anyone_can_view","external_access":true,"invite_external":true,"link_share_entity":"tenant_readable","permission_version":"3","security_entity":"anyone_can_view","share_entity":"anyone"},"msg":"Success"}