Since the API endpoint 'metadata/category/1/' throws "GenericMetadataView called with invalid model 'category'" I guess the Model Type category is not implemented in the new metadata endpoints.
InvenTree-Version: 1.3.2
Django Version: 5.2.13
Commit Hash: a60e85b
Commit Date: 2026-05-05
Commit Branch: null
Database: django.db.backends.postgresql
Debug-Mode: False
Deployed using Docker: True
Platform: Linux-6.8.0-111-generic-x86_64-with-glibc2.41
Installer: DOC
Active plugins: [{"name":"InvenTreeBarcode","slug":"inventreebarcode","version":"2.2.0"},{"name":"BOM Exporter","slug":"bom-exporter","version":"1.1.0"},{"name":"InvenTree Exporter","slug":"inventree-exporter","version":"1.0.0"},{"name":"Parameter Exporter","slug":"parameter-exporter","version":"2.0.0"},{"name":"InvenTreeEmailNotifications","slug":"inventree-email-notification","version":"1.0.0"},{"name":"InvenTreeUINotifications","slug":"inventree-ui-notification","version":"1.0.0"},{"name":"InvenTreeCurrencyExchange","slug":"inventreecurrencyexchange","version":"1.0.0"},{"name":"InvenTreeMachines","slug":"inventree-machines","version":"1.0.0"},{"name":"InvenTreeLabel","slug":"inventreelabel","version":"1.1.0"},{"name":"InvenTreeLabelMachine","slug":"inventreelabelmachine","version":"1.0.0"},{"name":"InvenTreeLabelSheet","slug":"inventreelabelsheet","version":"1.0.1"},{"name":"DigiKeyBarcodePlugin","slug":"digikeyplugin","version":"1.0.1"},{"name":"LCSCBarcodePlugin","slug":"lcscplugin","version":"1.0.1"},{"name":"MouserBarcodePlugin","slug":"mouserplugin","version":"1.0.1"},{"name":"TMEBarcodePlugin","slug":"tmeplugin","version":"1.0.1"},{"name":"KiCadLibraryPlugin","slug":"kicad-library-plugin","version":"2.0.3"}]
When using the python API for retrieving categories the
metadata_urlis wrong.inventree.part.PartCategory.MODEL_TYPE=Noneinventree.part.PartCategory.metadata_url='metadata/None/1/'Since the API endpoint 'metadata/category/1/' throws "GenericMetadataView called with invalid model 'category'" I guess the Model Type category is not implemented in the new metadata endpoints.
The old endpoint
/part/category/1/metadata/is still working though.server info:
pip freeze
inventree==0.23.1