You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would expect a field object to also contain a linkedSheet property (or something similar) which is the id of sheet this field is linked to, if fieldType=link.
I've updated the docs to illustrate what I want:
Getting field info
GET https://api.fieldbook.com/v1/sheets/:sheet_id/fields
Lists fields in a sheet. The response is an array of objects, each with:
key: permanent field id, unique only within a sheet
name: display name for the field
slug: field slug used in reading/writing records via the main API
fieldType: data, link or formula
inputType: data input type, if fieldType=data
linkedSheet: id of the sheet this field is linked to, if fieldType=link
required: boolean, may be omitted if false
enum: for pick list fields, this is the choice list in order
I would expect a field object to also contain a
linkedSheet
property (or something similar) which is the id of sheet this field is linked to, if fieldType=link.I've updated the docs to illustrate what I want:
Getting field info
GET https://api.fieldbook.com/v1/sheets/:sheet_id/fields
Lists fields in a sheet. The response is an array of objects, each with:
key
: permanent field id, unique only within a sheetname
: display name for the fieldslug
: field slug used in reading/writing records via the main APIfieldType
: data, link or formulainputType
: data input type, if fieldType=datalinkedSheet
: id of the sheet this field is linked to, if fieldType=linkrequired
: boolean, may be omitted if falseenum
: for pick list fields, this is the choice list in order...
Example:
$ curl -u $KEY:$SECRET https://api.fieldbook.com/v1/sheets/58e1a67f5662a603001916ed/fields
Response (HTTP 200 OK):
The text was updated successfully, but these errors were encountered: