Closed jandre closed 9 years ago
{"error":"","files":[{"Name":".dockerenv","Size":0,"IsDir":false,"IsLink":false,"ModTime":"2015-06-28T18:33:28Z"},{"Name":".dockerinit","Size":0,"IsDir":false,"IsLink":false,"ModTime":"2015-06-28T18:33:28Z"},{"Name":"bin","Size":4096,"IsDir":true,"IsLink":false,"ModTime":"2015-06-12T11:35:30Z"},{"Name":"boot","Size":4096,"IsDir":true,"IsLink":false,"ModTime":"2014-04-10T22:12:14Z"},{"Name":"codetainer","Size":4096,"IsDir":true,"IsLink":false,"ModTime":"2015-08-27T11:09:28.70594466Z"},{"Name":"dev","Size":380,"IsDir":true,"IsLink":false,"ModTime":"2015-08-27T11:09:28.70594466Z"},{"Name":"etc","Size":4096,"IsDir":true,"IsLink":false,"ModTime":"2015-08-25T16:26:32.311071597Z"},{"Name":"home","Size":4096,"IsDir":true,"IsLink":false,"ModTime":"2014-04-10T22:12:14Z"},{"Name":"lib","Size":4096,"IsDir":true,"IsLink":false,"ModTime":"2015-06-12T11:35:16Z"},{"Name":"lib64","Size":4096,"IsDir":true,"IsLink":false,"ModTime":"2015-06-12T11:35:07Z"},{"Name":"media","Size":4096,"IsDir":true,"IsLink":false,"ModTime":"2015-06-12T11:34:47Z"},{"Name":"mnt","Size":4096,"IsDir":true,"IsLink":false,"ModTime":"2014-04-10T22:12:14Z"},{"Name":"opt","Size":4096,"IsDir":true,"IsLink":false,"ModTime":"2015-06-12T11:34:47Z"},{"Name":"proc","Size":0,"IsDir":true,"IsLink":false,"ModTime":"2015-08-27T11:09:28.653944662Z"},{"Name":"root","Size":4096,"IsDir":true,"IsLink":false,"ModTime":"2015-06-12T11:35:27Z"},{"Name":"run","Size":4096,"IsDir":true,"IsLink":false,"ModTime":"2015-06-12T11:35:16Z"},{"Name":"sbin","Size":4096,"IsDir":true,"IsLink":false,"ModTime":"2015-06-12T15:32:29Z"},{"Name":"srv","Size":4096,"IsDir":true,"IsLink":false,"ModTime":"2015-06-12T11:34:47Z"},{"Name":"sys","Size":0,"IsDir":true,"IsLink":false,"ModTime":"2015-08-27T11:09:28.70594466Z"},{"Name":"tmp","Size":4096,"IsDir":true,"IsLink":false,"ModTime":"2015-08-25T16:26:30.063071547Z"},{"Name":"usr","Size":4096,"IsDir":true,"IsLink":false,"ModTime":"2015-06-12T15:32:29Z"},{"Name":"var","Size":4096,"IsDir":true,"IsLink":false,"ModTime":"2015-06-12T15:32:29Z"}]}
Currently, the api route
/api/v1/codetainer/{id}/files
will list files in a container at a given path; however the files listing needs to be modified to return useful metadata about the file, including: