From e54e70c7351e6c70aa0c9694cd06e0ad162053cf Mon Sep 17 00:00:00 2001 From: Arthur Date: Mon, 27 Apr 2026 10:48:45 -0700 Subject: [PATCH 01/11] #21990 fix deletion of device from Virtual Machines --- netbox/dcim/forms/bulk_edit.py | 7 ++++++ netbox/virtualization/forms/bulk_edit.py | 4 ++++ netbox/virtualization/tests/test_views.py | 27 +++++++++++++++++++++++ 3 files changed, 38 insertions(+) diff --git a/netbox/dcim/forms/bulk_edit.py b/netbox/dcim/forms/bulk_edit.py index a3cc217c6..f9bfeb985 100644 --- a/netbox/dcim/forms/bulk_edit.py +++ b/netbox/dcim/forms/bulk_edit.py @@ -1754,6 +1754,13 @@ class VirtualDeviceContextBulkEditForm(PrimaryModelBulkEditForm): ) nullable_fields = ('device', 'tenant', ) + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + + # Remove parent device passed as context to avoid conflicts with the actual device field + # on this form (see bug #21990) + self.initial.pop('device', None) + # # Addressing diff --git a/netbox/virtualization/forms/bulk_edit.py b/netbox/virtualization/forms/bulk_edit.py index f8868d8d3..887a89e9f 100644 --- a/netbox/virtualization/forms/bulk_edit.py +++ b/netbox/virtualization/forms/bulk_edit.py @@ -164,6 +164,10 @@ class VirtualMachineBulkEditForm(PrimaryModelBulkEditForm): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) + # Remove parent device passed as context to avoid conflicts with the actual device field + # on this form (see bug #21990) + self.initial.pop('device', None) + # Set unit labels based on configured RAM_BASE_UNIT / DISK_BASE_UNIT (MB vs MiB) self.fields['memory'].label = _('Memory ({unit})').format(unit=get_capacity_unit_label(settings.RAM_BASE_UNIT)) self.fields['disk'].label = _('Disk ({unit})').format(unit=get_capacity_unit_label(settings.DISK_BASE_UNIT)) diff --git a/netbox/virtualization/tests/test_views.py b/netbox/virtualization/tests/test_views.py index 435e9579e..972505705 100644 --- a/netbox/virtualization/tests/test_views.py +++ b/netbox/virtualization/tests/test_views.py @@ -335,6 +335,33 @@ class VirtualMachineTestCase(ViewTestCases.PrimaryObjectViewTestCase): url = reverse('virtualization:virtualmachine_interfaces', kwargs={'pk': virtualmachine.pk}) self.assertHttpStatus(self.client.get(url), 200) + def test_bulk_edit_device_context_preserves_device(self): + """ + Regression test for #21990: Bulk editing VMs from the Device's VMs tab (URL contains + ?device=) must not clear the device field on those VMs. + """ + self.add_permissions('virtualization.view_virtualmachine', 'virtualization.change_virtualmachine') + + device = VirtualMachine.objects.filter(device__isnull=False).first().device + vms = list(VirtualMachine.objects.filter(device=device)[:3]) + pk_list = [vm.pk for vm in vms] + + data = { + 'pk': pk_list, + '_apply': True, + # Only change status — device is intentionally omitted + 'status': VirtualMachineStatusChoices.STATUS_STAGED, + } + + # Simulate navigation from Device -> Virtual Machines tab by passing ?device= as GET param + url = reverse('virtualization:virtualmachine_bulk_edit') + f'?device={device.pk}' + response = self.client.post(url, data) + self.assertHttpStatus(response, 302) + + for vm in VirtualMachine.objects.filter(pk__in=pk_list): + self.assertEqual(vm.device, device, msg=f"Device was unexpectedly cleared on VM '{vm.name}'") + self.assertEqual(vm.status, VirtualMachineStatusChoices.STATUS_STAGED) + def test_virtualmachine_renderconfig(self): configtemplate = ConfigTemplate.objects.create( name='Test Config Template', From be86c50204a1215d95b91b39c24676299c38b113 Mon Sep 17 00:00:00 2001 From: Arthur Date: Mon, 27 Apr 2026 11:06:03 -0700 Subject: [PATCH 02/11] cleanup --- netbox/dcim/forms/bulk_edit.py | 4 ++-- netbox/dcim/tests/test_views.py | 27 ++++++++++++++++++++++++ netbox/virtualization/forms/bulk_edit.py | 4 ++-- 3 files changed, 31 insertions(+), 4 deletions(-) diff --git a/netbox/dcim/forms/bulk_edit.py b/netbox/dcim/forms/bulk_edit.py index f9bfeb985..1282639fb 100644 --- a/netbox/dcim/forms/bulk_edit.py +++ b/netbox/dcim/forms/bulk_edit.py @@ -1757,8 +1757,8 @@ class VirtualDeviceContextBulkEditForm(PrimaryModelBulkEditForm): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) - # Remove parent device passed as context to avoid conflicts with the actual device field - # on this form (see bug #21990) + # The ?device= GET param is navigation context (filter), not an intent to change the + # device field — drop it from initial so Django's changed_data doesn't treat it as an edit. self.initial.pop('device', None) diff --git a/netbox/dcim/tests/test_views.py b/netbox/dcim/tests/test_views.py index 78a315d29..2d41cc611 100644 --- a/netbox/dcim/tests/test_views.py +++ b/netbox/dcim/tests/test_views.py @@ -4027,6 +4027,33 @@ class VirtualDeviceContextTestCase(ViewTestCases.PrimaryObjectViewTestCase): 'status': VirtualDeviceContextStatusChoices.STATUS_OFFLINE, } + def test_bulk_edit_device_context_preserves_device(self): + """ + Regression test: Bulk editing VDCs from the Device's VDCs tab (URL contains + ?device=) must not clear the device field on those VDCs. + """ + self.add_permissions('dcim.view_virtualdevicecontext', 'dcim.change_virtualdevicecontext') + + device = VirtualDeviceContext.objects.filter(device__isnull=False).first().device + vdcs = list(VirtualDeviceContext.objects.filter(device=device)[:3]) + pk_list = [vdc.pk for vdc in vdcs] + + data = { + 'pk': pk_list, + '_apply': True, + # Only change status — device is intentionally omitted + 'status': VirtualDeviceContextStatusChoices.STATUS_PLANNED, + } + + # Simulate navigation from Device -> VDCs tab by passing ?device= as GET param + url = reverse('dcim:virtualdevicecontext_bulk_edit') + f'?device={device.pk}' + response = self.client.post(url, data) + self.assertHttpStatus(response, 302) + + for vdc in VirtualDeviceContext.objects.filter(pk__in=pk_list): + self.assertEqual(vdc.device, device, msg=f"Device was unexpectedly cleared on VDC '{vdc.name}'") + self.assertEqual(vdc.status, VirtualDeviceContextStatusChoices.STATUS_PLANNED) + class MACAddressTestCase(ViewTestCases.PrimaryObjectViewTestCase): model = MACAddress diff --git a/netbox/virtualization/forms/bulk_edit.py b/netbox/virtualization/forms/bulk_edit.py index 887a89e9f..ff84b537c 100644 --- a/netbox/virtualization/forms/bulk_edit.py +++ b/netbox/virtualization/forms/bulk_edit.py @@ -164,8 +164,8 @@ class VirtualMachineBulkEditForm(PrimaryModelBulkEditForm): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) - # Remove parent device passed as context to avoid conflicts with the actual device field - # on this form (see bug #21990) + # The ?device= GET param is navigation context (filter), not an intent to change the + # device field — drop it from initial so Django's changed_data doesn't treat it as an edit. self.initial.pop('device', None) # Set unit labels based on configured RAM_BASE_UNIT / DISK_BASE_UNIT (MB vs MiB) From b76f313ca412f57cb40aabd8a54db2b07b74b20d Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Tue, 28 Apr 2026 12:08:03 -0400 Subject: [PATCH 03/11] Permit Claude triage workflow for users without write permission (#22026) * Permit triage workflow for users without write permission * Bump claude-code-action to v1.0.108 --- .github/workflows/claude-issue-triage.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/claude-issue-triage.yml b/.github/workflows/claude-issue-triage.yml index 7370fa274..66c61e68c 100644 --- a/.github/workflows/claude-issue-triage.yml +++ b/.github/workflows/claude-issue-triage.yml @@ -20,10 +20,11 @@ jobs: - name: Run Claude Issue Triage id: claude-triage - uses: anthropics/claude-code-action@e763fe78de2db7389e04818a00b5ff8ba13d1360 # v1 + uses: anthropics/claude-code-action@11a9dadd198803a0cea6bd53da3e0e8a762fc6ea # v1.0.108 with: anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} github_token: ${{ secrets.GITHUB_TOKEN }} + allowed_non_write_users: "*" # Restrict Claude to read-only inspection of the repo plus posting a single comment # on THIS issue only. `gh issue comment` is pinned to the current issue number, so an # injection cannot redirect a comment to another issue. Close, label, reopen, assign, @@ -33,7 +34,7 @@ jobs: # reduce the blast radius of an injection that tries to dump runner env vars or # secrets into a comment body. claude_args: >- - --allowed-tools + --allowedTools "Bash(gh issue view:*),Bash(gh issue list:*),Bash(gh search issues:*),Bash(gh issue comment ${{ github.event.issue.number }}:*),Bash(gh release list:*),Bash(gh release view:*),Read,Grep,Glob" prompt: | You are triaging a newly opened issue in the netbox-community/netbox repository. From 7eb66c185bddf6e1859bf51ab25661ec6eac9b3e Mon Sep 17 00:00:00 2001 From: Martin Hauser Date: Tue, 28 Apr 2026 20:20:02 +0200 Subject: [PATCH 04/11] fix(dcim): Require complete cable paths for connected filter (#22022) Update InterfaceFilterSet to check both is_active and is_complete when filtering by connected=true. Incomplete pass-through paths (e.g. cabled front ports without rear port connections) are now correctly excluded. Fixes regression where active but incomplete cable paths were incorrectly returned as connected. Fixes #22005 --- netbox/dcim/filtersets.py | 4 +- netbox/dcim/tests/test_filtersets.py | 116 +++++++++++++++++++++++++++ 2 files changed, 118 insertions(+), 2 deletions(-) diff --git a/netbox/dcim/filtersets.py b/netbox/dcim/filtersets.py index 6d2437978..5e8bf6481 100644 --- a/netbox/dcim/filtersets.py +++ b/netbox/dcim/filtersets.py @@ -1874,8 +1874,8 @@ class PathEndpointFilterSet(django_filters.FilterSet): def filter_connected(self, queryset, name, value): if value: - return queryset.filter(_path__is_active=True) - return queryset.filter(Q(_path__isnull=True) | Q(_path__is_active=False)) + return queryset.filter(_path__is_active=True, _path__is_complete=True) + return queryset.filter(Q(_path__isnull=True) | Q(_path__is_active=False) | Q(_path__is_complete=False)) @register_filterset diff --git a/netbox/dcim/tests/test_filtersets.py b/netbox/dcim/tests/test_filtersets.py index ed4d7f870..154a25bba 100644 --- a/netbox/dcim/tests/test_filtersets.py +++ b/netbox/dcim/tests/test_filtersets.py @@ -4533,6 +4533,11 @@ class InterfaceTestCase(TestCase, DeviceComponentFilterSetTests, ChangeLoggedFil ) Device.objects.bulk_create(devices) + # Expose base devices for regression tests which need custom cabling + # topologies. + cls.connection_filter_device = devices[0] + cls.connection_filter_peer_device = devices[1] + virtual_chassis.master = devices[0] virtual_chassis.save() @@ -4966,6 +4971,117 @@ class InterfaceTestCase(TestCase, DeviceComponentFilterSetTests, ChangeLoggedFil params = {'connected': False} self.assertEqual(self.filterset(params, self.queryset).qs.count(), 3) + def test_connected_excludes_incomplete_pass_through_path(self): + """ + Validate that connected=true requires a complete cable path, not merely + an active cable path. + + The incomplete path below models: + + interface -- front port -- rear port + + with no onward cable from the rear port. + """ + device = self.connection_filter_device + peer_device = self.connection_filter_peer_device + + connected_interface = Interface.objects.create( + device=device, + name='Connected Filter Interface', + type=InterfaceTypeChoices.TYPE_1GE_FIXED, + ) + connected_peer_interface = Interface.objects.create( + device=peer_device, + name='Connected Filter Peer Interface', + type=InterfaceTypeChoices.TYPE_1GE_FIXED, + ) + incomplete_path_interface = Interface.objects.create( + device=device, + name='Connected Filter Incomplete Path Interface', + type=InterfaceTypeChoices.TYPE_1GE_FIXED, + ) + + patch_panel = Device.objects.create( + name='Connected Filter Patch Panel', + site=device.site, + device_type=device.device_type, + role=device.role, + ) + rear_port = RearPort.objects.create( + device=patch_panel, + name='Patch Rear Port', + type=PortTypeChoices.TYPE_8P8C, + positions=1, + ) + front_port = FrontPort.objects.create( + device=patch_panel, + name='Patch Front Port', + type=PortTypeChoices.TYPE_8P8C, + ) + PortMapping.objects.create( + device=patch_panel, + front_port=front_port, + front_port_position=1, + rear_port=rear_port, + rear_port_position=1, + ) + + Cable( + a_terminations=[connected_interface], + b_terminations=[connected_peer_interface], + ).save() + Cable( + a_terminations=[incomplete_path_interface], + b_terminations=[front_port], + ).save() + + connected_interface.refresh_from_db() + connected_peer_interface.refresh_from_db() + incomplete_path_interface.refresh_from_db() + + self.assertTrue(connected_interface._path.is_active) + self.assertTrue(connected_interface._path.is_complete) + self.assertTrue(connected_peer_interface._path.is_active) + self.assertTrue(connected_peer_interface._path.is_complete) + + self.assertTrue(incomplete_path_interface._path.is_active) + self.assertFalse(incomplete_path_interface._path.is_complete) + + queryset = self.queryset.filter( + pk__in=( + connected_interface.pk, + connected_peer_interface.pk, + incomplete_path_interface.pk, + ) + ) + + params = {'cabled': 'true'} + self.assertSetEqual( + set(self.filterset(params, queryset).qs.values_list('pk', flat=True)), + { + connected_interface.pk, + connected_peer_interface.pk, + incomplete_path_interface.pk, + }, + ) + + params = {'connected': 'true'} + self.assertSetEqual( + set(self.filterset(params, queryset).qs.values_list('pk', flat=True)), + { + connected_interface.pk, + connected_peer_interface.pk, + }, + ) + + params = {'connected': 'false'} + self.assertSetEqual( + set(self.filterset(params, queryset).qs.values_list('pk', flat=True)), + { + incomplete_path_interface.pk, + }, + ) + def test_kind(self): params = {'kind': 'physical'} self.assertEqual(self.filterset(params, self.queryset).qs.count(), 7) From 385767c41f5750823e760094be03667d9767696e Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 29 Apr 2026 05:58:57 +0000 Subject: [PATCH 05/11] Update source translation strings --- netbox/translations/en/LC_MESSAGES/django.po | 42 ++++++++++---------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/netbox/translations/en/LC_MESSAGES/django.po b/netbox/translations/en/LC_MESSAGES/django.po index 601d0e845..b4f964e25 100644 --- a/netbox/translations/en/LC_MESSAGES/django.po +++ b/netbox/translations/en/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-04-28 05:59+0000\n" +"POT-Creation-Date: 2026-04-29 05:58+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -782,8 +782,8 @@ msgstr "" #: netbox/users/forms/bulk_edit.py:62 netbox/users/forms/bulk_edit.py:80 #: netbox/users/forms/bulk_edit.py:115 netbox/users/forms/bulk_edit.py:143 #: netbox/users/forms/bulk_edit.py:166 -#: netbox/virtualization/forms/bulk_edit.py:202 -#: netbox/virtualization/forms/bulk_edit.py:319 +#: netbox/virtualization/forms/bulk_edit.py:206 +#: netbox/virtualization/forms/bulk_edit.py:323 msgid "Description" msgstr "" @@ -1974,7 +1974,7 @@ msgstr "" #: netbox/users/forms/bulk_edit.py:87 netbox/users/forms/bulk_edit.py:105 #: netbox/users/forms/filtersets.py:67 netbox/users/forms/filtersets.py:133 #: netbox/users/tables.py:30 netbox/users/tables.py:113 -#: netbox/virtualization/forms/bulk_edit.py:191 +#: netbox/virtualization/forms/bulk_edit.py:195 #: netbox/virtualization/forms/filtersets.py:239 msgid "Enabled" msgstr "" @@ -2977,7 +2977,7 @@ msgstr "" #: netbox/tenancy/forms/bulk_import.py:64 #: netbox/tenancy/forms/model_forms.py:26 #: netbox/tenancy/forms/model_forms.py:67 -#: netbox/virtualization/forms/bulk_edit.py:181 +#: netbox/virtualization/forms/bulk_edit.py:185 #: netbox/virtualization/forms/bulk_import.py:164 #: netbox/virtualization/tables/virtualmachines.py:136 #: netbox/vpn/ui/panels.py:25 netbox/wireless/forms/bulk_edit.py:26 @@ -3102,7 +3102,7 @@ msgstr "" #: netbox/dcim/choices.py:1164 netbox/dcim/forms/bulk_edit.py:1405 #: netbox/dcim/forms/bulk_import.py:949 netbox/dcim/forms/model_forms.py:1133 #: netbox/dcim/tables/devices.py:761 -#: netbox/virtualization/forms/bulk_edit.py:186 +#: netbox/virtualization/forms/bulk_edit.py:190 #: netbox/virtualization/forms/bulk_import.py:171 #: netbox/virtualization/tables/virtualmachines.py:140 msgid "Bridge" @@ -3899,7 +3899,7 @@ msgstr "" #: netbox/ipam/tables/ip.py:258 netbox/ipam/tables/ip.py:311 #: netbox/ipam/tables/ip.py:413 netbox/ipam/ui/panels.py:102 #: netbox/ipam/ui/panels.py:111 netbox/ipam/ui/panels.py:139 -#: netbox/virtualization/forms/bulk_edit.py:235 +#: netbox/virtualization/forms/bulk_edit.py:239 #: netbox/virtualization/forms/bulk_import.py:218 #: netbox/virtualization/forms/filtersets.py:252 #: netbox/virtualization/forms/model_forms.py:365 @@ -3940,7 +3940,7 @@ msgstr "" #: netbox/dcim/forms/model_forms.py:1598 #: netbox/dcim/models/device_components.py:743 #: netbox/ipam/forms/filtersets.py:531 netbox/ipam/forms/model_forms.py:703 -#: netbox/virtualization/forms/bulk_edit.py:240 +#: netbox/virtualization/forms/bulk_edit.py:244 #: netbox/virtualization/forms/filtersets.py:267 #: netbox/virtualization/forms/model_forms.py:370 msgid "VLAN Translation Policy" @@ -4563,7 +4563,7 @@ msgstr "" #: netbox/dcim/forms/bulk_edit.py:1459 netbox/dcim/forms/bulk_import.py:994 #: netbox/templates/vpn/panels/ipsecprofile_ike_policy.html:20 -#: netbox/virtualization/forms/bulk_edit.py:207 +#: netbox/virtualization/forms/bulk_edit.py:211 #: netbox/virtualization/forms/bulk_import.py:178 #: netbox/vpn/forms/bulk_edit.py:128 netbox/vpn/forms/bulk_edit.py:196 #: netbox/vpn/forms/bulk_import.py:175 netbox/vpn/forms/bulk_import.py:233 @@ -4576,7 +4576,7 @@ msgstr "" #: netbox/dcim/forms/bulk_edit.py:1467 netbox/dcim/forms/bulk_import.py:1000 #: netbox/dcim/forms/model_forms.py:1547 netbox/ipam/forms/bulk_import.py:177 #: netbox/ipam/forms/filtersets.py:582 netbox/ipam/models/vlans.py:93 -#: netbox/virtualization/forms/bulk_edit.py:214 +#: netbox/virtualization/forms/bulk_edit.py:218 #: netbox/virtualization/forms/bulk_import.py:184 #: netbox/virtualization/forms/model_forms.py:332 msgid "VLAN group" @@ -4584,7 +4584,7 @@ msgstr "" #: netbox/dcim/forms/bulk_edit.py:1476 netbox/dcim/forms/bulk_import.py:1007 #: netbox/dcim/forms/model_forms.py:1553 netbox/dcim/tables/devices.py:627 -#: netbox/dcim/ui/panels.py:493 netbox/virtualization/forms/bulk_edit.py:222 +#: netbox/dcim/ui/panels.py:493 netbox/virtualization/forms/bulk_edit.py:226 #: netbox/virtualization/forms/bulk_import.py:191 #: netbox/virtualization/forms/model_forms.py:337 msgid "Untagged VLAN" @@ -4592,7 +4592,7 @@ msgstr "" #: netbox/dcim/forms/bulk_edit.py:1485 netbox/dcim/forms/bulk_import.py:1014 #: netbox/dcim/forms/model_forms.py:1562 netbox/dcim/tables/devices.py:633 -#: netbox/virtualization/forms/bulk_edit.py:230 +#: netbox/virtualization/forms/bulk_edit.py:234 #: netbox/virtualization/forms/bulk_import.py:198 #: netbox/virtualization/forms/model_forms.py:346 msgid "Tagged VLANs" @@ -4649,14 +4649,14 @@ msgid "PoE" msgstr "" #: netbox/dcim/forms/bulk_edit.py:1540 netbox/dcim/forms/model_forms.py:1607 -#: netbox/dcim/ui/panels.py:500 netbox/virtualization/forms/bulk_edit.py:246 +#: netbox/dcim/ui/panels.py:500 netbox/virtualization/forms/bulk_edit.py:250 #: netbox/virtualization/forms/model_forms.py:377 msgid "Related Interfaces" msgstr "" #: netbox/dcim/forms/bulk_edit.py:1542 netbox/dcim/forms/filtersets.py:1588 #: netbox/dcim/forms/model_forms.py:1611 -#: netbox/virtualization/forms/bulk_edit.py:249 +#: netbox/virtualization/forms/bulk_edit.py:253 #: netbox/virtualization/forms/filtersets.py:221 #: netbox/virtualization/forms/model_forms.py:380 msgid "802.1Q Switching" @@ -5083,8 +5083,8 @@ msgstr "" #: netbox/dcim/forms/bulk_import.py:1323 netbox/ipam/forms/bulk_import.py:316 #: netbox/virtualization/filtersets.py:302 #: netbox/virtualization/filtersets.py:360 -#: netbox/virtualization/forms/bulk_edit.py:174 -#: netbox/virtualization/forms/bulk_edit.py:308 +#: netbox/virtualization/forms/bulk_edit.py:178 +#: netbox/virtualization/forms/bulk_edit.py:312 #: netbox/virtualization/forms/bulk_import.py:159 #: netbox/virtualization/forms/bulk_import.py:260 #: netbox/virtualization/forms/filtersets.py:236 @@ -5266,7 +5266,7 @@ msgid "IPv6 address with prefix length, e.g. 2001:db8::1/64" msgstr "" #: netbox/dcim/forms/common.py:20 netbox/dcim/models/device_components.py:690 -#: netbox/dcim/ui/panels.py:485 netbox/virtualization/forms/bulk_edit.py:199 +#: netbox/dcim/ui/panels.py:485 netbox/virtualization/forms/bulk_edit.py:203 #: netbox/virtualization/ui/panels.py:61 msgid "MTU" msgstr "" @@ -9973,7 +9973,7 @@ msgstr "" #: netbox/extras/tables/tables.py:292 #: netbox/templates/extras/panels/imageattachment_file.html:18 -#: netbox/virtualization/forms/bulk_edit.py:316 +#: netbox/virtualization/forms/bulk_edit.py:320 #: netbox/virtualization/forms/filtersets.py:286 #: netbox/virtualization/tables/virtualmachines.py:173 msgid "Size" @@ -16300,19 +16300,19 @@ msgstr "" msgid "Disk" msgstr "" -#: netbox/virtualization/forms/bulk_edit.py:168 +#: netbox/virtualization/forms/bulk_edit.py:172 #: netbox/virtualization/forms/model_forms.py:242 #, python-brace-format msgid "Memory ({unit})" msgstr "" -#: netbox/virtualization/forms/bulk_edit.py:169 +#: netbox/virtualization/forms/bulk_edit.py:173 #: netbox/virtualization/forms/model_forms.py:243 #, python-brace-format msgid "Disk ({unit})" msgstr "" -#: netbox/virtualization/forms/bulk_edit.py:334 +#: netbox/virtualization/forms/bulk_edit.py:338 #: netbox/virtualization/forms/filtersets.py:296 #: netbox/virtualization/forms/model_forms.py:415 #, python-brace-format From d01454c753d37c841f731c19a0d3b6c0eb95a62b Mon Sep 17 00:00:00 2001 From: Martin Hauser Date: Wed, 29 Apr 2026 15:03:52 +0200 Subject: [PATCH 06/11] fix(ipam): Omit None values from AddObject URL parameters Update AddObject.get_url() to skip parameters that resolve to None, preventing invalid query strings. Adjust VLAN-to-Prefix action to use scope_type/scope instead of site field. Fixes #22031 --- netbox/ipam/views.py | 7 +++++-- netbox/netbox/ui/actions.py | 14 +++++++++----- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/netbox/ipam/views.py b/netbox/ipam/views.py index 0c784f8ac..898db4b7e 100644 --- a/netbox/ipam/views.py +++ b/netbox/ipam/views.py @@ -1636,8 +1636,11 @@ class VLANView(generic.ObjectView): actions.AddObject( 'ipam.prefix', url_params={ - 'tenant': lambda ctx: ctx['object'].tenant.pk if ctx['object'].tenant else None, - 'site': lambda ctx: ctx['object'].site.pk if ctx['object'].site else None, + 'tenant': lambda ctx: ctx['object'].tenant_id, + 'scope_type': lambda ctx: ( + ContentType.objects.get_for_model(Site).pk if ctx['object'].site_id else None + ), + 'scope': lambda ctx: ctx['object'].site_id, 'vlan': lambda ctx: ctx['object'].pk, }, label=_('Add a Prefix'), diff --git a/netbox/netbox/ui/actions.py b/netbox/netbox/ui/actions.py index 7579e7b93..ef0b0f66f 100644 --- a/netbox/netbox/ui/actions.py +++ b/netbox/netbox/ui/actions.py @@ -92,14 +92,18 @@ class LinkAction(PanelAction): """ url = reverse(self.view_name, kwargs=self.view_kwargs) if self.url_params: - # If the param value is callable, call it with the context and save the result. - url_params = { - k: v(context) if callable(v) else v for k, v in self.url_params.items() - } + url_params = {} + for key, value in self.url_params.items(): + # If the param value is callable, call it with the context and save the result. + value = value(context) if callable(value) else value + # Omit parameters whose value resolved to None + if value is not None: + url_params[key] = value # Set the return URL if not already set and an object is available. if 'return_url' not in url_params and 'object' in context: url_params['return_url'] = context['object'].get_absolute_url() - url = f'{url}?{urlencode(url_params)}' + if url_params: + url = f'{url}?{urlencode(url_params)}' return url def get_context(self, context): From 1b1989ea985222c8e7bc31f9bdde79535601555e Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Wed, 29 Apr 2026 10:17:01 -0400 Subject: [PATCH 07/11] Clean up Claude workflows (#22038) * Clean up Claude workflows * Tweak triage prompt * Fix permissions --- .github/workflows/claude-code-review.yml | 37 ------------ .github/workflows/claude-issue-triage.yml | 4 +- .github/workflows/claude.yml | 69 +++++------------------ 3 files changed, 16 insertions(+), 94 deletions(-) delete mode 100644 .github/workflows/claude-code-review.yml diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml deleted file mode 100644 index 5ddb3c00a..000000000 --- a/.github/workflows/claude-code-review.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Claude Code Review - -on: - pull_request: - types: [opened, synchronize, ready_for_review, reopened] - -jobs: - claude-review: - # Only run for PRs submitted by organization members or owners - if: | - github.repository == 'netbox-community/netbox' && - (github.event.pull_request.author_association == 'MEMBER' || - github.event.pull_request.author_association == 'OWNER') - - runs-on: ubuntu-latest - permissions: - contents: read - pull-requests: read - issues: read - id-token: write - - steps: - - name: Checkout repository - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - with: - fetch-depth: 1 - - - name: Run Claude Code Review - id: claude-review - uses: anthropics/claude-code-action@e763fe78de2db7389e04818a00b5ff8ba13d1360 # v1 - with: - claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} - plugin_marketplaces: 'https://github.com/anthropics/claude-code.git' - plugins: 'code-review@claude-code-plugins' - prompt: '/code-review:code-review ${{ github.repository }}/pull/${{ github.event.pull_request.number }}' - # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md - # or https://code.claude.com/docs/en/cli-reference for available options diff --git a/.github/workflows/claude-issue-triage.yml b/.github/workflows/claude-issue-triage.yml index 66c61e68c..ac5781d32 100644 --- a/.github/workflows/claude-issue-triage.yml +++ b/.github/workflows/claude-issue-triage.yml @@ -11,13 +11,11 @@ jobs: permissions: contents: read issues: write - steps: - name: Checkout repository uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: fetch-depth: 1 - - name: Run Claude Issue Triage id: claude-triage uses: anthropics/claude-code-action@11a9dadd198803a0cea6bd53da3e0e8a762fc6ea # v1.0.108 @@ -130,6 +128,8 @@ jobs: - Reference the specific problem(s) and clearly explain what the submitter can do to move the issue forward (e.g. "please edit the issue to include reproduction steps" or "this appears to duplicate #12345 — could you confirm?"). + - Never direct the submitter to proceed with a pull request immediately: A + maintainer will decide when that is appropriate. - Sign off noting that you are an automated triage assistant and a human maintainer will follow up. - Paraphrase rather than quoting issue content verbatim. Do not echo back links, diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index ca8b8ce97..6feaa0dce 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -5,76 +5,35 @@ on: types: [created] pull_request_review_comment: types: [created] - issues: - types: [opened, assigned] pull_request_review: types: [submitted] +concurrency: + group: claude-${{ github.event.pull_request.number || github.event.issue.number }} + cancel-in-progress: true + jobs: claude: if: | - (github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) || - (github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) || - (github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) || - (github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude'))) + (github.event_name != 'issue_comment' || github.event.issue.pull_request != null) + && contains(github.event.comment.body || github.event.review.body, '@claude') + && (github.event.comment.user.type || github.event.review.user.type) != 'Bot' + && contains(fromJSON('["OWNER", "MEMBER", "COLLABORATOR"]'), github.event.comment.author_association || github.event.review.author_association) runs-on: ubuntu-latest + timeout-minutes: 15 permissions: contents: read - pull-requests: read - issues: read - id-token: write + issues: write + pull-requests: write actions: read # Required for Claude to read CI results on PRs steps: - name: Checkout repository uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: fetch-depth: 1 - - # Workaround for claude-code-action bug with fork PRs: The action fetches by branch name - # (git fetch origin --depth=N ), but fork PR branches don't exist on origin. - # Fix: redirect origin to the fork's URL so the action can fetch the branch directly. - - name: Configure git remote for fork PRs - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - # Determine PR number based on event type - if [ "${{ github.event_name }}" = "issue_comment" ]; then - PR_NUMBER="${{ github.event.issue.number }}" - elif [ "${{ github.event_name }}" = "pull_request_review_comment" ] || [ "${{ github.event_name }}" = "pull_request_review" ]; then - PR_NUMBER="${{ github.event.pull_request.number }}" - else - exit 0 # issues event — no PR branch to worry about - fi - - # Fetch fork info in one API call; silently skip if this is not a PR - PR_INFO=$(gh pr view "${PR_NUMBER}" --json isCrossRepository,headRepositoryOwner,headRepository 2>/dev/null || echo "") - if [ -z "$PR_INFO" ]; then - exit 0 - fi - - IS_FORK=$(echo "$PR_INFO" | jq -r '.isCrossRepository') - if [ "$IS_FORK" = "true" ]; then - FORK_OWNER=$(echo "$PR_INFO" | jq -r '.headRepositoryOwner.login') - FORK_REPO=$(echo "$PR_INFO" | jq -r '.headRepository.name') - echo "Fork PR detected from ${FORK_OWNER}/${FORK_REPO}: updating origin to fork URL" - git remote set-url origin "https://github.com/${FORK_OWNER}/${FORK_REPO}.git" - fi - - name: Run Claude Code id: claude - uses: anthropics/claude-code-action@e763fe78de2db7389e04818a00b5ff8ba13d1360 # v1 + uses: anthropics/claude-code-action@11a9dadd198803a0cea6bd53da3e0e8a762fc6ea # v1.0.108 with: - claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} - - # This is an optional setting that allows Claude to read CI results on PRs - additional_permissions: | - actions: read - - # Optional: Give a custom prompt to Claude. If this is not specified, Claude will perform the instructions specified in the comment that tagged it. - # prompt: 'Update the pull request description to include a summary of changes.' - - # Optional: Add claude_args to customize behavior and configuration - # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md - # or https://code.claude.com/docs/en/cli-reference for available options - # claude_args: '--allowed-tools Bash(gh pr:*)' - + anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} + github_token: ${{ secrets.GITHUB_TOKEN }} From baa2ff3ade8b3d582ef9cfdac9cd5a527edb3fe8 Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Wed, 29 Apr 2026 16:36:25 -0400 Subject: [PATCH 08/11] Fixes #22029: Recast empty string values on unique nullable fields as null (#22035) --- netbox/dcim/tests/test_models.py | 36 ++++++++++++++++++++++++++++++++ netbox/netbox/models/__init__.py | 20 ++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/netbox/dcim/tests/test_models.py b/netbox/dcim/tests/test_models.py index b53b4bd6e..fe9adc603 100644 --- a/netbox/dcim/tests/test_models.py +++ b/netbox/dcim/tests/test_models.py @@ -638,6 +638,42 @@ class DeviceTestCase(TestCase): device2.full_clean() device2.save() + def test_empty_asset_tag_coerced_to_null_on_clean(self): + """ + An empty string assigned to a unique nullable CharField (e.g. asset_tag) must be coerced + to None on save so that multiple objects can be saved without violating the unique + constraint. Test that this is done on clean(). + """ + common_kwargs = { + 'site': Site.objects.first(), + 'device_type': DeviceType.objects.first(), + 'role': DeviceRole.objects.first(), + } + device1 = Device(name='Device 1', asset_tag='', **common_kwargs) + device1.clean() + self.assertIsNone(device1.asset_tag) + + def test_empty_asset_tag_coerced_to_null_on_save(self): + """ + An empty string assigned to a unique nullable CharField (e.g. asset_tag) must be coerced + to None on save so that multiple objects can be saved without violating the unique + constraint. Test that this is done on save(). + """ + common_kwargs = { + 'site': Site.objects.first(), + 'device_type': DeviceType.objects.first(), + 'role': DeviceRole.objects.first(), + } + device1 = Device(name='Device 1', asset_tag='', **common_kwargs) + device1.save() + device2 = Device(name='Device 2', asset_tag='', **common_kwargs) + device2.save() + + device1.refresh_from_db() + device2.refresh_from_db() + self.assertIsNone(device1.asset_tag) + self.assertIsNone(device2.asset_tag) + def test_device_label(self): device1 = Device( site=Site.objects.first(), diff --git a/netbox/netbox/models/__init__.py b/netbox/netbox/models/__init__.py index 2839ea802..a01472bb6 100644 --- a/netbox/netbox/models/__init__.py +++ b/netbox/netbox/models/__init__.py @@ -58,6 +58,7 @@ class BaseModel(models.Model): This class provides some important overrides to Django's default functionality, such as - Overriding the default manager to use RestrictedQuerySet - Extending `clean()` to validate GenericForeignKey fields + - Extending `clean()` and `save()` to coerce empty strings to None on unique nullable CharFields """ objects = RestrictedQuerySet.as_manager() @@ -65,11 +66,26 @@ class BaseModel(models.Model): class Meta: abstract = True + def _coerce_nullable_unique_chars(self): + """ + Coerce empty strings to None on unique nullable CharFields to avoid spurious + uniqueness violations (PostgreSQL treats two empty strings as duplicates). + """ + for field in self._meta.concrete_fields: + if ( + isinstance(field, models.CharField) + and field.null + and field.unique + and getattr(self, field.attname, None) == '' + ): + setattr(self, field.attname, None) + def clean(self): """ Validate the model for GenericForeignKey fields to ensure that the content type and object ID exist. """ super().clean() + self._coerce_nullable_unique_chars() for field in self._meta.get_fields(): if isinstance(field, GenericForeignKey): @@ -97,6 +113,10 @@ class BaseModel(models.Model): # update the GFK field value setattr(self, field.name, obj) + def save(self, *args, **kwargs): + self._coerce_nullable_unique_chars() + super().save(*args, **kwargs) + class ChangeLoggedModel(ChangeLoggingMixin, CustomValidationMixin, EventRulesMixin, BaseModel): """ From fe800483742e0abef96a2ac12b5de0af483aab98 Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 30 Apr 2026 06:00:05 +0000 Subject: [PATCH 09/11] Update source translation strings --- netbox/translations/en/LC_MESSAGES/django.po | 30 ++++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/netbox/translations/en/LC_MESSAGES/django.po b/netbox/translations/en/LC_MESSAGES/django.po index b4f964e25..a893e201e 100644 --- a/netbox/translations/en/LC_MESSAGES/django.po +++ b/netbox/translations/en/LC_MESSAGES/django.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2026-04-29 05:58+0000\n" +"POT-Creation-Date: 2026-04-30 05:59+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -1390,9 +1390,9 @@ msgstr "" #: netbox/extras/models/models.py:425 netbox/extras/models/models.py:496 #: netbox/extras/models/models.py:575 netbox/extras/models/models.py:701 #: netbox/extras/models/notifications.py:131 netbox/extras/models/tags.py:34 -#: netbox/ipam/models/vlans.py:384 netbox/netbox/models/__init__.py:129 -#: netbox/netbox/models/__init__.py:168 netbox/netbox/models/__init__.py:218 -#: netbox/netbox/models/__init__.py:249 netbox/users/models/permissions.py:24 +#: netbox/ipam/models/vlans.py:384 netbox/netbox/models/__init__.py:149 +#: netbox/netbox/models/__init__.py:188 netbox/netbox/models/__init__.py:238 +#: netbox/netbox/models/__init__.py:269 netbox/users/models/permissions.py:24 #: netbox/users/models/tokens.py:46 netbox/users/models/users.py:41 #: netbox/virtualization/models/virtualmachines.py:290 msgid "description" @@ -1430,8 +1430,8 @@ msgstr "" #: netbox/ipam/models/services.py:51 netbox/ipam/models/services.py:80 #: netbox/ipam/models/vlans.py:38 netbox/ipam/models/vlans.py:217 #: netbox/ipam/models/vlans.py:363 netbox/ipam/models/vrfs.py:20 -#: netbox/ipam/models/vrfs.py:75 netbox/netbox/models/__init__.py:160 -#: netbox/netbox/models/__init__.py:208 netbox/tenancy/models/contacts.py:85 +#: netbox/ipam/models/vrfs.py:75 netbox/netbox/models/__init__.py:180 +#: netbox/netbox/models/__init__.py:228 netbox/tenancy/models/contacts.py:85 #: netbox/tenancy/models/tenants.py:19 netbox/tenancy/models/tenants.py:45 #: netbox/users/models/owners.py:19 netbox/users/models/owners.py:38 #: netbox/users/models/permissions.py:20 netbox/users/models/users.py:36 @@ -1453,8 +1453,8 @@ msgstr "" #: netbox/circuits/models/providers.py:28 netbox/dcim/models/devices.py:88 #: netbox/dcim/models/racks.py:146 netbox/dcim/models/sites.py:158 #: netbox/extras/models/models.py:491 netbox/ipam/models/asns.py:24 -#: netbox/ipam/models/vlans.py:43 netbox/netbox/models/__init__.py:164 -#: netbox/netbox/models/__init__.py:213 netbox/tenancy/models/tenants.py:25 +#: netbox/ipam/models/vlans.py:43 netbox/netbox/models/__init__.py:184 +#: netbox/netbox/models/__init__.py:233 netbox/tenancy/models/tenants.py:25 #: netbox/tenancy/models/tenants.py:50 netbox/vpn/models/l2vpn.py:26 #: netbox/wireless/models.py:60 msgid "slug" @@ -6900,8 +6900,8 @@ msgstr "" #: netbox/dcim/models/devices.py:1261 netbox/extras/models/customfields.py:253 #: netbox/extras/models/models.py:118 netbox/extras/models/models.py:817 -#: netbox/netbox/models/__init__.py:134 netbox/netbox/models/__init__.py:173 -#: netbox/netbox/models/__init__.py:223 +#: netbox/netbox/models/__init__.py:154 netbox/netbox/models/__init__.py:193 +#: netbox/netbox/models/__init__.py:243 msgid "comments" msgstr "" @@ -11629,11 +11629,11 @@ msgid "" "are allowed in DNS names" msgstr "" -#: netbox/ipam/views.py:104 netbox/ipam/views.py:1660 +#: netbox/ipam/views.py:104 netbox/ipam/views.py:1663 msgid "Device Interfaces" msgstr "" -#: netbox/ipam/views.py:109 netbox/ipam/views.py:1678 +#: netbox/ipam/views.py:109 netbox/ipam/views.py:1681 msgid "VM Interfaces" msgstr "" @@ -11698,7 +11698,7 @@ msgstr "" msgid "Add IP Address" msgstr "" -#: netbox/ipam/views.py:1643 +#: netbox/ipam/views.py:1646 msgid "Add a Prefix" msgstr "" @@ -12519,7 +12519,7 @@ msgstr "" msgid "Background Tasks" msgstr "" -#: netbox/netbox/object_actions.py:88 netbox/netbox/ui/actions.py:129 +#: netbox/netbox/object_actions.py:88 netbox/netbox/ui/actions.py:133 #: netbox/templates/circuits/inc/circuit_termination.html:10 #: netbox/templates/circuits/panels/circuit_circuit_termination.html:10 #: netbox/templates/dcim/manufacturer.html:8 @@ -12818,7 +12818,7 @@ msgstr "" msgid "Dummy Plugin" msgstr "" -#: netbox/netbox/ui/actions.py:146 +#: netbox/netbox/ui/actions.py:150 msgid "Copy" msgstr "" From 05dcf02dbed4aab049cf34974fef0474b6f4af8d Mon Sep 17 00:00:00 2001 From: Martin Hauser Date: Mon, 4 May 2026 14:15:16 +0200 Subject: [PATCH 10/11] fix(dcim): Mark cable_end as nullable in CabledObject Serializer Use DRF's ChoiceField for `cable_end` to preserve the existing raw "A"/"B" API output while documenting the allowed values and nullability in the generated schema. Fixes #22084 --- netbox/dcim/api/serializers_/cables.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/netbox/dcim/api/serializers_/cables.py b/netbox/dcim/api/serializers_/cables.py index 2b49acbc5..1f23815ed 100644 --- a/netbox/dcim/api/serializers_/cables.py +++ b/netbox/dcim/api/serializers_/cables.py @@ -95,7 +95,8 @@ class CablePathSerializer(serializers.ModelSerializer): class CabledObjectSerializer(serializers.ModelSerializer): cable = CableSerializer(nested=True, read_only=True, allow_null=True) - cable_end = serializers.CharField(read_only=True) + # Use DRF's ChoiceField; NetBox's ChoiceField would return a value/label object. + cable_end = serializers.ChoiceField(choices=CableEndChoices, read_only=True, allow_null=True) link_peers_type = serializers.SerializerMethodField(read_only=True, allow_null=True) link_peers = serializers.SerializerMethodField(read_only=True) _occupied = serializers.SerializerMethodField(read_only=True) From b78bd713294564e0421c36c936a909e64da04b8d Mon Sep 17 00:00:00 2001 From: Jeremy Stretch Date: Mon, 4 May 2026 12:14:25 -0400 Subject: [PATCH 11/11] Release v4.5.10 --- .../ISSUE_TEMPLATE/01-feature_request.yaml | 2 +- .github/ISSUE_TEMPLATE/02-bug_report.yaml | 2 +- .github/ISSUE_TEMPLATE/03-performance.yaml | 2 +- base_requirements.txt | 3 +- contrib/openapi.json | 23134 +--------------- docs/release-notes/version-4.5.md | 12 + netbox/release.yaml | 4 +- pyproject.toml | 2 +- requirements.txt | 10 +- 9 files changed, 107 insertions(+), 23064 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/01-feature_request.yaml b/.github/ISSUE_TEMPLATE/01-feature_request.yaml index fca8fd983..973384dd3 100644 --- a/.github/ISSUE_TEMPLATE/01-feature_request.yaml +++ b/.github/ISSUE_TEMPLATE/01-feature_request.yaml @@ -15,7 +15,7 @@ body: attributes: label: NetBox version description: What version of NetBox are you currently running? - placeholder: v4.5.9 + placeholder: v4.5.10 validations: required: true - type: dropdown diff --git a/.github/ISSUE_TEMPLATE/02-bug_report.yaml b/.github/ISSUE_TEMPLATE/02-bug_report.yaml index 294dcc9f5..0d9cfa194 100644 --- a/.github/ISSUE_TEMPLATE/02-bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/02-bug_report.yaml @@ -27,7 +27,7 @@ body: attributes: label: NetBox Version description: What version of NetBox are you currently running? - placeholder: v4.5.9 + placeholder: v4.5.10 validations: required: true - type: dropdown diff --git a/.github/ISSUE_TEMPLATE/03-performance.yaml b/.github/ISSUE_TEMPLATE/03-performance.yaml index 62dab9e63..8a221bcfa 100644 --- a/.github/ISSUE_TEMPLATE/03-performance.yaml +++ b/.github/ISSUE_TEMPLATE/03-performance.yaml @@ -8,7 +8,7 @@ body: attributes: label: NetBox Version description: What version of NetBox are you currently running? - placeholder: v4.5.9 + placeholder: v4.5.10 validations: required: true - type: dropdown diff --git a/base_requirements.txt b/base_requirements.txt index 7a132b386..eb1ecd84b 100644 --- a/base_requirements.txt +++ b/base_requirements.txt @@ -150,7 +150,8 @@ social-auth-app-django # Social authentication framework # https://github.com/python-social-auth/social-core/blob/master/CHANGELOG.md -social-auth-core +# Need to verify that v4.9.0 does not introduce breaking changes (see #22095) +social-auth-core==4.8.* # Image thumbnail generation # https://github.com/jazzband/sorl-thumbnail/blob/master/CHANGES.rst diff --git a/contrib/openapi.json b/contrib/openapi.json index 058dd8992..5b4c99a0a 100644 --- a/contrib/openapi.json +++ b/contrib/openapi.json @@ -2,7 +2,7 @@ "openapi": "3.0.3", "info": { "title": "NetBox REST API", - "version": "4.5.9", + "version": "4.5.10", "license": { "name": "Apache v2 License" } @@ -173384,18264 +173384,6 @@ } } }, - "/api/plugins/asset-lifecycle/bom-line-items/": { - "get": { - "operationId": "plugins_asset_lifecycle_bom_line_items_list", - "description": "Get a list of BOM line item objects.", - "parameters": [ - { - "in": "query", - "name": "auto_generated", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "bom_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "bom_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "object_type", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "object_type__n", - "schema": { - "type": "integer" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "quantity", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "quantity__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "quantity__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "quantity__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "quantity__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "quantity__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "quantity__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedBOMLineItemList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_bom_line_items_create", - "description": "Post a list of BOM line item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/BOMLineItemRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMLineItemRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/BOMLineItemRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMLineItemRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOMLineItem" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_bom_line_items_bulk_update", - "description": "Put a list of BOM line item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMLineItemRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMLineItemRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMLineItem" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_bom_line_items_bulk_partial_update", - "description": "Patch a list of BOM line item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMLineItemRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMLineItemRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMLineItem" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_bom_line_items_bulk_destroy", - "description": "Delete a list of BOM line item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMLineItemRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMLineItemRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/bom-line-items/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_bom_line_items_retrieve", - "description": "Get a BOM line item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this BOM line item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOMLineItem" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_bom_line_items_update", - "description": "Put a BOM line item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this BOM line item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOMLineItemRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/BOMLineItemRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOMLineItem" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_bom_line_items_partial_update", - "description": "Patch a BOM line item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this BOM line item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedBOMLineItemRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedBOMLineItemRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOMLineItem" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_bom_line_items_destroy", - "description": "Delete a BOM line item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this BOM line item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/bom-objects/": { - "get": { - "operationId": "plugins_asset_lifecycle_bom_objects_list", - "description": "Get a list of BOM object objects.", - "parameters": [ - { - "in": "query", - "name": "bom_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "bom_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "object_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "object_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "object_type__n", - "schema": { - "type": "integer" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedBOMObjectList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_bom_objects_create", - "description": "Post a list of BOM object objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/BOMObjectRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMObjectRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/BOMObjectRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMObjectRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOMObject" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_bom_objects_bulk_update", - "description": "Put a list of BOM object objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMObjectRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMObjectRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMObject" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_bom_objects_bulk_partial_update", - "description": "Patch a list of BOM object objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMObjectRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMObjectRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMObject" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_bom_objects_bulk_destroy", - "description": "Delete a list of BOM object objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMObjectRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMObjectRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/bom-objects/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_bom_objects_retrieve", - "description": "Get a BOM object object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this BOM object.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOMObject" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_bom_objects_update", - "description": "Put a BOM object object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this BOM object.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOMObjectRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/BOMObjectRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOMObject" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_bom_objects_partial_update", - "description": "Patch a BOM object object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this BOM object.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedBOMObjectRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedBOMObjectRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOMObject" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_bom_objects_destroy", - "description": "Delete a BOM object object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this BOM object.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/bom-scope-rules/": { - "get": { - "operationId": "plugins_asset_lifecycle_bom_scope_rules_list", - "description": "Get a list of BOM scope rule objects.", - "parameters": [ - { - "in": "query", - "name": "action", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a49ba53d958c43ee" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "action__ic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a49ba53d958c43ee" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action__ie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a49ba53d958c43ee" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action__iew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a49ba53d958c43ee" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action__iregex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a49ba53d958c43ee" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action__isw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a49ba53d958c43ee" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a49ba53d958c43ee" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action__nic", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a49ba53d958c43ee" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action__nie", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a49ba53d958c43ee" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action__niew", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a49ba53d958c43ee" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action__nisw", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a49ba53d958c43ee" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "action__regex", - "schema": { - "type": "array", - "items": { - "type": "string", - "x-spec-enum-id": "a49ba53d958c43ee" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "bom_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "bom_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "enabled", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "object_types", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_types__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedBOMScopeRuleList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_bom_scope_rules_create", - "description": "Post a list of BOM scope rule objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/WritableBOMScopeRuleRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/WritableBOMScopeRuleRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/WritableBOMScopeRuleRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/WritableBOMScopeRuleRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOMScopeRule" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_bom_scope_rules_bulk_update", - "description": "Put a list of BOM scope rule objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMScopeRuleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMScopeRuleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMScopeRule" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_bom_scope_rules_bulk_partial_update", - "description": "Patch a list of BOM scope rule objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMScopeRuleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMScopeRuleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMScopeRule" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_bom_scope_rules_bulk_destroy", - "description": "Delete a list of BOM scope rule objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMScopeRuleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMScopeRuleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/bom-scope-rules/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_bom_scope_rules_retrieve", - "description": "Get a BOM scope rule object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this BOM scope rule.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOMScopeRule" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_bom_scope_rules_update", - "description": "Put a BOM scope rule object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this BOM scope rule.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableBOMScopeRuleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableBOMScopeRuleRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOMScopeRule" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_bom_scope_rules_partial_update", - "description": "Patch a BOM scope rule object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this BOM scope rule.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableBOMScopeRuleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableBOMScopeRuleRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOMScopeRule" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_bom_scope_rules_destroy", - "description": "Delete a BOM scope rule object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this BOM scope rule.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/boms/": { - "get": { - "operationId": "plugins_asset_lifecycle_boms_list", - "description": "Get a list of bill of materials objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "is_current", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "last_generated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_generated__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "last_generated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_generated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_generated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_generated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_generated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "string", - "x-spec-enum-id": "723ea797352271c7", - "enum": [ - "approved", - "cancelled", - "draft", - "fulfilled", - "null", - "ordered" - ] - }, - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "string", - "x-spec-enum-id": "723ea797352271c7", - "enum": [ - "approved", - "cancelled", - "draft", - "fulfilled", - "null", - "ordered" - ] - }, - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedBOMList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_boms_create", - "description": "Post a list of bill of materials objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/WritableBOMRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/WritableBOMRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/WritableBOMRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/WritableBOMRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOM" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_boms_bulk_update", - "description": "Put a list of bill of materials objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOM" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_boms_bulk_partial_update", - "description": "Patch a list of bill of materials objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOM" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_boms_bulk_destroy", - "description": "Delete a list of bill of materials objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/boms/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_boms_retrieve", - "description": "Get a bill of materials object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this bill of materials.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOM" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_boms_update", - "description": "Put a bill of materials object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this bill of materials.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableBOMRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableBOMRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOM" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_boms_partial_update", - "description": "Patch a bill of materials object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this bill of materials.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableBOMRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableBOMRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/BOM" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_boms_destroy", - "description": "Delete a bill of materials object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this bill of materials.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/cable-types/": { - "get": { - "operationId": "plugins_asset_lifecycle_cable_types_list", - "description": "Get a list of cable type objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "profile", - "schema": { - "type": "string", - "x-spec-enum-id": "f566e6df6572f5d0", - "enum": [ - "Breakout", - "Single", - "Trunk", - "null" - ] - }, - "description": "* `Single` - [('single-1c1p', '1C1P'), ('single-1c2p', '1C2P'), ('single-1c4p', '1C4P'), ('single-1c6p', '1C6P'), ('single-1c8p', '1C8P'), ('single-1c12p', '1C12P'), ('single-1c16p', '1C16P')]\n* `Trunk` - [('trunk-2c1p', '2C1P trunk'), ('trunk-2c2p', '2C2P trunk'), ('trunk-2c4p', '2C4P trunk'), ('trunk-2c4p-shuffle', '2C4P trunk (shuffle)'), ('trunk-2c6p', '2C6P trunk'), ('trunk-2c8p', '2C8P trunk'), ('trunk-2c12p', '2C12P trunk'), ('trunk-4c1p', '4C1P trunk'), ('trunk-4c2p', '4C2P trunk'), ('trunk-4c4p', '4C4P trunk'), ('trunk-4c4p-shuffle', '4C4P trunk (shuffle)'), ('trunk-4c6p', '4C6P trunk'), ('trunk-4c8p', '4C8P trunk'), ('trunk-8c4p', '8C4P trunk')]\n* `Breakout` - [('breakout-1c2p-2c1p', '1C2P:2C1P breakout'), ('breakout-1c4p-4c1p', '1C4P:4C1P breakout'), ('breakout-1c6p-6c1p', '1C6P:6C1P breakout'), ('breakout-2c4p-8c1p-shuffle', '2C4P:8C1P breakout (shuffle)')]" - }, - { - "in": "query", - "name": "profile__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "profile__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "profile__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "profile__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "profile__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "profile__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "profile__n", - "schema": { - "type": "string", - "x-spec-enum-id": "f566e6df6572f5d0", - "enum": [ - "Breakout", - "Single", - "Trunk", - "null" - ] - }, - "description": "* `Single` - [('single-1c1p', '1C1P'), ('single-1c2p', '1C2P'), ('single-1c4p', '1C4P'), ('single-1c6p', '1C6P'), ('single-1c8p', '1C8P'), ('single-1c12p', '1C12P'), ('single-1c16p', '1C16P')]\n* `Trunk` - [('trunk-2c1p', '2C1P trunk'), ('trunk-2c2p', '2C2P trunk'), ('trunk-2c4p', '2C4P trunk'), ('trunk-2c4p-shuffle', '2C4P trunk (shuffle)'), ('trunk-2c6p', '2C6P trunk'), ('trunk-2c8p', '2C8P trunk'), ('trunk-2c12p', '2C12P trunk'), ('trunk-4c1p', '4C1P trunk'), ('trunk-4c2p', '4C2P trunk'), ('trunk-4c4p', '4C4P trunk'), ('trunk-4c4p-shuffle', '4C4P trunk (shuffle)'), ('trunk-4c6p', '4C6P trunk'), ('trunk-4c8p', '4C8P trunk'), ('trunk-8c4p', '8C4P trunk')]\n* `Breakout` - [('breakout-1c2p-2c1p', '1C2P:2C1P breakout'), ('breakout-1c4p-4c1p', '1C4P:4C1P breakout'), ('breakout-1c6p-6c1p', '1C6P:6C1P breakout'), ('breakout-2c4p-8c1p-shuffle', '2C4P:8C1P breakout (shuffle)')]" - }, - { - "in": "query", - "name": "profile__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "profile__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "profile__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "profile__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "profile__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type", - "schema": { - "type": "string", - "x-spec-enum-id": "3d4d8d7ae24f7be8", - "enum": [ - "Copper - Coaxial", - "Copper - Twinax (DAC)", - "Copper - Twisted Pair (UTP/STP)", - "Fiber - Multimode", - "Fiber - Other", - "Fiber - Single-mode", - "Power", - "USB", - "null" - ] - }, - "description": "* `Copper - Twisted Pair (UTP/STP)` - [('cat3', 'CAT3'), ('cat5', 'CAT5'), ('cat5e', 'CAT5e'), ('cat6', 'CAT6'), ('cat6a', 'CAT6a'), ('cat7', 'CAT7'), ('cat7a', 'CAT7a'), ('cat8', 'CAT8'), ('mrj21-trunk', 'MRJ21 Trunk')]\n* `Copper - Twinax (DAC)` - [('dac-active', 'Direct Attach Copper (Active)'), ('dac-passive', 'Direct Attach Copper (Passive)')]\n* `Copper - Coaxial` - [('coaxial', 'Coaxial'), ('rg-6', 'RG-6'), ('rg-8', 'RG-8'), ('rg-11', 'RG-11'), ('rg-59', 'RG-59'), ('rg-62', 'RG-62'), ('rg-213', 'RG-213'), ('lmr-100', 'LMR-100'), ('lmr-200', 'LMR-200'), ('lmr-400', 'LMR-400')]\n* `Fiber - Multimode` - [('mmf', 'Multimode Fiber'), ('mmf-om1', 'Multimode Fiber (OM1)'), ('mmf-om2', 'Multimode Fiber (OM2)'), ('mmf-om3', 'Multimode Fiber (OM3)'), ('mmf-om4', 'Multimode Fiber (OM4)'), ('mmf-om5', 'Multimode Fiber (OM5)')]\n* `Fiber - Single-mode` - [('smf', 'Single-mode Fiber'), ('smf-os1', 'Single-mode Fiber (OS1)'), ('smf-os2', 'Single-mode Fiber (OS2)')]\n* `Fiber - Other` - [('aoc', 'Active Optical Cabling (AOC)')]\n* `Power` - [('power', 'Power')]\n* `USB` - [('usb', 'USB')]" - }, - { - "in": "query", - "name": "type__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "type__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__n", - "schema": { - "type": "string", - "x-spec-enum-id": "3d4d8d7ae24f7be8", - "enum": [ - "Copper - Coaxial", - "Copper - Twinax (DAC)", - "Copper - Twisted Pair (UTP/STP)", - "Fiber - Multimode", - "Fiber - Other", - "Fiber - Single-mode", - "Power", - "USB", - "null" - ] - }, - "description": "* `Copper - Twisted Pair (UTP/STP)` - [('cat3', 'CAT3'), ('cat5', 'CAT5'), ('cat5e', 'CAT5e'), ('cat6', 'CAT6'), ('cat6a', 'CAT6a'), ('cat7', 'CAT7'), ('cat7a', 'CAT7a'), ('cat8', 'CAT8'), ('mrj21-trunk', 'MRJ21 Trunk')]\n* `Copper - Twinax (DAC)` - [('dac-active', 'Direct Attach Copper (Active)'), ('dac-passive', 'Direct Attach Copper (Passive)')]\n* `Copper - Coaxial` - [('coaxial', 'Coaxial'), ('rg-6', 'RG-6'), ('rg-8', 'RG-8'), ('rg-11', 'RG-11'), ('rg-59', 'RG-59'), ('rg-62', 'RG-62'), ('rg-213', 'RG-213'), ('lmr-100', 'LMR-100'), ('lmr-200', 'LMR-200'), ('lmr-400', 'LMR-400')]\n* `Fiber - Multimode` - [('mmf', 'Multimode Fiber'), ('mmf-om1', 'Multimode Fiber (OM1)'), ('mmf-om2', 'Multimode Fiber (OM2)'), ('mmf-om3', 'Multimode Fiber (OM3)'), ('mmf-om4', 'Multimode Fiber (OM4)'), ('mmf-om5', 'Multimode Fiber (OM5)')]\n* `Fiber - Single-mode` - [('smf', 'Single-mode Fiber'), ('smf-os1', 'Single-mode Fiber (OS1)'), ('smf-os2', 'Single-mode Fiber (OS2)')]\n* `Fiber - Other` - [('aoc', 'Active Optical Cabling (AOC)')]\n* `Power` - [('power', 'Power')]\n* `USB` - [('usb', 'USB')]" - }, - { - "in": "query", - "name": "type__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "type__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedCableTypeList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_cable_types_create", - "description": "Post a list of cable type objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/CableTypeRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableTypeRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/CableTypeRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableTypeRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CableType" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_cable_types_bulk_update", - "description": "Put a list of cable type objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableTypeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableTypeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableType" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_cable_types_bulk_partial_update", - "description": "Patch a list of cable type objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableTypeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableTypeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableType" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_cable_types_bulk_destroy", - "description": "Delete a list of cable type objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableTypeRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableTypeRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/cable-types/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_cable_types_retrieve", - "description": "Get a cable type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this cable type.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CableType" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_cable_types_update", - "description": "Put a cable type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this cable type.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CableTypeRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/CableTypeRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CableType" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_cable_types_partial_update", - "description": "Patch a cable type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this cable type.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedCableTypeRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedCableTypeRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CableType" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_cable_types_destroy", - "description": "Delete a cable type object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this cable type.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/courier-accounts/": { - "get": { - "operationId": "plugins_asset_lifecycle_courier_accounts_list", - "description": "Get a list of courier account objects.", - "parameters": [ - { - "in": "query", - "name": "account_number", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "account_number__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "courier_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "courier_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedCourierAccountList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_courier_accounts_create", - "description": "Post a list of courier account objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/CourierAccountRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierAccountRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/CourierAccountRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierAccountRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CourierAccount" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_courier_accounts_bulk_update", - "description": "Put a list of courier account objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierAccountRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierAccountRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierAccount" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_courier_accounts_bulk_partial_update", - "description": "Patch a list of courier account objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierAccountRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierAccountRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierAccount" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_courier_accounts_bulk_destroy", - "description": "Delete a list of courier account objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierAccountRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierAccountRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/courier-accounts/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_courier_accounts_retrieve", - "description": "Get a courier account object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this courier account.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CourierAccount" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_courier_accounts_update", - "description": "Put a courier account object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this courier account.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CourierAccountRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/CourierAccountRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CourierAccount" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_courier_accounts_partial_update", - "description": "Patch a courier account object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this courier account.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedCourierAccountRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedCourierAccountRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CourierAccount" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_courier_accounts_destroy", - "description": "Delete a courier account object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this courier account.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/couriers/": { - "get": { - "operationId": "plugins_asset_lifecycle_couriers_list", - "description": "Get a list of courier objects.", - "parameters": [ - { - "in": "query", - "name": "code", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "code__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_url", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_url__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "tracking_url__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_url__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_url__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_url__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_url__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_url__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_url__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_url__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_url__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_url__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_url__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedCourierList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_couriers_create", - "description": "Post a list of courier objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/CourierRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/CourierRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Courier" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_couriers_bulk_update", - "description": "Put a list of courier objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Courier" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_couriers_bulk_partial_update", - "description": "Patch a list of courier objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Courier" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_couriers_bulk_destroy", - "description": "Delete a list of courier objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/couriers/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_couriers_retrieve", - "description": "Get a courier object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this courier.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Courier" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_couriers_update", - "description": "Put a courier object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this courier.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/CourierRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/CourierRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Courier" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_couriers_partial_update", - "description": "Patch a courier object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this courier.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedCourierRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedCourierRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Courier" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_couriers_destroy", - "description": "Delete a courier object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this courier.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/po-line-items/": { - "get": { - "operationId": "plugins_asset_lifecycle_po_line_items_list", - "description": "Get a list of PO line item objects.", - "parameters": [ - { - "in": "query", - "name": "bom_line_item", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "bom_line_item__n", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "purchase_order_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "purchase_order_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_ordered", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_ordered__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "qty_ordered__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_ordered__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_ordered__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_ordered__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_ordered__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "total_price", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "total_price__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "total_price__gt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "total_price__gte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "total_price__lt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "total_price__lte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "total_price__n", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "unit_price", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "unit_price__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "unit_price__gt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "unit_price__gte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "unit_price__lt", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "unit_price__lte", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "unit_price__n", - "schema": { - "type": "array", - "items": { - "type": "number", - "format": "double" - } - }, - "explode": true, - "style": "form" - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedPOLineItemList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_po_line_items_create", - "description": "Post a list of PO line item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/POLineItemRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/POLineItemRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/POLineItemRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/POLineItemRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/POLineItem" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_po_line_items_bulk_update", - "description": "Put a list of PO line item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/POLineItemRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/POLineItemRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/POLineItem" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_po_line_items_bulk_partial_update", - "description": "Patch a list of PO line item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/POLineItemRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/POLineItemRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/POLineItem" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_po_line_items_bulk_destroy", - "description": "Delete a list of PO line item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/POLineItemRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/POLineItemRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/po-line-items/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_po_line_items_retrieve", - "description": "Get a PO line item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this PO line item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/POLineItem" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_po_line_items_update", - "description": "Put a PO line item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this PO line item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/POLineItemRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/POLineItemRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/POLineItem" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_po_line_items_partial_update", - "description": "Patch a PO line item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this PO line item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedPOLineItemRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedPOLineItemRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/POLineItem" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_po_line_items_destroy", - "description": "Delete a PO line item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this PO line item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/purchase-orders/": { - "get": { - "operationId": "plugins_asset_lifecycle_purchase_orders_list", - "description": "Get a list of purchase order objects.", - "parameters": [ - { - "in": "query", - "name": "bom_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "bom_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "order_id", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "order_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "order_id__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "order_id__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "order_id__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "order_id__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "order_id__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "order_id__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "order_id__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "order_id__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "order_id__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "order_id__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "order_id__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "string", - "x-spec-enum-id": "723ea797352271c7", - "enum": [ - "approved", - "cancelled", - "draft", - "fulfilled", - "null", - "ordered" - ] - }, - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "string", - "x-spec-enum-id": "723ea797352271c7", - "enum": [ - "approved", - "cancelled", - "draft", - "fulfilled", - "null", - "ordered" - ] - }, - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "vendor_account_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vendor_account_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vendor_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vendor_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedPurchaseOrderList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_purchase_orders_create", - "description": "Post a list of purchase order objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/WritablePurchaseOrderRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/WritablePurchaseOrderRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/WritablePurchaseOrderRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/WritablePurchaseOrderRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PurchaseOrder" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_purchase_orders_bulk_update", - "description": "Put a list of purchase order objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PurchaseOrderRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PurchaseOrderRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PurchaseOrder" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_purchase_orders_bulk_partial_update", - "description": "Patch a list of purchase order objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PurchaseOrderRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PurchaseOrderRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PurchaseOrder" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_purchase_orders_bulk_destroy", - "description": "Delete a list of purchase order objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PurchaseOrderRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PurchaseOrderRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/purchase-orders/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_purchase_orders_retrieve", - "description": "Get a purchase order object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this purchase order.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PurchaseOrder" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_purchase_orders_update", - "description": "Put a purchase order object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this purchase order.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritablePurchaseOrderRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritablePurchaseOrderRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PurchaseOrder" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_purchase_orders_partial_update", - "description": "Patch a purchase order object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this purchase order.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritablePurchaseOrderRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritablePurchaseOrderRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PurchaseOrder" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_purchase_orders_destroy", - "description": "Delete a purchase order object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this purchase order.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/shipment-line-items/": { - "get": { - "operationId": "plugins_asset_lifecycle_shipment_line_items_list", - "description": "Get a list of shipment line item objects.", - "parameters": [ - { - "in": "query", - "name": "bom_line_item", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "bom_line_item__n", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "qty_received", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_received__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "qty_received__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_received__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_received__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_received__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_received__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_shipped", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_shipped__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "qty_shipped__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_shipped__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_shipped__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_shipped__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "qty_shipped__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "shipment_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "shipment_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedShipmentLineItemList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_shipment_line_items_create", - "description": "Post a list of shipment line item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ShipmentLineItemRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentLineItemRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/ShipmentLineItemRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentLineItemRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ShipmentLineItem" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_shipment_line_items_bulk_update", - "description": "Put a list of shipment line item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentLineItemRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentLineItemRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentLineItem" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_shipment_line_items_bulk_partial_update", - "description": "Patch a list of shipment line item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentLineItemRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentLineItemRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentLineItem" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_shipment_line_items_bulk_destroy", - "description": "Delete a list of shipment line item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentLineItemRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentLineItemRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/shipment-line-items/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_shipment_line_items_retrieve", - "description": "Get a shipment line item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this shipment line item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ShipmentLineItem" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_shipment_line_items_update", - "description": "Put a shipment line item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this shipment line item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ShipmentLineItemRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/ShipmentLineItemRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ShipmentLineItem" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_shipment_line_items_partial_update", - "description": "Patch a shipment line item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this shipment line item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedShipmentLineItemRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedShipmentLineItemRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ShipmentLineItem" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_shipment_line_items_destroy", - "description": "Delete a shipment line item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this shipment line item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/shipments/": { - "get": { - "operationId": "plugins_asset_lifecycle_shipments_list", - "description": "Get a list of shipment objects.", - "parameters": [ - { - "in": "query", - "name": "bom_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "bom_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "courier_account_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "courier_account_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "courier_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "courier_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "date_expected", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_expected__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "date_expected__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_expected__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_expected__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_expected__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_expected__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_received", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_received__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "date_received__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_received__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_received__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_received__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_received__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_shipped", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_shipped__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "date_shipped__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_shipped__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_shipped__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_shipped__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "date_shipped__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "location_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "purchase_order_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "purchase_order_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "string", - "x-spec-enum-id": "90d5c62b9534fcda", - "enum": [ - "cancelled", - "lost", - "null", - "prepared", - "received", - "returned", - "shipped" - ] - }, - "description": "* `prepared` - Prepared\n* `shipped` - Shipped\n* `received` - Received\n* `cancelled` - Cancelled\n* `returned` - Returned\n* `lost` - Lost" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "string", - "x-spec-enum-id": "90d5c62b9534fcda", - "enum": [ - "cancelled", - "lost", - "null", - "prepared", - "received", - "returned", - "shipped" - ] - }, - "description": "* `prepared` - Prepared\n* `shipped` - Shipped\n* `received` - Received\n* `cancelled` - Cancelled\n* `returned` - Returned\n* `lost` - Lost" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_number", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_number__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "tracking_number__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_number__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_number__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_number__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_number__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_number__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_number__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_number__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_number__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_number__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tracking_number__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedShipmentList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_shipments_create", - "description": "Post a list of shipment objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/WritableShipmentRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/WritableShipmentRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/WritableShipmentRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/WritableShipmentRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Shipment" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_shipments_bulk_update", - "description": "Put a list of shipment objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Shipment" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_shipments_bulk_partial_update", - "description": "Patch a list of shipment objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Shipment" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_shipments_bulk_destroy", - "description": "Delete a list of shipment objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/shipments/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_shipments_retrieve", - "description": "Get a shipment object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this shipment.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Shipment" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_shipments_update", - "description": "Put a shipment object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this shipment.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableShipmentRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableShipmentRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Shipment" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_shipments_partial_update", - "description": "Patch a shipment object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this shipment.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableShipmentRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableShipmentRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Shipment" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_shipments_destroy", - "description": "Delete a shipment object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this shipment.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/spare-items/": { - "get": { - "operationId": "plugins_asset_lifecycle_spare_items_list", - "description": "Get a list of spare item objects.", - "parameters": [ - { - "in": "query", - "name": "asset_tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "asset_tag__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "asset_tag__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "object_id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "object_id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type_id", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "object_type_id__n", - "schema": { - "type": "integer" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "pool_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "pool_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "serial", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "serial__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "serial__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status", - "schema": { - "type": "string", - "x-spec-enum-id": "800a019a62f1910f", - "enum": [ - "damaged", - "missing", - "null", - "serviceable" - ] - }, - "description": "* `serviceable` - Serviceable\n* `damaged` - Damaged\n* `missing` - Missing" - }, - { - "in": "query", - "name": "status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "status__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__n", - "schema": { - "type": "string", - "x-spec-enum-id": "800a019a62f1910f", - "enum": [ - "damaged", - "missing", - "null", - "serviceable" - ] - }, - "description": "* `serviceable` - Serviceable\n* `damaged` - Damaged\n* `missing` - Missing" - }, - { - "in": "query", - "name": "status__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "status__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedSpareItemList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_spare_items_create", - "description": "Post a list of spare item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/WritableSpareItemRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/WritableSpareItemRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/WritableSpareItemRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/WritableSpareItemRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SpareItem" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_spare_items_bulk_update", - "description": "Put a list of spare item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SpareItemRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SpareItemRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SpareItem" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_spare_items_bulk_partial_update", - "description": "Patch a list of spare item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SpareItemRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SpareItemRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SpareItem" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_spare_items_bulk_destroy", - "description": "Delete a list of spare item objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SpareItemRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SpareItemRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/spare-items/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_spare_items_retrieve", - "description": "Get a spare item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this spare item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SpareItem" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_spare_items_update", - "description": "Put a spare item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this spare item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/WritableSpareItemRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/WritableSpareItemRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SpareItem" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_spare_items_partial_update", - "description": "Patch a spare item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this spare item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableSpareItemRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedWritableSpareItemRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SpareItem" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_spare_items_destroy", - "description": "Delete a spare item object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this spare item.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/spares-pools/": { - "get": { - "operationId": "plugins_asset_lifecycle_spares_pools_list", - "description": "Get a list of spares pool objects.", - "parameters": [ - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "location_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "location_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "site_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "site_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedSparesPoolList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_spares_pools_create", - "description": "Post a list of spares pool objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/SparesPoolRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/SparesPoolRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/SparesPoolRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/SparesPoolRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SparesPool" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_spares_pools_bulk_update", - "description": "Put a list of spares pool objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SparesPoolRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SparesPoolRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SparesPool" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_spares_pools_bulk_partial_update", - "description": "Patch a list of spares pool objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SparesPoolRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SparesPoolRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SparesPool" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_spares_pools_bulk_destroy", - "description": "Delete a list of spares pool objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SparesPoolRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SparesPoolRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/spares-pools/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_spares_pools_retrieve", - "description": "Get a spares pool object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this spares pool.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SparesPool" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_spares_pools_update", - "description": "Put a spares pool object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this spares pool.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SparesPoolRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/SparesPoolRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SparesPool" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_spares_pools_partial_update", - "description": "Patch a spares pool object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this spares pool.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedSparesPoolRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedSparesPoolRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/SparesPool" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_spares_pools_destroy", - "description": "Delete a spares pool object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this spares pool.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/status-transition-rules/": { - "get": { - "operationId": "plugins_asset_lifecycle_status_transition_rules_list", - "description": "Get a list of status transition rule objects.", - "parameters": [ - { - "in": "query", - "name": "allow_reverse", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "from_status", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "from_status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "from_status__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "from_status__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "from_status__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "from_status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "from_status__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "from_status__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "from_status__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "from_status__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "from_status__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "from_status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "from_status__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "object_type_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "object_type_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "to_status", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "to_status__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "to_status__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "to_status__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "to_status__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "to_status__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "to_status__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "to_status__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "to_status__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "to_status__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "to_status__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "to_status__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "to_status__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedStatusTransitionRuleList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_status_transition_rules_create", - "description": "Post a list of status transition rule objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/StatusTransitionRuleRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/StatusTransitionRuleRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/StatusTransitionRuleRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/StatusTransitionRuleRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/StatusTransitionRule" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_status_transition_rules_bulk_update", - "description": "Put a list of status transition rule objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/StatusTransitionRuleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/StatusTransitionRuleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/StatusTransitionRule" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_status_transition_rules_bulk_partial_update", - "description": "Patch a list of status transition rule objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/StatusTransitionRuleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/StatusTransitionRuleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/StatusTransitionRule" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_status_transition_rules_bulk_destroy", - "description": "Delete a list of status transition rule objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/StatusTransitionRuleRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/StatusTransitionRuleRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/status-transition-rules/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_status_transition_rules_retrieve", - "description": "Get a status transition rule object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this status transition rule.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/StatusTransitionRule" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_status_transition_rules_update", - "description": "Put a status transition rule object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this status transition rule.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/StatusTransitionRuleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/StatusTransitionRuleRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/StatusTransitionRule" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_status_transition_rules_partial_update", - "description": "Patch a status transition rule object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this status transition rule.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedStatusTransitionRuleRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedStatusTransitionRuleRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/StatusTransitionRule" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_status_transition_rules_destroy", - "description": "Delete a status transition rule object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this status transition rule.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/status-transition-rules/status-choices/": { - "get": { - "operationId": "plugins_asset_lifecycle_status_transition_rules_status_choices_retrieve", - "description": "Return valid status choices for a supported object type.", - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/StatusTransitionRule" - } - } - }, - "description": "" - } - } - } - }, - "/api/plugins/asset-lifecycle/vendor-accounts/": { - "get": { - "operationId": "plugins_asset_lifecycle_vendor_accounts_list", - "description": "Get a list of vendor account objects.", - "parameters": [ - { - "in": "query", - "name": "account_number", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "account_number__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "account_number__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "vendor_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "vendor_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedVendorAccountList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_vendor_accounts_create", - "description": "Post a list of vendor account objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/VendorAccountRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorAccountRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/VendorAccountRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorAccountRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VendorAccount" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_vendor_accounts_bulk_update", - "description": "Put a list of vendor account objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorAccountRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorAccountRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorAccount" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_vendor_accounts_bulk_partial_update", - "description": "Patch a list of vendor account objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorAccountRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorAccountRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorAccount" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_vendor_accounts_bulk_destroy", - "description": "Delete a list of vendor account objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorAccountRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorAccountRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/vendor-accounts/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_vendor_accounts_retrieve", - "description": "Get a vendor account object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this vendor account.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VendorAccount" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_vendor_accounts_update", - "description": "Put a vendor account object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this vendor account.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VendorAccountRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/VendorAccountRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VendorAccount" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_vendor_accounts_partial_update", - "description": "Patch a vendor account object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this vendor account.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedVendorAccountRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedVendorAccountRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VendorAccount" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_vendor_accounts_destroy", - "description": "Delete a vendor account object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this vendor account.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/vendors/": { - "get": { - "operationId": "plugins_asset_lifecycle_vendors_list", - "description": "Get a list of vendor objects.", - "parameters": [ - { - "in": "query", - "name": "code", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "code__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "code__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "created_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "description", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "description__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "description__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "id__gt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__gte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lt", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__lte", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "id__n", - "schema": { - "type": "array", - "items": { - "type": "integer", - "format": "int32" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__empty", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__gte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lt", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__lte", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "last_updated__n", - "schema": { - "type": "array", - "items": { - "type": "string", - "format": "date-time" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "limit", - "required": false, - "in": "query", - "description": "Number of results to return per page.", - "schema": { - "type": "integer" - } - }, - { - "in": "query", - "name": "modified_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - }, - { - "in": "query", - "name": "name", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__empty", - "schema": { - "type": "boolean" - } - }, - { - "in": "query", - "name": "name__ic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__ie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__iregex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__isw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nic", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nie", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__niew", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__nisw", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "name__regex", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "name": "offset", - "required": false, - "in": "query", - "description": "The initial index from which to return the results.", - "schema": { - "type": "integer" - } - }, - { - "name": "ordering", - "required": false, - "in": "query", - "description": "Which field to use when ordering the results.", - "schema": { - "type": "string" - } - }, - { - "in": "query", - "name": "q", - "schema": { - "type": "string" - }, - "description": "Search" - }, - { - "in": "query", - "name": "tag", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag__n", - "schema": { - "type": "array", - "items": { - "type": "string" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "tag_id__n", - "schema": { - "type": "array", - "items": { - "type": "integer" - } - }, - "explode": true, - "style": "form" - }, - { - "in": "query", - "name": "updated_by_request", - "schema": { - "type": "string", - "format": "uuid" - } - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PaginatedVendorList" - } - } - }, - "description": "" - } - } - }, - "post": { - "operationId": "plugins_asset_lifecycle_vendors_create", - "description": "Post a list of vendor objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/VendorRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorRequest" - } - } - ] - } - }, - "multipart/form-data": { - "schema": { - "oneOf": [ - { - "$ref": "#/components/schemas/VendorRequest" - }, - { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorRequest" - } - } - ] - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "201": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Vendor" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_vendors_bulk_update", - "description": "Put a list of vendor objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Vendor" - } - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_vendors_bulk_partial_update", - "description": "Patch a list of vendor objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Vendor" - } - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_vendors_bulk_destroy", - "description": "Delete a list of vendor objects.", - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorRequest" - } - } - }, - "multipart/form-data": { - "schema": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorRequest" - } - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, - "/api/plugins/asset-lifecycle/vendors/{id}/": { - "get": { - "operationId": "plugins_asset_lifecycle_vendors_retrieve", - "description": "Get a vendor object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this vendor.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Vendor" - } - } - }, - "description": "" - } - } - }, - "put": { - "operationId": "plugins_asset_lifecycle_vendors_update", - "description": "Put a vendor object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this vendor.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/VendorRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/VendorRequest" - } - } - }, - "required": true - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Vendor" - } - } - }, - "description": "" - } - } - }, - "patch": { - "operationId": "plugins_asset_lifecycle_vendors_partial_update", - "description": "Patch a vendor object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this vendor.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "requestBody": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/PatchedVendorRequest" - } - }, - "multipart/form-data": { - "schema": { - "$ref": "#/components/schemas/PatchedVendorRequest" - } - } - } - }, - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "200": { - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/Vendor" - } - } - }, - "description": "" - } - } - }, - "delete": { - "operationId": "plugins_asset_lifecycle_vendors_destroy", - "description": "Delete a vendor object.", - "parameters": [ - { - "in": "path", - "name": "id", - "schema": { - "type": "integer" - }, - "description": "A unique integer value identifying this vendor.", - "required": true - } - ], - "tags": [ - "plugins" - ], - "security": [ - { - "cookieAuth": [] - }, - { - "tokenAuth": [] - } - ], - "responses": { - "204": { - "description": "No response body" - } - } - } - }, "/api/schema/": { "get": { "operationId": "schema_retrieve", @@ -241679,476 +223421,6 @@ "vid" ] }, - "BOM": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "draft", - "approved", - "ordered", - "fulfilled", - "cancelled" - ], - "type": "string", - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled", - "x-spec-enum-id": "723ea797352271c7" - }, - "label": { - "type": "string", - "enum": [ - "Draft", - "Approved", - "Ordered", - "Fulfilled", - "Cancelled" - ] - } - } - }, - "last_generated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "is_current": { - "type": "boolean", - "readOnly": true, - "title": "Current", - "description": "Cleared when a scope rule is added, changed, or removed; restored on regeneration." - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "id", - "is_current", - "last_updated", - "name", - "status", - "url" - ] - }, - "BOMLineItem": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "bom": { - "$ref": "#/components/schemas/BriefBOM" - }, - "auto_generated": { - "type": "boolean", - "readOnly": true, - "description": "Indicates that this line item was created by regenerating the BOM" - }, - "quantity": { - "type": "integer", - "maximum": 32767, - "minimum": 1 - }, - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "object": { - "readOnly": true, - "nullable": true - }, - "variant": { - "nullable": true - } - }, - "required": [ - "auto_generated", - "bom", - "display", - "id", - "object", - "object_id", - "object_type", - "url" - ] - }, - "BOMLineItemRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "bom": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMRequest" - } - ] - }, - "quantity": { - "type": "integer", - "maximum": 32767, - "minimum": 1 - }, - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "variant": { - "nullable": true - } - }, - "required": [ - "bom", - "object_id", - "object_type" - ] - }, - "BOMObject": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "bom": { - "$ref": "#/components/schemas/BriefBOM" - }, - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "object": { - "readOnly": true, - "nullable": true - } - }, - "required": [ - "bom", - "display", - "id", - "object", - "object_id", - "object_type", - "url" - ] - }, - "BOMObjectRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "bom": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMRequest" - } - ] - }, - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - } - }, - "required": [ - "bom", - "object_id", - "object_type" - ] - }, - "BOMRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "status": { - "enum": [ - "draft", - "approved", - "ordered", - "fulfilled", - "cancelled" - ], - "type": "string", - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled", - "x-spec-enum-id": "723ea797352271c7" - }, - "last_generated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name", - "status" - ] - }, - "BOMScopeRule": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "bom": { - "$ref": "#/components/schemas/BriefBOM" - }, - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "enabled": { - "type": "boolean", - "description": "If not checked, this rule will be ignored when generating the BOM." - }, - "action": { - "type": "object", - "properties": { - "value": { - "enum": [ - "include", - "exclude" - ], - "type": "string", - "description": "* `include` - Include\n* `exclude` - Exclude", - "x-spec-enum-id": "a49ba53d958c43ee" - }, - "label": { - "type": "string", - "enum": [ - "Include", - "Exclude" - ] - } - } - }, - "parameters": {}, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "action", - "bom", - "created", - "display", - "id", - "last_updated", - "object_types", - "url" - ] - }, - "BOMScopeRuleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "bom": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMRequest" - } - ] - }, - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "enabled": { - "type": "boolean", - "description": "If not checked, this rule will be ignored when generating the BOM." - }, - "action": { - "enum": [ - "include", - "exclude" - ], - "type": "string", - "description": "* `include` - Include\n* `exclude` - Exclude", - "x-spec-enum-id": "a49ba53d958c43ee" - }, - "parameters": {}, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "action", - "bom", - "object_types" - ] - }, "BackgroundTask": { "type": "object", "properties": { @@ -242464,148 +223736,6 @@ "user" ] }, - "BriefBOM": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "draft", - "approved", - "ordered", - "fulfilled", - "cancelled" - ], - "type": "string", - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled", - "x-spec-enum-id": "723ea797352271c7" - }, - "label": { - "type": "string", - "enum": [ - "Draft", - "Approved", - "Ordered", - "Fulfilled", - "Cancelled" - ] - } - } - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "status", - "url" - ] - }, - "BriefBOMLineItem": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "quantity": { - "type": "integer", - "maximum": 32767, - "minimum": 1 - }, - "object_type": { - "type": "string" - } - }, - "required": [ - "display", - "id", - "object_type", - "url" - ] - }, - "BriefBOMLineItemRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "quantity": { - "type": "integer", - "maximum": 32767, - "minimum": 1 - }, - "object_type": { - "type": "string" - } - }, - "required": [ - "object_type" - ] - }, - "BriefBOMRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "status": { - "enum": [ - "draft", - "approved", - "ordered", - "fulfilled", - "cancelled" - ], - "type": "string", - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled", - "x-spec-enum-id": "723ea797352271c7" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name", - "status" - ] - }, "BriefCable": { "type": "object", "description": "Base serializer class for models inheriting from PrimaryModel.", @@ -243334,137 +224464,6 @@ "slug" ] }, - "BriefCourier": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Full name of the courier", - "maxLength": 100 - }, - "code": { - "type": "string", - "description": "Internal courier code", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "BriefCourierAccount": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "courier": { - "$ref": "#/components/schemas/BriefCourier" - }, - "account_number": { - "type": "string", - "description": "Account number with the courier", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "account_number", - "courier", - "display", - "id", - "url" - ] - }, - "BriefCourierAccountRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "courier": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefCourierRequest" - } - ] - }, - "account_number": { - "type": "string", - "minLength": 1, - "description": "Account number with the courier", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "account_number", - "courier" - ] - }, - "BriefCourierRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "Full name of the courier", - "maxLength": 100 - }, - "code": { - "type": "string", - "description": "Internal courier code", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, "BriefCustomFieldChoiceSet": { "type": "object", "description": "Adds an `owner` field for models which have a ForeignKey to users.Owner.", @@ -245492,140 +226491,6 @@ "slug" ] }, - "BriefPurchaseOrder": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "vendor": { - "$ref": "#/components/schemas/BriefVendor" - }, - "vendor_account": { - "$ref": "#/components/schemas/BriefVendorAccount" - }, - "bom": { - "$ref": "#/components/schemas/BriefBOM" - }, - "order_id": { - "type": "string", - "description": "Order ID with the vendor" - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "draft", - "approved", - "ordered", - "fulfilled", - "cancelled" - ], - "type": "string", - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled", - "x-spec-enum-id": "723ea797352271c7" - }, - "label": { - "type": "string", - "enum": [ - "Draft", - "Approved", - "Ordered", - "Fulfilled", - "Cancelled" - ] - } - } - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "bom", - "display", - "id", - "status", - "url", - "vendor", - "vendor_account" - ] - }, - "BriefPurchaseOrderRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "vendor": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVendorRequest" - } - ] - }, - "vendor_account": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVendorAccountRequest" - } - ] - }, - "bom": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMRequest" - } - ] - }, - "order_id": { - "type": "string", - "description": "Order ID with the vendor" - }, - "status": { - "enum": [ - "draft", - "approved", - "ordered", - "fulfilled", - "cancelled" - ], - "type": "string", - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled", - "x-spec-enum-id": "723ea797352271c7" - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "bom", - "status", - "vendor", - "vendor_account" - ] - }, "BriefRIR": { "type": "object", "description": "Base serializer class for models inheriting from OrganizationalModel.", @@ -246059,115 +226924,6 @@ "slug" ] }, - "BriefShipment": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "purchase_order": { - "$ref": "#/components/schemas/BriefPurchaseOrder" - }, - "courier": { - "$ref": "#/components/schemas/BriefCourier" - }, - "courier_account": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCourierAccount" - } - ], - "nullable": true - }, - "tracking_number": { - "type": "string", - "description": "Tracking number provided by the courier", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "courier", - "courier_account", - "display", - "id", - "purchase_order", - "tracking_number", - "url" - ] - }, - "BriefShipmentRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "purchase_order": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefPurchaseOrderRequest" - } - ] - }, - "courier": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefCourierRequest" - } - ] - }, - "courier_account": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCourierAccountRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tracking_number": { - "type": "string", - "minLength": 1, - "description": "Tracking number provided by the courier", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "courier", - "courier_account", - "purchase_order", - "tracking_number" - ] - }, "BriefSite": { "type": "object", "description": "Base serializer class for models inheriting from PrimaryModel.", @@ -246310,57 +227066,6 @@ "slug" ] }, - "BriefSparesPool": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "BriefSparesPoolRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, "BriefTag": { "type": "object", "description": "Adds an `owner` field for models which have a ForeignKey to users.Owner.", @@ -246972,127 +227677,6 @@ "name" ] }, - "BriefVendor": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Full name of the vendor", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "display", - "id", - "name", - "url" - ] - }, - "BriefVendorAccount": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "vendor": { - "$ref": "#/components/schemas/BriefVendor" - }, - "account_number": { - "type": "string", - "description": "Account number with the vendor", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "account_number", - "display", - "id", - "url", - "vendor" - ] - }, - "BriefVendorAccountRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "vendor": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVendorRequest" - } - ] - }, - "account_number": { - "type": "string", - "minLength": 1, - "description": "Account number with the vendor", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "account_number", - "vendor" - ] - }, - "BriefVendorRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "Full name of the vendor", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - } - }, - "required": [ - "name" - ] - }, "BriefVirtualChassis": { "type": "object", "description": "Base serializer class for models inheriting from PrimaryModel.", @@ -247977,234 +228561,6 @@ "url" ] }, - "CableType": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "type": { - "enum": [ - "cat3", - "cat5", - "cat5e", - "cat6", - "cat6a", - "cat7", - "cat7a", - "cat8", - "mrj21-trunk", - "dac-active", - "dac-passive", - "coaxial", - "rg-6", - "rg-8", - "rg-11", - "rg-59", - "rg-62", - "rg-213", - "lmr-100", - "lmr-200", - "lmr-400", - "mmf", - "mmf-om1", - "mmf-om2", - "mmf-om3", - "mmf-om4", - "mmf-om5", - "smf", - "smf-os1", - "smf-os2", - "aoc", - "power", - "usb" - ], - "type": "string", - "description": "* `cat3` - CAT3\n* `cat5` - CAT5\n* `cat5e` - CAT5e\n* `cat6` - CAT6\n* `cat6a` - CAT6a\n* `cat7` - CAT7\n* `cat7a` - CAT7a\n* `cat8` - CAT8\n* `mrj21-trunk` - MRJ21 Trunk\n* `dac-active` - Direct Attach Copper (Active)\n* `dac-passive` - Direct Attach Copper (Passive)\n* `coaxial` - Coaxial\n* `rg-6` - RG-6\n* `rg-8` - RG-8\n* `rg-11` - RG-11\n* `rg-59` - RG-59\n* `rg-62` - RG-62\n* `rg-213` - RG-213\n* `lmr-100` - LMR-100\n* `lmr-200` - LMR-200\n* `lmr-400` - LMR-400\n* `mmf` - Multimode Fiber\n* `mmf-om1` - Multimode Fiber (OM1)\n* `mmf-om2` - Multimode Fiber (OM2)\n* `mmf-om3` - Multimode Fiber (OM3)\n* `mmf-om4` - Multimode Fiber (OM4)\n* `mmf-om5` - Multimode Fiber (OM5)\n* `smf` - Single-mode Fiber\n* `smf-os1` - Single-mode Fiber (OS1)\n* `smf-os2` - Single-mode Fiber (OS2)\n* `aoc` - Active Optical Cabling (AOC)\n* `power` - Power\n* `usb` - USB", - "x-spec-enum-id": "3d4d8d7ae24f7be8" - }, - "profile": { - "enum": [ - "single-1c1p", - "single-1c2p", - "single-1c4p", - "single-1c6p", - "single-1c8p", - "single-1c12p", - "single-1c16p", - "trunk-2c1p", - "trunk-2c2p", - "trunk-2c4p", - "trunk-2c4p-shuffle", - "trunk-2c6p", - "trunk-2c8p", - "trunk-2c12p", - "trunk-4c1p", - "trunk-4c2p", - "trunk-4c4p", - "trunk-4c4p-shuffle", - "trunk-4c6p", - "trunk-4c8p", - "trunk-8c4p", - "breakout-1c2p-2c1p", - "breakout-1c4p-4c1p", - "breakout-1c6p-6c1p", - "breakout-2c4p-8c1p-shuffle", - "" - ], - "type": "string", - "description": "* `single-1c1p` - 1C1P\n* `single-1c2p` - 1C2P\n* `single-1c4p` - 1C4P\n* `single-1c6p` - 1C6P\n* `single-1c8p` - 1C8P\n* `single-1c12p` - 1C12P\n* `single-1c16p` - 1C16P\n* `trunk-2c1p` - 2C1P trunk\n* `trunk-2c2p` - 2C2P trunk\n* `trunk-2c4p` - 2C4P trunk\n* `trunk-2c4p-shuffle` - 2C4P trunk (shuffle)\n* `trunk-2c6p` - 2C6P trunk\n* `trunk-2c8p` - 2C8P trunk\n* `trunk-2c12p` - 2C12P trunk\n* `trunk-4c1p` - 4C1P trunk\n* `trunk-4c2p` - 4C2P trunk\n* `trunk-4c4p` - 4C4P trunk\n* `trunk-4c4p-shuffle` - 4C4P trunk (shuffle)\n* `trunk-4c6p` - 4C6P trunk\n* `trunk-4c8p` - 4C8P trunk\n* `trunk-8c4p` - 8C4P trunk\n* `breakout-1c2p-2c1p` - 1C2P:2C1P breakout\n* `breakout-1c4p-4c1p` - 1C4P:4C1P breakout\n* `breakout-1c6p-6c1p` - 1C6P:6C1P breakout\n* `breakout-2c4p-8c1p-shuffle` - 2C4P:8C1P breakout (shuffle)", - "x-spec-enum-id": "f566e6df6572f5d0" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "id", - "last_updated", - "type", - "url" - ] - }, - "CableTypeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "type": { - "enum": [ - "cat3", - "cat5", - "cat5e", - "cat6", - "cat6a", - "cat7", - "cat7a", - "cat8", - "mrj21-trunk", - "dac-active", - "dac-passive", - "coaxial", - "rg-6", - "rg-8", - "rg-11", - "rg-59", - "rg-62", - "rg-213", - "lmr-100", - "lmr-200", - "lmr-400", - "mmf", - "mmf-om1", - "mmf-om2", - "mmf-om3", - "mmf-om4", - "mmf-om5", - "smf", - "smf-os1", - "smf-os2", - "aoc", - "power", - "usb" - ], - "type": "string", - "description": "* `cat3` - CAT3\n* `cat5` - CAT5\n* `cat5e` - CAT5e\n* `cat6` - CAT6\n* `cat6a` - CAT6a\n* `cat7` - CAT7\n* `cat7a` - CAT7a\n* `cat8` - CAT8\n* `mrj21-trunk` - MRJ21 Trunk\n* `dac-active` - Direct Attach Copper (Active)\n* `dac-passive` - Direct Attach Copper (Passive)\n* `coaxial` - Coaxial\n* `rg-6` - RG-6\n* `rg-8` - RG-8\n* `rg-11` - RG-11\n* `rg-59` - RG-59\n* `rg-62` - RG-62\n* `rg-213` - RG-213\n* `lmr-100` - LMR-100\n* `lmr-200` - LMR-200\n* `lmr-400` - LMR-400\n* `mmf` - Multimode Fiber\n* `mmf-om1` - Multimode Fiber (OM1)\n* `mmf-om2` - Multimode Fiber (OM2)\n* `mmf-om3` - Multimode Fiber (OM3)\n* `mmf-om4` - Multimode Fiber (OM4)\n* `mmf-om5` - Multimode Fiber (OM5)\n* `smf` - Single-mode Fiber\n* `smf-os1` - Single-mode Fiber (OS1)\n* `smf-os2` - Single-mode Fiber (OS2)\n* `aoc` - Active Optical Cabling (AOC)\n* `power` - Power\n* `usb` - USB", - "x-spec-enum-id": "3d4d8d7ae24f7be8" - }, - "profile": { - "enum": [ - "single-1c1p", - "single-1c2p", - "single-1c4p", - "single-1c6p", - "single-1c8p", - "single-1c12p", - "single-1c16p", - "trunk-2c1p", - "trunk-2c2p", - "trunk-2c4p", - "trunk-2c4p-shuffle", - "trunk-2c6p", - "trunk-2c8p", - "trunk-2c12p", - "trunk-4c1p", - "trunk-4c2p", - "trunk-4c4p", - "trunk-4c4p-shuffle", - "trunk-4c6p", - "trunk-4c8p", - "trunk-8c4p", - "breakout-1c2p-2c1p", - "breakout-1c4p-4c1p", - "breakout-1c6p-6c1p", - "breakout-2c4p-8c1p-shuffle", - "" - ], - "type": "string", - "description": "* `single-1c1p` - 1C1P\n* `single-1c2p` - 1C2P\n* `single-1c4p` - 1C4P\n* `single-1c6p` - 1C6P\n* `single-1c8p` - 1C8P\n* `single-1c12p` - 1C12P\n* `single-1c16p` - 1C16P\n* `trunk-2c1p` - 2C1P trunk\n* `trunk-2c2p` - 2C2P trunk\n* `trunk-2c4p` - 2C4P trunk\n* `trunk-2c4p-shuffle` - 2C4P trunk (shuffle)\n* `trunk-2c6p` - 2C6P trunk\n* `trunk-2c8p` - 2C8P trunk\n* `trunk-2c12p` - 2C12P trunk\n* `trunk-4c1p` - 4C1P trunk\n* `trunk-4c2p` - 4C2P trunk\n* `trunk-4c4p` - 4C4P trunk\n* `trunk-4c4p-shuffle` - 4C4P trunk (shuffle)\n* `trunk-4c6p` - 4C6P trunk\n* `trunk-4c8p` - 4C8P trunk\n* `trunk-8c4p` - 8C4P trunk\n* `breakout-1c2p-2c1p` - 1C2P:2C1P breakout\n* `breakout-1c4p-4c1p` - 1C4P:4C1P breakout\n* `breakout-1c6p-6c1p` - 1C6P:6C1P breakout\n* `breakout-2c4p-8c1p-shuffle` - 2C4P:8C1P breakout (shuffle)", - "x-spec-enum-id": "f566e6df6572f5d0" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "type" - ] - }, "Circuit": { "type": "object", "description": "Base serializer class for models inheriting from PrimaryModel.", @@ -249092,8 +229448,16 @@ "nullable": true }, "cable_end": { + "enum": [ + "A", + "B", + null + ], "type": "string", - "readOnly": true + "description": "* `A` - A\n* `B` - B", + "x-spec-enum-id": "1db84f9b93b261c8", + "readOnly": true, + "nullable": true }, "link_peers": { "type": "array", @@ -250765,8 +231129,16 @@ "nullable": true }, "cable_end": { + "enum": [ + "A", + "B", + null + ], "type": "string", - "readOnly": true + "description": "* `A` - A\n* `B` - B", + "x-spec-enum-id": "1db84f9b93b261c8", + "readOnly": true, + "nullable": true }, "link_peers": { "type": "array", @@ -251308,8 +231680,16 @@ "nullable": true }, "cable_end": { + "enum": [ + "A", + "B", + null + ], "type": "string", - "readOnly": true + "description": "* `A` - A\n* `B` - B", + "x-spec-enum-id": "1db84f9b93b261c8", + "readOnly": true, + "nullable": true }, "link_peers": { "type": "array", @@ -252351,229 +232731,6 @@ "slug" ] }, - "Courier": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Full name of the courier", - "maxLength": 100 - }, - "code": { - "type": "string", - "description": "Internal courier code", - "maxLength": 100 - }, - "tracking_url": { - "type": "string", - "format": "uri", - "description": "Tracking numbers will be linked using this URL", - "maxLength": 200 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "id", - "last_updated", - "name", - "url" - ] - }, - "CourierAccount": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "courier": { - "$ref": "#/components/schemas/BriefCourier" - }, - "account_number": { - "type": "string", - "description": "Account number with the courier", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "account_number", - "courier", - "created", - "display", - "id", - "last_updated", - "url" - ] - }, - "CourierAccountRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "courier": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefCourierRequest" - } - ] - }, - "account_number": { - "type": "string", - "minLength": 1, - "description": "Account number with the courier", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "account_number", - "courier" - ] - }, - "CourierRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "Full name of the courier", - "maxLength": 100 - }, - "code": { - "type": "string", - "description": "Internal courier code", - "maxLength": 100 - }, - "tracking_url": { - "type": "string", - "format": "uri", - "description": "Tracking numbers will be linked using this URL", - "maxLength": 200 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name" - ] - }, "CreateAvailableVLANRequest": { "type": "object", "description": "Adds support for custom fields and tags.", @@ -256791,8 +236948,16 @@ "nullable": true }, "cable_end": { + "enum": [ + "A", + "B", + null + ], "type": "string", - "readOnly": true + "description": "* `A` - A\n* `B` - B", + "x-spec-enum-id": "1db84f9b93b261c8", + "readOnly": true, + "nullable": true }, "link_peers": { "type": "array", @@ -260733,8 +240898,16 @@ "nullable": true }, "cable_end": { + "enum": [ + "A", + "B", + null + ], "type": "string", - "readOnly": true + "description": "* `A` - A\n* `B` - B", + "x-spec-enum-id": "1db84f9b93b261c8", + "readOnly": true, + "nullable": true }, "wireless_link": { "allOf": [ @@ -267318,111 +247491,6 @@ "name" ] }, - "POLineItem": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "purchase_order": { - "$ref": "#/components/schemas/BriefPurchaseOrder" - }, - "bom_line_item": { - "$ref": "#/components/schemas/BriefBOMLineItem" - }, - "qty_ordered": { - "type": "integer", - "maximum": 32767, - "minimum": 1, - "title": "Quantity ordered" - }, - "unit_price": { - "type": "number", - "format": "double", - "maximum": 100000000, - "minimum": -100000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - }, - "total_price": { - "type": "number", - "format": "double", - "maximum": 10000000000, - "minimum": -10000000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "readOnly": true, - "nullable": true - } - }, - "required": [ - "bom_line_item", - "display", - "id", - "purchase_order", - "qty_ordered", - "total_price", - "url" - ] - }, - "POLineItemRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "purchase_order": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefPurchaseOrderRequest" - } - ] - }, - "bom_line_item": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMLineItemRequest" - } - ] - }, - "qty_ordered": { - "type": "integer", - "maximum": 32767, - "minimum": 1, - "title": "Quantity ordered" - }, - "unit_price": { - "type": "number", - "format": "double", - "maximum": 100000000, - "minimum": -100000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - } - }, - "required": [ - "bom_line_item", - "purchase_order", - "qty_ordered" - ] - }, "PaginatedASNList": { "type": "object", "required": [ @@ -267516,130 +247584,6 @@ } } }, - "PaginatedBOMLineItemList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMLineItem" - } - } - } - }, - "PaginatedBOMList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOM" - } - } - } - }, - "PaginatedBOMObjectList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMObject" - } - } - } - }, - "PaginatedBOMScopeRuleList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/BOMScopeRule" - } - } - } - }, "PaginatedBookmarkList": { "type": "object", "required": [ @@ -267733,37 +247677,6 @@ } } }, - "PaginatedCableTypeList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CableType" - } - } - } - }, "PaginatedCircuitGroupAssignmentList": { "type": "object", "required": [ @@ -268353,68 +248266,6 @@ } } }, - "PaginatedCourierAccountList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/CourierAccount" - } - } - } - }, - "PaginatedCourierList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Courier" - } - } - } - }, "PaginatedCustomFieldChoiceSetList": { "type": "object", "required": [ @@ -269934,37 +249785,6 @@ } } }, - "PaginatedPOLineItemList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/POLineItem" - } - } - } - }, "PaginatedPlatformList": { "type": "object", "required": [ @@ -270306,37 +250126,6 @@ } } }, - "PaginatedPurchaseOrderList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/PurchaseOrder" - } - } - } - }, "PaginatedRIRList": { "type": "object", "required": [ @@ -270802,68 +250591,6 @@ } } }, - "PaginatedShipmentLineItemList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/ShipmentLineItem" - } - } - } - }, - "PaginatedShipmentList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Shipment" - } - } - } - }, "PaginatedSiteGroupList": { "type": "object", "required": [ @@ -270926,99 +250653,6 @@ } } }, - "PaginatedSpareItemList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SpareItem" - } - } - } - }, - "PaginatedSparesPoolList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/SparesPool" - } - } - } - }, - "PaginatedStatusTransitionRuleList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/StatusTransitionRule" - } - } - } - }, "PaginatedSubscriptionList": { "type": "object", "required": [ @@ -271546,68 +251180,6 @@ } } }, - "PaginatedVendorAccountList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/VendorAccount" - } - } - } - }, - "PaginatedVendorList": { - "type": "object", - "required": [ - "count", - "results" - ], - "properties": { - "count": { - "type": "integer", - "example": 123 - }, - "next": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=400&limit=100" - }, - "previous": { - "type": "string", - "nullable": true, - "format": "uri", - "example": "http://api.example.org/accounts/?offset=200&limit=100" - }, - "results": { - "type": "array", - "items": { - "$ref": "#/components/schemas/Vendor" - } - } - } - }, "PaginatedVirtualChassisList": { "type": "object", "required": [ @@ -272121,64 +251693,6 @@ } } }, - "PatchedBOMLineItemRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "bom": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMRequest" - } - ] - }, - "quantity": { - "type": "integer", - "maximum": 32767, - "minimum": 1 - }, - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "variant": { - "nullable": true - } - } - }, - "PatchedBOMObjectRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "bom": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMRequest" - } - ] - }, - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - } - } - }, "PatchedBookmarkRequest": { "type": "object", "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", @@ -272204,102 +251718,6 @@ } } }, - "PatchedCableTypeRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "type": { - "enum": [ - "cat3", - "cat5", - "cat5e", - "cat6", - "cat6a", - "cat7", - "cat7a", - "cat8", - "mrj21-trunk", - "dac-active", - "dac-passive", - "coaxial", - "rg-6", - "rg-8", - "rg-11", - "rg-59", - "rg-62", - "rg-213", - "lmr-100", - "lmr-200", - "lmr-400", - "mmf", - "mmf-om1", - "mmf-om2", - "mmf-om3", - "mmf-om4", - "mmf-om5", - "smf", - "smf-os1", - "smf-os2", - "aoc", - "power", - "usb" - ], - "type": "string", - "description": "* `cat3` - CAT3\n* `cat5` - CAT5\n* `cat5e` - CAT5e\n* `cat6` - CAT6\n* `cat6a` - CAT6a\n* `cat7` - CAT7\n* `cat7a` - CAT7a\n* `cat8` - CAT8\n* `mrj21-trunk` - MRJ21 Trunk\n* `dac-active` - Direct Attach Copper (Active)\n* `dac-passive` - Direct Attach Copper (Passive)\n* `coaxial` - Coaxial\n* `rg-6` - RG-6\n* `rg-8` - RG-8\n* `rg-11` - RG-11\n* `rg-59` - RG-59\n* `rg-62` - RG-62\n* `rg-213` - RG-213\n* `lmr-100` - LMR-100\n* `lmr-200` - LMR-200\n* `lmr-400` - LMR-400\n* `mmf` - Multimode Fiber\n* `mmf-om1` - Multimode Fiber (OM1)\n* `mmf-om2` - Multimode Fiber (OM2)\n* `mmf-om3` - Multimode Fiber (OM3)\n* `mmf-om4` - Multimode Fiber (OM4)\n* `mmf-om5` - Multimode Fiber (OM5)\n* `smf` - Single-mode Fiber\n* `smf-os1` - Single-mode Fiber (OS1)\n* `smf-os2` - Single-mode Fiber (OS2)\n* `aoc` - Active Optical Cabling (AOC)\n* `power` - Power\n* `usb` - USB", - "x-spec-enum-id": "3d4d8d7ae24f7be8" - }, - "profile": { - "enum": [ - "single-1c1p", - "single-1c2p", - "single-1c4p", - "single-1c6p", - "single-1c8p", - "single-1c12p", - "single-1c16p", - "trunk-2c1p", - "trunk-2c2p", - "trunk-2c4p", - "trunk-2c4p-shuffle", - "trunk-2c6p", - "trunk-2c8p", - "trunk-2c12p", - "trunk-4c1p", - "trunk-4c2p", - "trunk-4c4p", - "trunk-4c4p-shuffle", - "trunk-4c6p", - "trunk-4c8p", - "trunk-8c4p", - "breakout-1c2p-2c1p", - "breakout-1c4p-4c1p", - "breakout-1c6p-6c1p", - "breakout-2c4p-8c1p-shuffle", - "" - ], - "type": "string", - "description": "* `single-1c1p` - 1C1P\n* `single-1c2p` - 1C2P\n* `single-1c4p` - 1C4P\n* `single-1c6p` - 1C6P\n* `single-1c8p` - 1C8P\n* `single-1c12p` - 1C12P\n* `single-1c16p` - 1C16P\n* `trunk-2c1p` - 2C1P trunk\n* `trunk-2c2p` - 2C2P trunk\n* `trunk-2c4p` - 2C4P trunk\n* `trunk-2c4p-shuffle` - 2C4P trunk (shuffle)\n* `trunk-2c6p` - 2C6P trunk\n* `trunk-2c8p` - 2C8P trunk\n* `trunk-2c12p` - 2C12P trunk\n* `trunk-4c1p` - 4C1P trunk\n* `trunk-4c2p` - 4C2P trunk\n* `trunk-4c4p` - 4C4P trunk\n* `trunk-4c4p-shuffle` - 4C4P trunk (shuffle)\n* `trunk-4c6p` - 4C6P trunk\n* `trunk-4c8p` - 4C8P trunk\n* `trunk-8c4p` - 8C4P trunk\n* `breakout-1c2p-2c1p` - 1C2P:2C1P breakout\n* `breakout-1c4p-4c1p` - 1C4P:4C1P breakout\n* `breakout-1c6p-6c1p` - 1C6P:6C1P breakout\n* `breakout-2c4p-8c1p-shuffle` - 2C4P:8C1P breakout (shuffle)", - "x-spec-enum-id": "f566e6df6572f5d0" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, "PatchedCircuitGroupRequest": { "type": "object", "description": "Base serializer class for models inheriting from OrganizationalModel.", @@ -273002,85 +252420,6 @@ } } }, - "PatchedCourierAccountRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "courier": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefCourierRequest" - } - ] - }, - "account_number": { - "type": "string", - "minLength": 1, - "description": "Account number with the courier", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedCourierRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "Full name of the courier", - "maxLength": 100 - }, - "code": { - "type": "string", - "description": "Internal courier code", - "maxLength": 100 - }, - "tracking_url": { - "type": "string", - "format": "uri", - "description": "Tracking numbers will be linked using this URL", - "maxLength": 200 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, "PatchedCustomLinkRequest": { "type": "object", "description": "Adds an `owner` field for models which have a ForeignKey to users.Owner.", @@ -274162,47 +253501,6 @@ } } }, - "PatchedPOLineItemRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "purchase_order": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefPurchaseOrderRequest" - } - ] - }, - "bom_line_item": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMLineItemRequest" - } - ] - }, - "qty_ordered": { - "type": "integer", - "maximum": 32767, - "minimum": 1, - "title": "Quantity ordered" - }, - "unit_price": { - "type": "number", - "format": "double", - "maximum": 100000000, - "minimum": -100000000, - "exclusiveMaximum": true, - "exclusiveMinimum": true, - "nullable": true - } - } - }, "PatchedPowerPanelRequest": { "type": "object", "description": "Base serializer class for models inheriting from PrimaryModel.", @@ -274758,139 +254056,6 @@ } } }, - "PatchedShipmentLineItemRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "shipment": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefShipmentRequest" - } - ] - }, - "bom_line_item": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMLineItemRequest" - } - ] - }, - "qty_shipped": { - "type": "integer", - "maximum": 32767, - "minimum": 1, - "title": "Quantity shipped" - }, - "qty_received": { - "type": "integer", - "maximum": 32767, - "minimum": 1, - "nullable": true, - "title": "Quantity received" - } - } - }, - "PatchedSparesPoolRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "site": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefSiteRequest" - } - ] - }, - "location": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefLocationRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedStatusTransitionRuleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "object_type": { - "type": "string" - }, - "from_status": { - "type": "string", - "minLength": 1, - "maxLength": 50 - }, - "to_status": { - "type": "string", - "minLength": 1, - "maxLength": 50 - }, - "allow_reverse": { - "type": "boolean", - "description": "If enabled, the transition is permitted in either direction." - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, "PatchedSubscriptionRequest": { "type": "object", "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", @@ -275469,79 +254634,6 @@ } } }, - "PatchedVendorAccountRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "vendor": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVendorRequest" - } - ] - }, - "account_number": { - "type": "string", - "minLength": 1, - "description": "Account number with the vendor", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedVendorRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "Full name of the vendor", - "maxLength": 100 - }, - "code": { - "type": "string", - "description": "Internal vendor code", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, "PatchedVirtualCircuitTypeRequest": { "type": "object", "description": "Base serializer class for models inheriting from OrganizationalModel.", @@ -275816,104 +254908,6 @@ } } }, - "PatchedWritableBOMRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "status": { - "enum": [ - "draft", - "approved", - "ordered", - "fulfilled", - "cancelled" - ], - "type": "string", - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled", - "x-spec-enum-id": "723ea797352271c7" - }, - "last_generated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, - "PatchedWritableBOMScopeRuleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "bom": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMRequest" - } - ] - }, - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "enabled": { - "type": "boolean", - "description": "If not checked, this rule will be ignored when generating the BOM." - }, - "action": { - "enum": [ - "include", - "exclude" - ], - "type": "string", - "description": "* `include` - Include\n* `exclude` - Exclude", - "x-spec-enum-id": "a49ba53d958c43ee" - }, - "parameters": {}, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, "PatchedWritableCableRequest": { "type": "object", "description": "Base serializer class for models inheriting from PrimaryModel.", @@ -281754,103 +260748,6 @@ } } }, - "PatchedWritablePurchaseOrderRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "vendor": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVendorRequest" - } - ] - }, - "vendor_account": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVendorAccountRequest" - } - ] - }, - "bom": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMRequest" - } - ] - }, - "order_id": { - "type": "string", - "description": "Order ID with the vendor" - }, - "status": { - "enum": [ - "draft", - "approved", - "ordered", - "fulfilled", - "cancelled" - ], - "type": "string", - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled", - "x-spec-enum-id": "723ea797352271c7" - }, - "currency": { - "enum": [ - "USD", - "EUR", - "GBP", - "JPY", - "CAD", - "AUD", - "CHF", - "CNY", - "HKD", - "SGD", - "INR", - "MXN", - "BRL", - "KRW", - "SEK", - "NOK", - "DKK", - "NZD", - "ZAR", - "AED", - "" - ], - "type": "string", - "x-spec-enum-id": "1a43388815798dc6", - "description": "Currency for line item pricing\n\n* `USD` - USD – US Dollar\n* `EUR` - EUR – Euro\n* `GBP` - GBP – British Pound\n* `JPY` - JPY – Japanese Yen\n* `CAD` - CAD – Canadian Dollar\n* `AUD` - AUD – Australian Dollar\n* `CHF` - CHF – Swiss Franc\n* `CNY` - CNY – Chinese Yuan\n* `HKD` - HKD – Hong Kong Dollar\n* `SGD` - SGD – Singapore Dollar\n* `INR` - INR – Indian Rupee\n* `MXN` - MXN – Mexican Peso\n* `BRL` - BRL – Brazilian Real\n* `KRW` - KRW – South Korean Won\n* `SEK` - SEK – Swedish Krona\n* `NOK` - NOK – Norwegian Krone\n* `DKK` - DKK – Danish Krone\n* `NZD` - NZD – New Zealand Dollar\n* `ZAR` - ZAR – South African Rand\n* `AED` - AED – UAE Dirham" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, "PatchedWritableRackRequest": { "type": "object", "description": "Base serializer class for models inheriting from PrimaryModel.", @@ -282882,131 +261779,6 @@ } } }, - "PatchedWritableShipmentRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "purchase_order": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefPurchaseOrderRequest" - } - ] - }, - "courier": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefCourierRequest" - } - ] - }, - "courier_account": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCourierAccountRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "site": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefSiteRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "location": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefLocationRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tracking_number": { - "type": "string", - "minLength": 1, - "description": "Tracking number provided by the courier", - "maxLength": 100 - }, - "status": { - "enum": [ - "prepared", - "shipped", - "received", - "cancelled", - "returned", - "lost" - ], - "type": "string", - "description": "* `prepared` - Prepared\n* `shipped` - Shipped\n* `received` - Received\n* `cancelled` - Cancelled\n* `returned` - Returned\n* `lost` - Lost", - "x-spec-enum-id": "90d5c62b9534fcda" - }, - "date_shipped": { - "type": "string", - "format": "date", - "nullable": true - }, - "date_expected": { - "type": "string", - "format": "date", - "nullable": true - }, - "date_received": { - "type": "string", - "format": "date", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, "PatchedWritableSiteGroupRequest": { "type": "object", "description": "Base serializer class for models inheriting from NestedGroupModel.", @@ -283214,78 +261986,6 @@ } } }, - "PatchedWritableSpareItemRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "pool": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefSparesPoolRequest" - } - ] - }, - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "variant": { - "nullable": true - }, - "status": { - "enum": [ - "serviceable", - "damaged", - "missing" - ], - "type": "string", - "description": "* `serviceable` - Serviceable\n* `damaged` - Damaged\n* `missing` - Missing", - "x-spec-enum-id": "800a019a62f1910f" - }, - "quantity": { - "type": "integer", - "maximum": 32767, - "minimum": 1 - }, - "serial": { - "type": "string", - "title": "Serial number", - "description": "Serial number assigned by the manufacturer", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag assigned by the organization", - "maxLength": 50 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - } - }, "PatchedWritableTenantGroupRequest": { "type": "object", "description": "Base serializer class for models inheriting from NestedGroupModel.", @@ -285126,8 +263826,16 @@ "nullable": true }, "cable_end": { + "enum": [ + "A", + "B", + null + ], "type": "string", - "readOnly": true + "description": "* `A` - A\n* `B` - B", + "x-spec-enum-id": "1db84f9b93b261c8", + "readOnly": true, + "nullable": true }, "link_peers": { "type": "array", @@ -285715,8 +264423,16 @@ "nullable": true }, "cable_end": { + "enum": [ + "A", + "B", + null + ], "type": "string", - "readOnly": true + "description": "* `A` - A\n* `B` - B", + "x-spec-enum-id": "1db84f9b93b261c8", + "readOnly": true, + "nullable": true }, "link_peers": { "type": "array", @@ -287033,8 +265749,16 @@ "nullable": true }, "cable_end": { + "enum": [ + "A", + "B", + null + ], "type": "string", - "readOnly": true + "description": "* `A` - A\n* `B` - B", + "x-spec-enum-id": "1db84f9b93b261c8", + "readOnly": true, + "nullable": true }, "link_peers": { "type": "array", @@ -288621,268 +267345,6 @@ "slug" ] }, - "PurchaseOrder": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "vendor": { - "$ref": "#/components/schemas/BriefVendor" - }, - "vendor_account": { - "$ref": "#/components/schemas/BriefVendorAccount" - }, - "bom": { - "$ref": "#/components/schemas/BriefBOM" - }, - "order_id": { - "type": "string", - "description": "Order ID with the vendor" - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "draft", - "approved", - "ordered", - "fulfilled", - "cancelled" - ], - "type": "string", - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled", - "x-spec-enum-id": "723ea797352271c7" - }, - "label": { - "type": "string", - "enum": [ - "Draft", - "Approved", - "Ordered", - "Fulfilled", - "Cancelled" - ] - } - } - }, - "currency": { - "type": "object", - "properties": { - "value": { - "enum": [ - "USD", - "EUR", - "GBP", - "JPY", - "CAD", - "AUD", - "CHF", - "CNY", - "HKD", - "SGD", - "INR", - "MXN", - "BRL", - "KRW", - "SEK", - "NOK", - "DKK", - "NZD", - "ZAR", - "AED", - "" - ], - "type": "string", - "description": "* `USD` - USD – US Dollar\n* `EUR` - EUR – Euro\n* `GBP` - GBP – British Pound\n* `JPY` - JPY – Japanese Yen\n* `CAD` - CAD – Canadian Dollar\n* `AUD` - AUD – Australian Dollar\n* `CHF` - CHF – Swiss Franc\n* `CNY` - CNY – Chinese Yuan\n* `HKD` - HKD – Hong Kong Dollar\n* `SGD` - SGD – Singapore Dollar\n* `INR` - INR – Indian Rupee\n* `MXN` - MXN – Mexican Peso\n* `BRL` - BRL – Brazilian Real\n* `KRW` - KRW – South Korean Won\n* `SEK` - SEK – Swedish Krona\n* `NOK` - NOK – Norwegian Krone\n* `DKK` - DKK – Danish Krone\n* `NZD` - NZD – New Zealand Dollar\n* `ZAR` - ZAR – South African Rand\n* `AED` - AED – UAE Dirham", - "x-spec-enum-id": "1a43388815798dc6" - }, - "label": { - "type": "string", - "enum": [ - "USD – US Dollar", - "EUR – Euro", - "GBP – British Pound", - "JPY – Japanese Yen", - "CAD – Canadian Dollar", - "AUD – Australian Dollar", - "CHF – Swiss Franc", - "CNY – Chinese Yuan", - "HKD – Hong Kong Dollar", - "SGD – Singapore Dollar", - "INR – Indian Rupee", - "MXN – Mexican Peso", - "BRL – Brazilian Real", - "KRW – South Korean Won", - "SEK – Swedish Krona", - "NOK – Norwegian Krone", - "DKK – Danish Krone", - "NZD – New Zealand Dollar", - "ZAR – South African Rand", - "AED – UAE Dirham" - ] - } - } - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "bom", - "created", - "currency", - "display", - "id", - "last_updated", - "status", - "url", - "vendor", - "vendor_account" - ] - }, - "PurchaseOrderRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "vendor": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVendorRequest" - } - ] - }, - "vendor_account": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVendorAccountRequest" - } - ] - }, - "bom": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMRequest" - } - ] - }, - "order_id": { - "type": "string", - "description": "Order ID with the vendor" - }, - "status": { - "enum": [ - "draft", - "approved", - "ordered", - "fulfilled", - "cancelled" - ], - "type": "string", - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled", - "x-spec-enum-id": "723ea797352271c7" - }, - "currency": { - "enum": [ - "USD", - "EUR", - "GBP", - "JPY", - "CAD", - "AUD", - "CHF", - "CNY", - "HKD", - "SGD", - "INR", - "MXN", - "BRL", - "KRW", - "SEK", - "NOK", - "DKK", - "NZD", - "ZAR", - "AED", - "" - ], - "type": "string", - "description": "* `USD` - USD – US Dollar\n* `EUR` - EUR – Euro\n* `GBP` - GBP – British Pound\n* `JPY` - JPY – Japanese Yen\n* `CAD` - CAD – Canadian Dollar\n* `AUD` - AUD – Australian Dollar\n* `CHF` - CHF – Swiss Franc\n* `CNY` - CNY – Chinese Yuan\n* `HKD` - HKD – Hong Kong Dollar\n* `SGD` - SGD – Singapore Dollar\n* `INR` - INR – Indian Rupee\n* `MXN` - MXN – Mexican Peso\n* `BRL` - BRL – Brazilian Real\n* `KRW` - KRW – South Korean Won\n* `SEK` - SEK – Swedish Krona\n* `NOK` - NOK – Norwegian Krone\n* `DKK` - DKK – Danish Krone\n* `NZD` - NZD – New Zealand Dollar\n* `ZAR` - ZAR – South African Rand\n* `AED` - AED – UAE Dirham", - "x-spec-enum-id": "1a43388815798dc6" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "bom", - "currency", - "status", - "vendor", - "vendor_account" - ] - }, "RIR": { "type": "object", "description": "Base serializer class for models inheriting from OrganizationalModel.", @@ -290755,8 +269217,16 @@ "nullable": true }, "cable_end": { + "enum": [ + "A", + "B", + null + ], "type": "string", - "readOnly": true + "description": "* `A` - A\n* `B` - B", + "x-spec-enum-id": "1db84f9b93b261c8", + "readOnly": true, + "nullable": true }, "link_peers": { "type": "array", @@ -292576,371 +271046,6 @@ "ports" ] }, - "Shipment": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "purchase_order": { - "$ref": "#/components/schemas/BriefPurchaseOrder" - }, - "courier": { - "$ref": "#/components/schemas/BriefCourier" - }, - "courier_account": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCourierAccount" - } - ], - "nullable": true - }, - "site": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefSite" - } - ], - "nullable": true - }, - "location": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefLocation" - } - ], - "nullable": true - }, - "tracking_number": { - "type": "string", - "description": "Tracking number provided by the courier", - "maxLength": 100 - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "prepared", - "shipped", - "received", - "cancelled", - "returned", - "lost" - ], - "type": "string", - "description": "* `prepared` - Prepared\n* `shipped` - Shipped\n* `received` - Received\n* `cancelled` - Cancelled\n* `returned` - Returned\n* `lost` - Lost", - "x-spec-enum-id": "90d5c62b9534fcda" - }, - "label": { - "type": "string", - "enum": [ - "Prepared", - "Shipped", - "Received", - "Cancelled", - "Returned", - "Lost" - ] - } - } - }, - "date_shipped": { - "type": "string", - "format": "date", - "nullable": true - }, - "date_expected": { - "type": "string", - "format": "date", - "nullable": true - }, - "date_received": { - "type": "string", - "format": "date", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "courier", - "courier_account", - "created", - "display", - "id", - "last_updated", - "location", - "purchase_order", - "site", - "status", - "tracking_number", - "url" - ] - }, - "ShipmentLineItem": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "shipment": { - "$ref": "#/components/schemas/BriefShipment" - }, - "bom_line_item": { - "$ref": "#/components/schemas/BriefBOMLineItem" - }, - "qty_shipped": { - "type": "integer", - "maximum": 32767, - "minimum": 1, - "title": "Quantity shipped" - }, - "qty_received": { - "type": "integer", - "maximum": 32767, - "minimum": 1, - "nullable": true, - "title": "Quantity received" - } - }, - "required": [ - "bom_line_item", - "display", - "id", - "qty_shipped", - "shipment", - "url" - ] - }, - "ShipmentLineItemRequest": { - "type": "object", - "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", - "properties": { - "shipment": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefShipmentRequest" - } - ] - }, - "bom_line_item": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMLineItemRequest" - } - ] - }, - "qty_shipped": { - "type": "integer", - "maximum": 32767, - "minimum": 1, - "title": "Quantity shipped" - }, - "qty_received": { - "type": "integer", - "maximum": 32767, - "minimum": 1, - "nullable": true, - "title": "Quantity received" - } - }, - "required": [ - "bom_line_item", - "qty_shipped", - "shipment" - ] - }, - "ShipmentRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "purchase_order": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefPurchaseOrderRequest" - } - ] - }, - "courier": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefCourierRequest" - } - ] - }, - "courier_account": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCourierAccountRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "site": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefSiteRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "location": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefLocationRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tracking_number": { - "type": "string", - "minLength": 1, - "description": "Tracking number provided by the courier", - "maxLength": 100 - }, - "status": { - "enum": [ - "prepared", - "shipped", - "received", - "cancelled", - "returned", - "lost" - ], - "type": "string", - "description": "* `prepared` - Prepared\n* `shipped` - Shipped\n* `received` - Received\n* `cancelled` - Cancelled\n* `returned` - Returned\n* `lost` - Lost", - "x-spec-enum-id": "90d5c62b9534fcda" - }, - "date_shipped": { - "type": "string", - "format": "date", - "nullable": true - }, - "date_expected": { - "type": "string", - "format": "date", - "nullable": true - }, - "date_received": { - "type": "string", - "format": "date", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "courier", - "courier_account", - "location", - "purchase_order", - "site", - "status", - "tracking_number" - ] - }, "Site": { "type": "object", "description": "Base serializer class for models inheriting from PrimaryModel.", @@ -293475,453 +271580,6 @@ "slug" ] }, - "SpareItem": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "pool": { - "$ref": "#/components/schemas/BriefSparesPool" - }, - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "object": { - "readOnly": true, - "nullable": true - }, - "variant": { - "nullable": true - }, - "status": { - "type": "object", - "properties": { - "value": { - "enum": [ - "serviceable", - "damaged", - "missing" - ], - "type": "string", - "description": "* `serviceable` - Serviceable\n* `damaged` - Damaged\n* `missing` - Missing", - "x-spec-enum-id": "800a019a62f1910f" - }, - "label": { - "type": "string", - "enum": [ - "Serviceable", - "Damaged", - "Missing" - ] - } - } - }, - "quantity": { - "type": "integer", - "maximum": 32767, - "minimum": 1 - }, - "serial": { - "type": "string", - "title": "Serial number", - "description": "Serial number assigned by the manufacturer", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag assigned by the organization", - "maxLength": 50 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "id", - "last_updated", - "object", - "object_id", - "object_type", - "pool", - "status", - "url" - ] - }, - "SpareItemRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "pool": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefSparesPoolRequest" - } - ] - }, - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "variant": { - "nullable": true - }, - "status": { - "enum": [ - "serviceable", - "damaged", - "missing" - ], - "type": "string", - "description": "* `serviceable` - Serviceable\n* `damaged` - Damaged\n* `missing` - Missing", - "x-spec-enum-id": "800a019a62f1910f" - }, - "quantity": { - "type": "integer", - "maximum": 32767, - "minimum": 1 - }, - "serial": { - "type": "string", - "title": "Serial number", - "description": "Serial number assigned by the manufacturer", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag assigned by the organization", - "maxLength": 50 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "object_id", - "object_type", - "pool", - "status" - ] - }, - "SparesPool": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "maxLength": 100 - }, - "site": { - "$ref": "#/components/schemas/BriefSite" - }, - "location": { - "allOf": [ - { - "$ref": "#/components/schemas/BriefLocation" - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "id", - "last_updated", - "location", - "name", - "site", - "url" - ] - }, - "SparesPoolRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "site": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefSiteRequest" - } - ] - }, - "location": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefLocationRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "location", - "name", - "site" - ] - }, - "StatusTransitionRule": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "object_type": { - "type": "string" - }, - "from_status": { - "type": "string", - "maxLength": 50 - }, - "to_status": { - "type": "string", - "maxLength": 50 - }, - "allow_reverse": { - "type": "boolean", - "description": "If enabled, the transition is permitted in either direction." - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "from_status", - "id", - "last_updated", - "object_type", - "to_status", - "url" - ] - }, - "StatusTransitionRuleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "object_type": { - "type": "string" - }, - "from_status": { - "type": "string", - "minLength": 1, - "maxLength": 50 - }, - "to_status": { - "type": "string", - "minLength": 1, - "maxLength": 50 - }, - "allow_reverse": { - "type": "boolean", - "description": "If enabled, the transition is permitted in either direction." - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "from_status", - "object_type", - "to_status" - ] - }, "Subscription": { "type": "object", "description": "Extends the built-in ModelSerializer to enforce calling full_clean() on a copy of the associated instance during\nvalidation. (DRF does not do this by default; see https://github.com/encode/django-rest-framework/issues/3144)", @@ -297042,217 +274700,6 @@ "name" ] }, - "Vendor": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "name": { - "type": "string", - "description": "Full name of the vendor", - "maxLength": 100 - }, - "code": { - "type": "string", - "description": "Internal vendor code", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "created", - "display", - "id", - "last_updated", - "name", - "url" - ] - }, - "VendorAccount": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "id": { - "type": "integer", - "readOnly": true - }, - "url": { - "type": "string", - "format": "uri", - "readOnly": true - }, - "display": { - "type": "string", - "readOnly": true - }, - "vendor": { - "$ref": "#/components/schemas/BriefVendor" - }, - "account_number": { - "type": "string", - "description": "Account number with the vendor", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTag" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - }, - "created": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - }, - "last_updated": { - "type": "string", - "format": "date-time", - "readOnly": true, - "nullable": true - } - }, - "required": [ - "account_number", - "created", - "display", - "id", - "last_updated", - "url", - "vendor" - ] - }, - "VendorAccountRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "vendor": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVendorRequest" - } - ] - }, - "account_number": { - "type": "string", - "minLength": 1, - "description": "Account number with the vendor", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "account_number", - "vendor" - ] - }, - "VendorRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "description": "Full name of the vendor", - "maxLength": 100 - }, - "code": { - "type": "string", - "description": "Internal vendor code", - "maxLength": 100 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name" - ] - }, "VirtualChassis": { "type": "object", "description": "Base serializer class for models inheriting from PrimaryModel.", @@ -299994,111 +277441,6 @@ "rir" ] }, - "WritableBOMRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "name": { - "type": "string", - "minLength": 1, - "maxLength": 100 - }, - "status": { - "enum": [ - "draft", - "approved", - "ordered", - "fulfilled", - "cancelled" - ], - "type": "string", - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled", - "x-spec-enum-id": "723ea797352271c7" - }, - "last_generated": { - "type": "string", - "format": "date-time", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "name" - ] - }, - "WritableBOMScopeRuleRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "bom": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMRequest" - } - ] - }, - "object_types": { - "type": "array", - "items": { - "type": "string" - } - }, - "enabled": { - "type": "boolean", - "description": "If not checked, this rule will be ignored when generating the BOM." - }, - "action": { - "enum": [ - "include", - "exclude" - ], - "type": "string", - "description": "* `include` - Include\n* `exclude` - Exclude", - "x-spec-enum-id": "a49ba53d958c43ee" - }, - "parameters": {}, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "bom", - "object_types" - ] - }, "WritableCableRequest": { "type": "object", "description": "Base serializer class for models inheriting from PrimaryModel.", @@ -306108,108 +283450,6 @@ "prefix" ] }, - "WritablePurchaseOrderRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "vendor": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVendorRequest" - } - ] - }, - "vendor_account": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefVendorAccountRequest" - } - ] - }, - "bom": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefBOMRequest" - } - ] - }, - "order_id": { - "type": "string", - "description": "Order ID with the vendor" - }, - "status": { - "enum": [ - "draft", - "approved", - "ordered", - "fulfilled", - "cancelled" - ], - "type": "string", - "description": "* `draft` - Draft\n* `approved` - Approved\n* `ordered` - Ordered\n* `fulfilled` - Fulfilled\n* `cancelled` - Cancelled", - "x-spec-enum-id": "723ea797352271c7" - }, - "currency": { - "enum": [ - "USD", - "EUR", - "GBP", - "JPY", - "CAD", - "AUD", - "CHF", - "CNY", - "HKD", - "SGD", - "INR", - "MXN", - "BRL", - "KRW", - "SEK", - "NOK", - "DKK", - "NZD", - "ZAR", - "AED", - "" - ], - "type": "string", - "x-spec-enum-id": "1a43388815798dc6", - "description": "Currency for line item pricing\n\n* `USD` - USD – US Dollar\n* `EUR` - EUR – Euro\n* `GBP` - GBP – British Pound\n* `JPY` - JPY – Japanese Yen\n* `CAD` - CAD – Canadian Dollar\n* `AUD` - AUD – Australian Dollar\n* `CHF` - CHF – Swiss Franc\n* `CNY` - CNY – Chinese Yuan\n* `HKD` - HKD – Hong Kong Dollar\n* `SGD` - SGD – Singapore Dollar\n* `INR` - INR – Indian Rupee\n* `MXN` - MXN – Mexican Peso\n* `BRL` - BRL – Brazilian Real\n* `KRW` - KRW – South Korean Won\n* `SEK` - SEK – Swedish Krona\n* `NOK` - NOK – Norwegian Krone\n* `DKK` - DKK – Danish Krone\n* `NZD` - NZD – New Zealand Dollar\n* `ZAR` - ZAR – South African Rand\n* `AED` - AED – UAE Dirham" - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "bom", - "vendor", - "vendor_account" - ] - }, "WritableRackRequest": { "type": "object", "description": "Base serializer class for models inheriting from PrimaryModel.", @@ -307282,139 +284522,6 @@ "protocol" ] }, - "WritableShipmentRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "purchase_order": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefPurchaseOrderRequest" - } - ] - }, - "courier": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefCourierRequest" - } - ] - }, - "courier_account": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefCourierAccountRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "site": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefSiteRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "location": { - "oneOf": [ - { - "type": "integer" - }, - { - "allOf": [ - { - "$ref": "#/components/schemas/BriefLocationRequest" - } - ], - "nullable": true - } - ], - "nullable": true - }, - "tracking_number": { - "type": "string", - "minLength": 1, - "description": "Tracking number provided by the courier", - "maxLength": 100 - }, - "status": { - "enum": [ - "prepared", - "shipped", - "received", - "cancelled", - "returned", - "lost" - ], - "type": "string", - "description": "* `prepared` - Prepared\n* `shipped` - Shipped\n* `received` - Received\n* `cancelled` - Cancelled\n* `returned` - Returned\n* `lost` - Lost", - "x-spec-enum-id": "90d5c62b9534fcda" - }, - "date_shipped": { - "type": "string", - "format": "date", - "nullable": true - }, - "date_expected": { - "type": "string", - "format": "date", - "nullable": true - }, - "date_received": { - "type": "string", - "format": "date", - "nullable": true - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "courier", - "courier_account", - "location", - "purchase_order", - "site", - "tracking_number" - ] - }, "WritableSiteGroupRequest": { "type": "object", "description": "Base serializer class for models inheriting from NestedGroupModel.", @@ -307630,83 +284737,6 @@ "slug" ] }, - "WritableSpareItemRequest": { - "type": "object", - "description": "Adds support for custom fields and tags.", - "properties": { - "pool": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "#/components/schemas/BriefSparesPoolRequest" - } - ] - }, - "object_type": { - "type": "string" - }, - "object_id": { - "type": "integer", - "maximum": 9223372036854775807, - "minimum": 0, - "format": "int64" - }, - "variant": { - "nullable": true - }, - "status": { - "enum": [ - "serviceable", - "damaged", - "missing" - ], - "type": "string", - "description": "* `serviceable` - Serviceable\n* `damaged` - Damaged\n* `missing` - Missing", - "x-spec-enum-id": "800a019a62f1910f" - }, - "quantity": { - "type": "integer", - "maximum": 32767, - "minimum": 1 - }, - "serial": { - "type": "string", - "title": "Serial number", - "description": "Serial number assigned by the manufacturer", - "maxLength": 50 - }, - "asset_tag": { - "type": "string", - "nullable": true, - "description": "A unique tag assigned by the organization", - "maxLength": 50 - }, - "description": { - "type": "string", - "maxLength": 200 - }, - "comments": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/components/schemas/NestedTagRequest" - } - }, - "custom_fields": { - "type": "object", - "additionalProperties": {} - } - }, - "required": [ - "object_id", - "object_type", - "pool" - ] - }, "WritableTenantGroupRequest": { "type": "object", "description": "Base serializer class for models inheriting from NestedGroupModel.", diff --git a/docs/release-notes/version-4.5.md b/docs/release-notes/version-4.5.md index ed5f6e301..86519d907 100644 --- a/docs/release-notes/version-4.5.md +++ b/docs/release-notes/version-4.5.md @@ -1,5 +1,17 @@ # NetBox v4.5 +## v4.5.10 (2026-05-04) + +### Bug Fixes + +* [#21990](https://github.com/netbox-community/netbox/issues/21990) - Fix erroneous deletion of device assignment when editing a virtual machine +* [#22005](https://github.com/netbox-community/netbox/issues/22005) - Fix filtering of interfaces by `connected` status to exclude incomplete cable paths +* [#22029](https://github.com/netbox-community/netbox/issues/22029) - Recast empty string values as null for unique nullable fields to avoid integrity errors +* [#22031](https://github.com/netbox-community/netbox/issues/22031) - Fix error when adding a prefix from a VLAN with no tenant/site +* [#22084](https://github.com/netbox-community/netbox/issues/22084) - Correct OpenAPI schema for `cable_end` field on cabled objects to indicate it may be null + +--- + ## v4.5.9 (2026-04-28) ### Enhancements diff --git a/netbox/release.yaml b/netbox/release.yaml index e13d844b5..589a81ea8 100644 --- a/netbox/release.yaml +++ b/netbox/release.yaml @@ -1,3 +1,3 @@ -version: "4.5.9" +version: "4.5.10" edition: "Community" -published: "2026-04-28" +published: "2026-05-04" diff --git a/pyproject.toml b/pyproject.toml index e974832bd..6f9af1e3c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ [project] name = "netbox" -version = "4.5.9" +version = "4.5.10" requires-python = ">=3.12" description = "The premier source of truth powering network automation." readme = "README.md" diff --git a/requirements.txt b/requirements.txt index 46697ba0e..917a278df 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17,7 +17,7 @@ django-taggit==6.1.0 django-timezone-field==7.2.1 djangorestframework==3.16.1 drf-spectacular==0.29.0 -drf-spectacular-sidecar==2026.4.14 +drf-spectacular-sidecar==2026.5.1 feedparser==6.0.12 gunicorn==25.3.0 Jinja2==3.1.6 @@ -30,15 +30,15 @@ mkdocstrings-python==2.0.3 netaddr==1.3.0 nh3==0.3.5 Pillow==12.2.0 -psycopg[c,pool]==3.3.3 +psycopg[c,pool]==3.3.4 PyYAML==6.0.3 requests==2.33.1 rq==2.8.0 -social-auth-app-django==5.8.0 +social-auth-app-django==5.9.0 social-auth-core==4.8.7 sorl-thumbnail==13.0.0 -strawberry-graphql==0.315.2 -strawberry-graphql-django==0.82.1 +strawberry-graphql==0.315.3 +strawberry-graphql-django==0.84.0 svgwrite==1.4.3 tablib==3.9.0 tzdata==2026.2