表格分享

字段名称 字段类型 字段说明
table_share_id integer 表格分享ID
title string 表格分享标题
rights object 权限配置,key为权限类型view、update、create、delete;value为具体权限,允许allowed,只在微信wechat_only,不允许unallowed
fields object 字段的权限配置,key为权限类型view、update、create;value为字段id数组
filter object 筛选器
order_by array 排序方式
display_field_ids array 展示列表字段数组
create_once bool 只能填写一次
expired_on datetime 过期时间
status string 状态,enable为开启,disable为关闭
url string 分享链接地址
qrcode integer 分享二维码文件
{
  "table_share_id": 10001,
  "secret": "ruwlkjf123123u1oiou31pajffa",
  "title": "分享1",
  "rights": {
    "view": "allowed",
    "update": "unallowed",
    "create": "wechat_only",
    "delete": "unallowed"
  },
  "fields": {
    "view": [
      11001,
      11002,
      11003
    ],
    "update": [
      11001,
      11002
    ],
    "create": []
  },
  "filter": {
    "and": [
      {
        "field": 1000,
        "query": {
          "eq": 1000
        }
      }
    ]
  },
  "order_by": [
    {
      "field": 1000,
      "sort": "desc"
    }
  ],
  "display_field_ids": [
    10001,
    10002,
    10003
  ],
  "create_once": true,
  "expired_on": "2016-08-24 20:00:00",
  "status": "enable",
  "url": "https:\/\/m.huoban.com\/table_share?share_id=1000&secret=abcdedfaawww",
  "qrcode": 1000
}