Onemind-Services-LLC / netbox-metatype-importer

Easy import Device and Module types from GitHub repo
Apache License 2.0
43 stars 7 forks source link

Add Nested MetaTypeSerializer and Update URL Patterns for MetaType Importer API #11

Closed kprince28 closed 1 year ago

kprince28 commented 1 year ago

This PR adds a Nested MetaTypeSerializer class to the netbox_metatype_importer/api/nested_serializers.py file, a MetaTypeSerializer with a HyperlinkedIdentityField view for the MetaType model, updates the URL patterns for the MetaType Importer API, adds an API root view and two viewsets filtered by type for the MetaType Importer API, and adds model URLs for the MetaTypeDeviceType and MetaModuleType models with an app_name variable to the urls.py file for better organization.

abhi1693 commented 1 year ago

Closing this as newer versions will have breaking changes.