endlessm / azafea

Service to track device activations and usage metrics
Mozilla Public License 2.0
10 stars 2 forks source link

docs/metabase: Null blank string values #195

Closed dbnicholson closed 1 month ago

dbnicholson commented 1 month ago

Per the documentation[1][2], the parameters in the Table and Field update endpoints are "nullable value must be a non-blank string". Presumably earlier versions of Metabase converted blank strings to null internally. Make sure we use None if the stripped string value is empty.

  1. https://www.metabase.com/docs/latest/api/table#put-apitableid
  2. https://www.metabase.com/docs/latest/api/field#put-apifieldid

https://phabricator.endlessm.com/T32367