Revision b65b1281

b/api/handlers.py
333 333
                    'name': image.name,
334 334
                    'updated': image.updated.isoformat(),    
335 335
                    'description': image.description, 
336
                    'state': image.state, 
337
                    'vm_id': image.vm_id
336
                    'status': image.state, 
337
                    'serverId': image.vm_id
338 338
                   } for image in images]
339 339
        if rapi: # Images info is stored in the DB. Ganeti is not aware of this
340 340
            if id == "detail":
......
356 356
                    'name': image.name,
357 357
                    'updated': image.updated.isoformat(),    
358 358
                    'description': image.description, 
359
                    'state': image.state, 
360
                    'vm_id': image.vm_id
359
                    'status': image.state, 
360
                    'serverId': image.vm_id
361 361
                   } }
362 362

  
363 363
        else:

Also available in: Unified diff