MIME Types Screen

System MIME type browser with distribution chart and custom type CRUD.


Layout

+------------------------------------------------------------------+
|  MIME Types   [Add Type]   [Import] [Export]                     |
+------------------------------------------------------------------+
|  ┌──────────────────────────────────────────────────────────────┐|
|  │ Distribution Chart (donut)                                   │|
|  │ application: 845 (39%)  text: 234 (11%)  image: 567 (26%)  │|
|  └──────────────────────────────────────────────────────────────┘|
|                                                                  |
|  Search: [________________]   Total: 2,148 system types          |
|                                                                  |
|  ┌──────────────────────────────────────────────────────────────┐|
|  │ Extension  │ MIME Type               │ Category              │|
|  ├───────────┼─────────────────────────┼──────────────────────┤│
|  │ .html      │ text/html               │ text                  ││
|  │ .css       │ text/css                │ text                  ││
|  │ .js        │ application/javascript  │ application           ││
|  │ .png       │ image/png               │ image                 ││
|  └───────────┴─────────────────────────┴──────────────────────┘|
+------------------------------------------------------------------+

Features

FeatureDescription
System TypesBrowse 2,148+ system-defined types
Distribution ChartCategory breakdown (donut chart)
SearchFilter by extension or MIME type
Custom TypesCRUD for user-defined types
Import/ExportBulk import/export types
Overlap CheckDetect extension conflicts
Bulk DeleteDelete multiple custom types

Event Delegation

Buttons use data-mime-action attributes.


API Calls

MethodEndpointPurpose
GET/api/mimetypes/systemSystem types
GET/api/mimetypesCustom types
POST/api/mimetypesCreate type
PUT/api/mimetypes/:idUpdate type
DELETE/api/mimetypes/:idDelete type
GET/api/mimetypes/lookup/:extLookup extension

Part of NexusPanel Documentation

← Back to Documentation