Plugin Version
0.6.0
Proposed functionality
Currently, the API endpoint created for each custom object only supports the PATCH and PUT method for a single object.
curl -s -X PATCH http://netbox/api/plugins/custom-objects/my-objects/1/ --data '{"status": "active"}'
Attempting to bulk update multiple objects returns a 405 response.
curl -s -X PATCH http://netbox/api/plugins/custom-objects/my-objects/ --data '[{"id": 1, "status": "active"}]'
This request is to enable this functionality for both PATCH and PUT methods.
Use case
This will reduce the number of API requests required to edit multiple custom objects.
External dependencies
No response
Plugin Version
0.6.0
Proposed functionality
Currently, the API endpoint created for each custom object only supports the PATCH and PUT method for a single object.
curl -s -X PATCH http://netbox/api/plugins/custom-objects/my-objects/1/ --data '{"status": "active"}'Attempting to bulk update multiple objects returns a 405 response.
curl -s -X PATCH http://netbox/api/plugins/custom-objects/my-objects/ --data '[{"id": 1, "status": "active"}]'This request is to enable this functionality for both PATCH and PUT methods.
Use case
This will reduce the number of API requests required to edit multiple custom objects.
External dependencies
No response