Data
data
Methods
List the pending imports. These are in-progress import jobs for newly uploaded recordings.
A coverage range represents a time span for which Foxglove has data for a given device.
Your must specify the start and end arguments when making a coverage request.
Note: By default, only coverage ranges with imported recordings are returned. To include
coverage ranges with unimported recordings from an Edge Site or Agent, set the
includeEdgeRecordings query parameter to true
This endpoint returns a link URL where you can download your data as an .mcap or .bag
file.
To download your data:
- Make a request to this endpoint.
- Make a
GETrequest to thelinkURL.
One of recordingId, key, importId (deprecated) or all three of
deviceId/deviceName, start, and end must be specified.
Note: You can only export a .bag file if you originally uploaded a .bag file.
Use this endpoint to upload data to your foxglove-hosted site. The upload is a two-request
process.
- Make a request to this upload endpoint to create an upload
link. - Issue a PUT HTTP request to the
linkresponse field URL.
Your PUT request header should have Content-Type: application/octet-stream, and your
request body should contain your file content.
Note: If you are using a self-hosted site, see this guide for uploading data.
Get a list of topics available for a device within a given time range.
By default, this endpoint will not return the schema for each topic. To include
the schemas, you must provide the includeSchemas query parameter.
Use start and end to limit the response to overlapping recording ranges.
Topics for not-imported recordings are only returned if no parameter is provided besides recordingId or recordingKey. This is because most parameters need the imported files to filter, and can only return an empty list if imports are unavailable.
Imports
data.imports
Methods
This endpoint is deprecated. Use the list recordings endpoint instead.
Inclusive end of message log time
Inclusive start of message log time
ID of device associated with the exported data
Inclusive end of import time
Filename to match
Maximum number of items to return
Number of items to skip before returning the results
Sort by a single field of the import type
Sort order for the sortBy field
Inclusive start of import time
Opaque ID
Message log time end of imported data
Imported timestamp
Message log time start of imported data
Message log time start date in YYYYMMDD format e.g. 20170322
Size in bytes of the uploaded file
Supported input type: ROS 1 bag ("bag1") or MCAP v0.x ("mcap0") file
Supported output type: ROS 1 bag ("bag1") or MCAP v0.x ("mcap0") file
Size in bytes of the data after processing
Deletes multiple imports by ID. Returns an array of result objects, which indicate whether a given import was successfully deleted. An import that has already been deleted will result in "notFound". Note: All imports must belong to the same site. If any import belongs to a different site, the entire request is rejected with a 400 response.
This endpoint is deprecated. Use the delete recording endpoint instead.
Deleting an import deletes all data associated with the import.
This action is permanent and cannot be undone.