From c72cae954b6027cfd8df35574759e7e362be675b Mon Sep 17 00:00:00 2001 From: yackob03 Date: Tue, 14 Jan 2014 12:18:23 -0500 Subject: [PATCH] Expose the command through the API for images. --- endpoints/api.py | 1 + 1 file changed, 1 insertion(+) diff --git a/endpoints/api.py b/endpoints/api.py index d4811d761..a1a769744 100644 --- a/endpoints/api.py +++ b/endpoints/api.py @@ -902,6 +902,7 @@ def image_view(image): 'id': image.docker_image_id, 'created': image.created, 'comment': image.comment, + 'command': json.loads(image.command) if image.command else None, 'ancestors': image.ancestors, 'dbid': image.id, 'size': image.image_size,