A use
On a live export, the first successfulPOST /v1/esx-exports/{id}/download is one use. The export’s first_downloaded_at records when. The price of a use is in your agreement with OSA, not in the API.
That call is a POST, not a GET, because the first one is charged.
Not a use
- Checking a roof with
POST /v1/esx-exports/checks. No export is recorded. - Sending a roof with
POST /v1/esx-exports, whether it is built, refused or fails. An export you never ask for is never charged. - Asking again. Later calls return a fresh link and are not another use.
- A corrected version, however many you send. If you already asked for the export’s ESX, asking for the new one is not another use.
- A version that fails while being sent. The export is
faileduntil you send the version again, still at no further charge. - Asking too early, or while the export provider is unavailable.
409 export_not_readyand503 export_provider_unavailableare not charged. - Test exports, sent with an
osa_test_key.
reference is refused with 409 duplicate_export in any case.
Before you ask
You are charged whether or not the export has warnings. Before you ask for the file, look at:clean:truewhen the latest version has no warnings.major_warnings: the number ofmajorwarnings on the latest version.
ready. Roof checks and problems says what each warning means, and ESX exports how to send a new version.