Currently, you can only upload .sk, .txt, .json, .yml, .mcfunction, .properties, .schematic, and .png files. You should be able to upload .zip files, which most of the time will be pre-made datapacks. This will be useful if a server owner wants to upload a datapack containing commands for a sumo game, or something like that.