REST Resources
-
/ -
/exec-deploy -
/exec-scripts -
/job-instances /{job-id} /script-mgmt-job-results -
/match-scripts-by-context -
/scripts -
/scripts /exec-deploy -
/scripts /exec-disable -
/scripts /exec-enable -
/scripts /exec-remove -
/scripts /exec-scripts -
/scripts /exec-verify -
/scripts /{script-id} -
/scripts /{script-id} /contents -
/scripts /{script-id} /parameters -
/scripts /{script-id} /results -
/scripts /{script-id} /view-associated-devices
GET / | Version 1 |
This resource provides HATEOAS links to collections and methods available in Script Manager service.
Sample Usage
GET /
-
Accept Headers:
application/vnd.net.juniper.space.script-management+xml;version=1
application/vnd.net.juniper.space.script-management+json;version=1
<script-management>
<method href="/api/space/script-management/exec-scripts" />
<method href="/api/space/script-management/match-scripts-by-context" />
<method href="/api/space/script-management/exec-deploy" />
<collection href="/api/space/script-management/scripts" />
</script-management>
{
"script-management": {
"method": [
{
"@href": "/api/space/script-management/exec-scripts"
},
{
"@href": "/api/space/script-management/match-scripts-by-context"
},
{
"@href": "/api/space/script-management/exec-deploy"
}
],
"collection": {
"@href": "/api/space/script-management/scripts"
}
}
}
Access Control
The following capabilities are required to access this API: DefaultRead
For the current version of this API, refer to :