Get downloads

Get downloads

Retrieve the downloads for a project.

GEThttps://studio.edgeimpulse.com/v1/api/{projectId}/downloads
Path parameters
projectId*integer

Project ID

Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

Optional error description (set if 'success' was false)

downloads*array of Download (object)
Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/downloads', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text",
  "downloads": [
    {
      "id": "The ID of the download, if available",
      "name": "Training data",
      "type": "NPY file",
      "size": "73 items",
      "link": "/api/1/raw-data/training/x"
    }
  ]
}

Last updated