Request import of a recording from an Edge Site to a Primary Site. Importing a recording makes the data (messages, metadata, attachments, etc.) available for download and streaming.
If the recording is successfully queued for import, is already imported, or already queued for import, this endpoint will return a 200 response and include the recording ID and the importStatus.
An import status of complete indicates the recording is already imported. Poll the GET v1/recordings/{id} endpoint to observe changes to the importStatus.
If the recording cannot be found or is unavailable for import because the edge copy or site is deleted, this endpoint will return a 404 response.
- Productionhttps://api.foxglove.dev/v1/recordings/{keyOrId}/import
// No request payloadSuccess
The import status of recordings. Status will be one of:
none: The recording has not yet been imported, and import has not been requested.pending: Foxglove has received a request to import this recording.importing: The recording data is being processed for access via Foxglove.failed: The recording data could not be imported.complete: The contents of the recording are available for access via Foxglove.
Note: none and pending statuses are applicable only to recordings originating from an Edge Site or a device running Foxlet.
The set of importStatus values may expand in the future.
{ "id": "string", "importStatus": "none" }