跳转到主要内容
GET
/
share
/
{shareId}
/
view
cURL
curl --request GET \
  --url http://127.0.0.1:3000/api/share/{shareId}/view \
  --header 'Authorization: Bearer <token>'
{
  "tableId": "<string>",
  "shareId": "<string>",
  "fields": [
    {
      "id": "<string>",
      "name": "Tags",
      "type": "singleSelect",
      "options": {
        "expression": "countall({values})",
        "timeZone": "<string>",
        "formatting": "<unknown>",
        "showAs": {
          "type": "url"
        }
      },
      "cellValueType": "string",
      "dbFieldType": "TEXT",
      "dbFieldName": "<string>",
      "description": "this is a summary",
      "meta": {
        "persistedAsGeneratedColumn": false
      },
      "aiConfig": {
        "modelKey": "<string>",
        "type": "extraction",
        "sourceFieldId": "<string>",
        "isAutoFill": true,
        "attachPrompt": "<string>"
      },
      "isLookup": true,
      "isConditionalLookup": true,
      "lookupOptions": {
        "relationship": "oneOne",
        "foreignTableId": "<string>",
        "lookupFieldId": "<string>",
        "fkHostTableName": "<string>",
        "selfKeyName": "<string>",
        "foreignKeyName": "<string>",
        "linkFieldId": "<string>",
        "baseId": "<string>",
        "filter": {}
      },
      "notNull": true,
      "unique": true,
      "isPrimary": true,
      "isComputed": true,
      "isPending": true,
      "hasError": true,
      "isMultipleCellValue": true,
      "recordRead": true,
      "recordCreate": true
    }
  ],
  "records": [
    {
      "id": "<string>",
      "fields": {},
      "name": "<string>",
      "autoNumber": 123,
      "createdTime": "<string>",
      "lastModifiedTime": "<string>",
      "createdBy": "<string>",
      "lastModifiedBy": "<string>",
      "permissions": {},
      "undeletable": true
    }
  ],
  "viewId": "<string>",
  "shareMeta": {
    "allowCopy": true,
    "includeHiddenField": true,
    "password": "<string>",
    "includeRecords": true,
    "submit": {
      "allow": true,
      "requireLogin": true
    }
  },
  "view": {
    "id": "<string>",
    "name": "<string>",
    "type": "grid",
    "createdBy": "<string>",
    "createdTime": "<string>",
    "columnMeta": {},
    "description": "<string>",
    "order": 123,
    "options": {
      "rowHeight": "short",
      "fieldNameDisplayLines": 2,
      "frozenColumnCount": 1,
      "frozenFieldId": "<string>"
    },
    "sort": {
      "sortObjs": [
        {
          "fieldId": "<string>",
          "order": "asc"
        }
      ],
      "manualSort": true
    },
    "filter": {},
    "group": [
      {
        "fieldId": "<string>",
        "order": "asc"
      }
    ],
    "isLocked": true,
    "shareId": "<string>",
    "enableShare": true,
    "shareMeta": {
      "allowCopy": true,
      "includeHiddenField": true,
      "password": "<string>",
      "includeRecords": true,
      "submit": {
        "allow": true,
        "requireLogin": true
      }
    },
    "lastModifiedBy": "<string>",
    "lastModifiedTime": "<string>",
    "pluginId": "<string>"
  },
  "extra": {
    "groupPoints": [
      {
        "id": "<string>",
        "type": 0,
        "depth": 1,
        "isCollapsed": true,
        "value": "<unknown>"
      }
    ],
    "plugin": {
      "pluginId": "<string>",
      "pluginInstallId": "<string>",
      "name": "<string>",
      "url": "<string>",
      "storage": {}
    }
  }
}

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

shareId
string
必填

响应

200 - application/json

share view info

tableId
string
必填
shareId
string
必填
fields
object[]
必填
records
object[]
必填

first 50 records

viewId
string
shareMeta
object
view
object
extra
object
Last modified on December 10, 2025