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 2 |
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=2
application/vnd.net.juniper.space.script-management+json;version=2
<script-management>
<collection href= "/api/space/script-management/scripts" />
<method href= "/api/space/script-management/match-scripts-by-context" />
<method href= "/api/space/script-management/exec-deploy" />
<method href= "/api/space/script-management/exec-scripts" />
</script-management>
{
"script-management": {
"collection": {
"@href": "/api/space/script-management/scripts"
},
"method": [
{
"@href": "/api/space/script-management/match-scripts-by-context"
},
{
"@href": "/api/space/script-management/exec-deploy"
},
{
"@href": "/api/space/script-management/exec-scripts"
}
]
}
}
Access Control
The following capabilities are required to access this API: DefaultRead
For other non-deprecated versions of this API, refer to :