The ContentVersion and ContentDocument objects don't store MIME types. They do, however, store a FileType, which contains strings like "WORD_X", "PDF", and "POWER_POINT_X", which you could potentially map to MIME types. ("UNKNOWN" is also one value for this field).Additionally, the original file's FileExtension is stored on these objects and could be mapped in your code to a relevant MIME type.
Filetype Field on ContentVersion object doesn't store MIME type of a file it stores extension . Use FileType Field on ContentDocument Object it will give you MIME type of file. Please mark this as best answer if it helps.
They do, however, store a FileType, which contains strings like "WORD_X", "PDF", and "POWER_POINT_X", which you could potentially map to MIME types. ("UNKNOWN" is also one value for this field).Additionally, the original file's FileExtension is stored on these objects and could be mapped in your code to a relevant MIME type.
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_contentdocument.htm