Sign in

Update data point

documented

Replace a data point.

PUT /metrics/{metric_id}/data_points/{data_point_id}Metricsno 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://api.workboard.com/v1/metrics/{{$metric_id}}/data_points/{{$data_point_id}}" \
  -X PUT \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"date": "{{$date}}", "value": "{{$value}}"}'