Skip to main content
The changes to the public API, newest first. None of them is a breaking change: a breaking change comes with a new version, and you are notified by email two months in advance.
API v2

Import quota values

The v2 API writes for the first time: POST /v2/quotas/{quota_id}/values writes the values of a quota, up to 10,000 rows per call, in an import that runs in the background.
  • Each row names the user by email and the period by a date, YYYY-MM-DD. "deleted": true clears a cell.
  • A value changed by hand in Qobra is kept, and sending a call again is safe. Once the import is finished, the statements not yet validated are recomputed.
  • dry_run=true checks a call without importing anything, and debounce merges successive calls into one import.
  • GET /v2/imports/{import_id} follows the import: its status, and for each quota the counts of the rows and the rows set aside.
  • A refused call lists all its errors at once, each with its path and the value received. This format applies to the write endpoints only: the read endpoints keep theirs.

standard.date in the quota values

GET /v2/quotas/{quota_id}/values returns a new key on every row, standard.date, the last day of the period. It is the date to send back to write the same cell. The fields of a quota list it too, so the schema_hash of every quota changed.