Last updated 8 months ago
Gives information on whether a deployment was already built for a type
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}/deployment?type=text', { method: 'GET', headers: {}, }); const data = await response.json();
{ "success": false, "error": "text", "hasDeployment": false, "version": 0 }