Download a compliance export
Changed onThe zip, as an attachment named zip_name, never cached (Cache-Control: private, no-store). 404 while the export is not ready; 410 once its file has expired (30 days). Only the person who asked for it. First-party web and mobile only.
Two ways in:
- Bearer (the web app): GET /compliance-exports/{id}/file with the session's token.
- Signed (a phone, or anything that opens a URL with no session): the export's file_url, which is this path with ?sig=<token>. The token names the export and its requester and works without a bearer for 15 minutes from the read that minted it; every read of the export (getComplianceExport, listComplianceExports) mints a fresh one, so read the export just before opening it. A forged, altered or another export's sig is a 401 (even beside a valid bearer); one past its 15 minutes is a 410 with code download_link_expired.
Request
- Base URL: https://api.purplegrain.com/api/v1
- URL: https://api.purplegrain.com/api/v1/compliance-exports/{id}/file
- Auth: one of:
- HTTP bearer
- none
Path parameters
The export.
Query parameters
The signed download token from file_url. Replaces the bearer for 15 minutes.
Response
The zip, as an attachment.
Changes
- warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the//response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the//response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the//response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the//response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the//response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the//response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the////response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the////response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the////response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the////response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the////response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the////response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the///response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the//response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the//response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the//response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the//response property for the response status (media type: application/vnd.api+json) - warning
added the new
map_boundariesenum value to the//response property for the response status (media type: application/json) - warning
added the new
map_boundariesenum value to the//response property for the response status (media type: application/vnd.api+json)
- warning
- info
added the optional property
to the response with the status (media type: application/json) - info
added the optional property
to the response with the status (media type: application/vnd.api+json) - info
added the optional property
to the response with the status (media type: application/json) - info
added the optional property
to the response with the status (media type: application/vnd.api+json) - info
added the optional property
to the response with the status (media type: application/json) - info
added the optional property
to the response with the status (media type: application/vnd.api+json) - info
added the optional property
//to the response with the status (media type: application/json) - info
added the optional property
//to the response with the status (media type: application/vnd.api+json) - info
added the optional property
//to the response with the status (media type: application/json) - info
added the optional property
//to the response with the status (media type: application/vnd.api+json) - info
added the optional property
//to the response with the status (media type: application/json) - info
added the optional property
//to the response with the status (media type: application/vnd.api+json) - info
added the optional property
to the response with the status (media type: application/json) - info
added the optional property
to the response with the status (media type: application/vnd.api+json) - info
added the optional property
to the response with the status (media type: application/json) - info
added the optional property
to the response with the status (media type: application/vnd.api+json) - info
added the optional property
to the response with the status (media type: application/json) - info
added the optional property
to the response with the status (media type: application/vnd.api+json) - info
added the optional property
to the response with the status (media type: application/json) - info
added the optional property
to the response with the status (media type: application/vnd.api+json) - info
added the optional property
to the response with the status (media type: application/json) - info
added the optional property
to the response with the status (media type: application/vnd.api+json) - info
added the optional property
to the response with the status (media type: application/json) - info
added the optional property
to the response with the status (media type: application/vnd.api+json)
- info