Draft
Conversation
simonhammes
commented
May 31, 2024
Comment on lines
-168
to
+171
| | `link` | `array` | `[{"row_id": "Mr-3QnQ5Q-eeEqFBevtOkw", "display_value": "Google News"}]` | | | ||
| | `link` | `array` | `["Mr-3QnQ5Q-eeEqFBevtOkw"]` | Array of row IDs. | |
Collaborator
Author
There was a problem hiding this comment.
I just double-checked this and the format depends on the endpoint (listRowsDeprecated vs listRows).
The new listRows endpoint actually returns an array of objects.
simonhammes
commented
May 31, 2024
| | `button` | `null` | `null` | Always `null` | | ||
| | `link` | `array` | `[{"row_id": "Mr-3QnQ5Q-eeEqFBevtOkw", "display_value": "Google News"}]` | | | ||
| | `link` | `array` | `["Mr-3QnQ5Q-eeEqFBevtOkw"]` | Array of row IDs. | | ||
| | `link-formula` | `array`, `string` or `integer` | `["Todo 1", "Todo 2"]`, `Open Pending`, `2` | The output depends on the link formula type. Lookup returns an array, rollup returns a string and findmax returns an integer. | |
Collaborator
Author
There was a problem hiding this comment.
I checked all link-formula types and the output differs wildly:
| Type | /api-gateway | /dtable-server |
|---|---|---|
| lookup | array<string> |
string (CSV) |
| countlinks | integer |
string (numeric) |
| rollup | integer |
string (numeric) |
| findmax/findmin | array<integer> |
string (numeric) |
(tested using 4.4.10 @ stage)
simonhammes
commented
May 31, 2024
simonhammes
commented
May 31, 2024
| | `rate` | `integer` | 4 | | ||
| | `rate` | `integer` | 4 | | | ||
| | `geolocation` | `object` | `{"lng": 8.23..., "lat": 50.00...}` or<br/>`{"country_region": "Sweden"}` | Depending on column setting. | | ||
| | `formula` | `string` | `"Albert Summer"` | Contains only the result of the formula. | |
Collaborator
Author
There was a problem hiding this comment.
The /api-gateway endpoints can also return integer or boolean values for formula columns.
The /dtable-server endpoints seem to return strings in all cases.
4bdaceb to
f48b5ec
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.