Consumables Tracking API Package¶
nautobot_consumables.api
¶
serializers
¶
Serializers for Nautobot Consumables API endpoints.
CheckedOutConsumableSerializer
¶
Bases: NautobotModelSerializer
, TaggedModelSerializerMixin
API serializer for the CheckedOutConsumable model.
Source code in nautobot_consumables/api/serializers.py
ConsumablePoolSerializer
¶
Bases: NautobotModelSerializer
, TaggedModelSerializerMixin
API serializer for the ConsumablePool model.
Source code in nautobot_consumables/api/serializers.py
ConsumableSerializer
¶
Bases: NautobotModelSerializer
, TaggedModelSerializerMixin
API serializer for the Consumable model.
Source code in nautobot_consumables/api/serializers.py
Meta
¶
ConsumableSerializer model options.
Source code in nautobot_consumables/api/serializers.py
ConsumableTypeSerializer
¶
Bases: NautobotModelSerializer
, TaggedModelSerializerMixin
API serializer for the ConsumableType model.
Source code in nautobot_consumables/api/serializers.py
NestedCheckedOutConsumableSerializer
¶
Bases: WritableNestedSerializer
Nested API serializer for the CheckedOutConsumable model.
Source code in nautobot_consumables/api/serializers.py
NestedConsumablePoolSerializer
¶
Bases: WritableNestedSerializer
Nested API serializer for the ConsumablePool model.
Source code in nautobot_consumables/api/serializers.py
NestedConsumableSerializer
¶
Bases: WritableNestedSerializer
Nested API serializer for the Consumable model.
Source code in nautobot_consumables/api/serializers.py
NestedConsumableTypeSerializer
¶
Bases: WritableNestedSerializer
Nested API serializer for the ConsumableType model.
Source code in nautobot_consumables/api/serializers.py
urls
¶
URL routes for Nautobot Consumables API endpoints.
views
¶
API endpoint views for Nautobot Consumables.
CheckedOutConsumableAPIViewSet
¶
Bases: NautobotModelViewSet
API view set for CheckedOutConsumable instances.
Source code in nautobot_consumables/api/views.py
ConsumableAPIViewSet
¶
Bases: NautobotModelViewSet
API view set for Consumable instances.
Source code in nautobot_consumables/api/views.py
ConsumablePoolAPIViewSet
¶
Bases: NautobotModelViewSet
API view set for ConsumablePool instances.
Source code in nautobot_consumables/api/views.py
ConsumableTypeAPIViewSet
¶
Bases: NautobotModelViewSet
API view set for ConsumableType instances.