表格中的数据实例

字段名称 字段类型 字段说明
item_id integer 数据唯一ID
table_id integer 数据所在表格唯一ID
created_on string 创建时间
updated_on string 更新时间
title string 数据标题
created_by object 创建人对应的用户对象,参考user.short实例
update_by object 更新人对应的用户对象,参考user.short实例
created_by_union_id integer 通过微信分享创建数据的用户ID
created_by_wechat_nickname string 通过微信分享创建数据的用户名字
followed bool 是否关注标示
lock_all bool 是否锁定整条数据
lock_field_ids array 锁定的字段列表
last_activity_on string 数据上次改动时间
rights array 当前用户对于该条数据的权限
fields object 该条数据所有字段的集合
{
  "item_id": 1000,
  "table_id": 2000,
  "created_on": "2015-11-11 11:11:11",
  "updated_on": "2015-11-11 11:11:11",
  "title": "item标题",
  "created_by": {
    "name": "用户名1",
    "user_id": 3000,
    "avatar": "http:\/\/f2.huoban.com\/30000\/user_avatar\/40000\/xxx"
  },
  "update_by": {
    "name": "用户名1",
    "user_id": 3001,
    "avatar": "http:\/\/f2.huoban.com\/30000\/user_avatar\/40000\/xxx"
  },
  "created_by_union_id": 3002,
  "created_by_wechat_nickname": "微信用户",
  "followed": true,
  "lock_all": false,
  "lock_field_ids": [
    11001,
    11002
  ],
  "last_activity_on": "2016-07-18 17:57:44",
  "rights": [
    "comment_create",
    "view",
    "delete",
    "modify"
  ],
  "fields": [
    {
      "field_id": 4000,
      "values": [
        {
          "value": "文本内容"
        }
      ]
    },
    {
      "field_id": 4001,
      "values": [
        {
          "value": 111111111
        }
      ]
    },
    {
      "field_id": 4002,
      "values": [
        {
          "value": null,
          "error": 2333
        }
      ]
    },
    {
      "field_id": 4003,
      "values": [
        {
          "status": "acvtive",
          "name": "选项",
          "id": 1,
          "color": "h"
        }
      ]
    },
    {
      "field_id": 4004,
      "values": [
        {
          "user_id": 5000,
          "name": "用户名",
          "avatar": {
            "file_id": 6002,
            "small_link": "",
            "medium_link": "",
            "large_link": ""
          }
        }
      ]
    },
    {
      "field_id": 4005,
      "values": [
        {
          "file_id": 1000,
          "name": "文件1",
          "created_on": "enable",
          "size": 2000,
          "created_by": {
            "user_id": 3000,
            "name": "名字",
            "avatar": "http:\/\/f2.huoban.com\/30000\/user_avatar\/40000\/xxx"
          },
          "ref_id": 5000,
          "ref_type": "item",
          "link": {
            "source": "http:\/\/hb-v4-attachment-oss.huoban.com\/xxx",
            "small": "http:\/\/hb-v4-attachment-oss.huoban.com\/xxx",
            "medium": "http:\/\/hb-v4-attachment-oss.huoban.com\/xxx",
            "large": "http:\/\/hb-v4-attachment-oss.huoban.com\/xxx",
            "square": "http:\/\/hb-v4-attachment-oss.huoban.com\/xxx"
          }
        }
      ]
    }
  ]
}