SD-485 : implement versioning on server

so this is what we need for listing versions?