新增自定义角色
标签:多维表
请求说明
字段 | 值 |
---|---|
请求地址 | https://openapi.wps.cn/v7/coop/dbsheet/{file_id}/content_permissions/batch_add/async_tasks/create |
HTTP 方法 | POST |
接口描述 | 无 |
签名方式 | KSO-1 |
限频策略 | 无 |
权限要求 | 管理多维表格(应用授权) kso.dbsheet.readwrite 管理多维表格(用户授权) kso.dbsheet.readwrite |
路径参数 (Path)
属性名 | 类型 | 是否必填 | 描述 | 可选值 |
---|---|---|---|---|
file_id | string | 是 | 文件 id | - |
请求体(Body)
请求体格式: application/json
没有可用的数据
请求体示例
json
{
"content_permission_name": "string",
"permission_data": [
{
"edit_sheet_config": {
"field_filter": [
"string"
],
"is_add_record": true,
"is_all_field": true,
"is_all_record": true,
"is_remove_record": true,
"record_filter": {
"criteria": [
{
"field": "string",
"operator": "string",
"values": [
"string"
]
}
],
"mode": "string"
}
},
"record_config_type": "string",
"sheet_id": 0,
"sheet_permission_type": "string",
"viewed_sheet_config": {
"field_filter": [
"string"
],
"is_all_field": true,
"is_all_record": true,
"record_filter": {
"criteria": [
"unknown type"
],
"mode": "string"
}
}
}
]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
响应体(Response)
状态码: 200
没有可用的数据
响应体示例
json
{
"data": {
"task_id": "string",
"task_type": {}
},
"code": 0,
"msg": "string"
}
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8