API: goal 'datapoints' parameter parsing.

When requesting information about a goal, if you want to include the datapoints the documentation says:

[datapoints] (boolean): Whether to to send the goal’s datapoints in the response. Default: false.

But what is actually required is the literal string “true”


Notes and links for @bee for whenever she can get to this:

But let’s at least clarify this in beeminder.com/api [now done]. Thanks, @insti, for the bug report! (Not to mention the workaround in the PHP library!)

Tag: #UVI

1 Like