Sign in

Create a datapoint

documented

Add a single datapoint to the given goal.

POST /users/{u}/goals/{g}/datapoints.jsonGoalsno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://www.beeminder.com/api/v1/users/{{$u}}/goals/{{$g}}/datapoints.json" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "timestamp={{$timestamp}}" \
  -d "value={{$value}}" \
  -d "comment={{$comment}}" \
  -d "requestid={{$requestid}}"