add revision to listfiles api