netbox/docs
Arthur Hanson c9a62254d7
Fixes #22750: Validate Custom Script input and resolve object IDs in the REST API (#23119)
Validate REST script input before enqueueing jobs. Resolve ObjectVar
IDs to model instances and MultiObjectVar IDs to querysets, returning
HTTP 400 with errors nested under data when validation fails.

Share form preparation between the API and UI, including multi-value
defaults, while keeping validation out of the job runner to preserve
other execution paths. Exclude only known execution fields from script
data and prevent _notifications from leaking into CLI script input.

Document the REST compatibility changes, including required-field
validation and discarded undeclared keys. Add regression coverage for
object resolution, defaults, validation errors, and execution options.

Co-authored-by: Martin Burggraf <martin.burggraf@netclusive.com>
2026-09-07 13:11:14 +02:00
..
_theme Closes #21635: Migrate from mkdocs to Zensical (#21742) 2026-03-25 16:48:29 +01:00
administration Misc. cleanup ahead of the v4.7.0 release (#23084) 2026-09-01 08:32:44 -07:00
best-practices Closes #22060: Introduce a config parameter to enforce GraphQL maximum query depth (#22162) 2026-05-11 19:54:07 +02:00
configuration Fixes #23010: Defer bulk changes to object data when adding/removing a custom field (#23011) 2026-08-26 10:51:59 -07:00
customization Fixes #22750: Validate Custom Script input and resolve object IDs in the REST API (#23119) 2026-09-07 13:11:14 +02:00
development ci(release): Pin metadata tooling to match publishing action 2026-08-13 13:56:15 -04:00
features Closes #22935: Deprecate Custom Scripts (#22936) 2026-08-14 20:35:44 +02:00
getting-started #18645: Pre-release QA (#22873) 2026-08-07 16:48:41 -07:00
installation Closes #22959: Notify the reader to confirm database user permission before upgrading (#22976) 2026-08-19 18:05:02 +02:00
integrations #21025: Remove obsolete section from docs 2026-08-14 15:02:00 -04:00
media Replace legacy installation graphics with mermaid.js diagrams (#22229) 2026-05-19 11:35:49 +02:00
models Merge branch 'main' into feature 2026-09-01 16:46:44 -04:00
plugins Add v4.7 release notes 2026-08-14 13:53:02 -04:00
reference Add v4.7 release notes 2026-08-14 13:53:02 -04:00
release-notes Release v4.7.0 2026-09-02 14:40:04 -04:00
extra.css Closes #21635: Migrate from mkdocs to Zensical (#21742) 2026-03-25 16:48:29 +01:00
index.md Closes #19611: Update index.md To Spell Acronym First Time It's Found (#19614) 2025-05-30 13:57:22 -05:00
introduction.md Closes #22141: Deprecate support for PostgreSQL 14 (#22142) 2026-05-07 17:14:02 +02:00
netbox_logo_dark.svg Fixes: #17732 - Add a background-color to img elements in docs to ensure readability in dark mode (#17790) 2024-10-18 10:47:05 -04:00
netbox_logo_light.svg Fixes: #17732 - Add a background-color to img elements in docs to ensure readability in dark mode (#17790) 2024-10-18 10:47:05 -04:00