CORE-4323: Changed the type field to file-type for the stat and manifest
endpoints.