I am querying the following API endpoint:
https://coda.io/apis/v1/docs/{docId}/controls/{controlId}
I am getting very inconsistent responses even though i am querying an existing doc (checked) and existing controls (checked as well).
-
Querying a Date Control is successful:
{ "id": "ctrl-TUzm5g_QHF", "type": "control", "href": "https://coda.io/apis/v1/docs/nqW7y8-J2p/controls/ctrl-TUzm5g_QHF", "name": "vendorInvoiceDate", "controlType": "datePicker", "value": "2022-09-13T13:00:00.000-07:00" }
-
Querying a Select Control returns an empty Value string despite an actual value in the doc:
{ "id": "ctrl-QiBpDgf5Ec", "type": "control", "href": "https://coda.io/apis/v1/docs/nqW7y8-J2p/controls/ctrl-QiBpDgf5Ec", "name": "vendorInvoiceCurrency", "controlType": "select", "value": "" }
-
Querying a Text Control returns a plain 501 - Not Implemented - error
Looks like a bug to me… Anyone, Any Idea ?
Thanks