Get a device deployment version history
GET
/api/v1/devices/{id}/version-history
const url = 'http://localhost:3000/api/v1/devices/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/version-history';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url http://localhost:3000/api/v1/devices/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/version-history \ --header 'X-API-Key: <X-API-Key>'Recorded deployment version lineage for the device, newest first. Backs the confirm dialog that names both versions before a rollback.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string format: uuid
Device UUID
Responses
Section titled “ Responses ”Version history retrieved
Device not found