The Script Management Service provides the capability to efficiently manage device scripts.

Juniper Networks provides an online library of automation scripts. These automation scripts are categorized by function and can be found at:

http://www.juniper.net/us /en/community/junos/script-automation






Service Root

/api/space/script-management

Methods and Collections

/scripts
method /match-scripts-by-context
/exec-scripts
/exec-deploy

REST Resources

The following APIs support asynchronous method calls. You can create a queue and use the queue in the queue parameter which is optional. For further details, see the following:

  • /exec-deploy POST

  • /exec-scripts POST

  • /scripts/exec-deploy POST

  • /scripts/exec-deploy POST

  • /scripts/exec-disable PUT

  • /scripts/exec-disable POST

  • /scripts/exec-enable PUT

  • /scripts/exec-enable POST

  • /scripts/exec-remove PUT

  • /scripts/exec-remove POST

  • /scripts/exec-scripts POST

  • /scripts/exec-verify PUT

  • /scripts/exec-verify POST

  • /scripts/{script-id} DELETE


  • For receiving asynchronous responses on a queue URL, see the following links:

  • Asynchronous API Usage.


  • For more information about job scheduling, see the following links:

  • Job Scheduling.


  • Data Notification

    The following APIs support data notification:

  • /scripts POST

  • /scripts/{script-id} PUT

  • /scripts/{script-id} DELETE