An API of file extensions 📋
Returns the list of extensions.
{
"FileExtensions": [
{
"Name": ".323",
"DisplayName": "H.323 Internet Telephony File",
"Category": "text",
"MimeType": "text/h323"
},
{
"Name": ".3g2",
"DisplayName": "3GPP2 Multimedia File",
"Category": "video",
"MimeType": "video/3gpp2"
},
{
"Name": ".3gp",
"DisplayName": "3GPP Media File",
"Category": "video",
"MimeType": "video/3gpp"
}
]
}
For the moment there are only these categories:
Categories |
---|
Video |
Audio |
Archive |
Text |
Other |
Add the file extension in the array:
{
"Name": ".3gp",
"DisplayName": "3GPP Media File",
"Category": "video",
"MimeType": "video/3gpp"
}
Make a pull request.
That's all!