Script Library

Create new script

Changed on

Create a new script in the script library.

post/v1/script-library

Request

  • Base URL
    http://127.0.0.1:8000
  • URL
    http://127.0.0.1:8000/v1/script-library
  • Auth
    HTTP bearer

Request body

namestring required

Script name (alphanumeric, underscore, colon; must not start with digit or colon)

codestring required

NXSL source code

Response

Script created successfully

idinteger

ID of the newly created script

Changes