21701 Allow scripts to be uploaded via post to API #77

Closed
opened 2026-04-05 16:21:30 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @arthanson on 3/25/2026

Fixes: #21701

Pre review comments created a separate script-upload endpoint off of Scripts.

I looked at a general script-module API but that has overlap with scripts which can be confusing (if we support get, list, put, delete) which can be confusing, then we have two APIs affecting the same thing, and would arguably need to expose it via GraphQL. Also as it is a proxy model it gets into permission issues as NetBox currently has an issue directly supporting that case.

*Originally created by @arthanson on 3/25/2026* ### Fixes: #21701 Pre review comments created a separate script-upload endpoint off of Scripts. I looked at a general script-module API but that has overlap with scripts which can be confusing (if we support get, list, put, delete) which can be confusing, then we have two APIs affecting the same thing, and would arguably need to expose it via GraphQL. Also as it is a proxy model it gets into permission issues as NetBox currently has an issue directly supporting that case.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#77