Download a signed usage report
GET
/v1/metering/usage-report/{id}
const url = 'http://localhost:8080/v1/metering/usage-report/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:8080/v1/metering/usage-report/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0Returns a signed usage report as a JSON file download (Content-Disposition: attachment, named bookend-usage-<year>Q<n>-<installId>.json) containing the payload, its canonical JSON, the RS256 signature and the signing key id, for delivery to Bookend by hand. Administrators only. 404 for an unknown report, 409 when the id belongs to a heartbeat record rather than a signed report.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Responses
Section titled “Responses”OK