added rest call to getTraces (data and image)