Last updated 8 months ago
Uploads an image to the user CDN and returns the path.
Project ID
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/readme/upload-image', { method: 'POST', headers: { "Content-Type": "multipart/form-data" }, body: JSON.stringify({ "image": "binary" }), }); const data = await response.json();
{ "success": false, "error": "text", "url": "text" }