When a client POSTs datapoints to the API (using https://www.beeminder.com/api/v1/users/me/goals/SLUG/datapoints/create_all.json), the response appears to be an array of the created datapoints which were submitted. This was surprising as the documentation suggests this would have been "the last created datapoint" rather than what actually is, what is - IMO - an intuitive response with all of the involved datapoints.
When a client POSTs datapoints to the API (using
https://www.beeminder.com/api/v1/users/me/goals/SLUG/datapoints/create_all.json
), the response appears to be an array of the created datapoints which were submitted. This was surprising as the documentation suggests this would have been "the last created datapoint" rather than what actually is, what is - IMO - an intuitive response with all of the involved datapoints.https://github.com/beeminder/apidocs/blob/9f4a69041f60d4ec43b8214904499adb0b6b1b23/source/index.html.md#L984-L986
Which shape is expected to be returned?
P.S. I'm combing through these pages while working on an API client, happy to drop issues as they crop up or open a pull request if that's preferred!