Skip to content

The POST /api/extras/scripts/ endpoint is broken #21364

@arthanson

Description

@arthanson

NetBox Edition

NetBox Community

NetBox Version

v4.5.2

Python Version

3.12

Steps to Reproduce

  1. Go to the REST browser under /api/extras/scripts/
  2. click "Try it out" button
  3. Notice there are no parameters
  4. click Execute

The error and lack of params is confusing. It doesn't look like this API does anything and should be removed.

Expected Behavior

The API should not error.

Observed Behavior

it returns a 500 error with null value in column "module_id".

Metadata

Metadata

Assignees

No one assigned

    Labels

    netboxseverity: lowDoes not significantly disrupt application functionality, or a workaround is availablestatus: needs ownerThis issue is tentatively accepted pending a volunteer committed to its implementationtype: bugA confirmed report of unexpected behavior in the application

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions