Script Management API

/api/space/script-management/scripts/exec-deploy

The following operations are supported on this resource:

POST /api/space/script-management/scripts/exec-deploy (v2)


This API deploys scripts on devices. Here a script and a device are passed as reference URLs (href).

Access Control

The following capabilities are required to access this API:
"DeployScriptCap"


Example Usage

Since this API makes an asynchronous method call, the user must specify a queue parameter with this API.

POST /api/space/script-management/scripts/exec-deploy?queue-url=<queue-url>&schedule-time=<schedule-time>

Note: It is assumed that the queue denoted by <queue-url> has, already, been created.



Parameters

NameTypeURI TypeDescriptionRequired
queue-urlURLQueryA fully qualified queue URL, where job progress notifications will be sent (See Asynchronous API Usage)Y
schedule-timecron-like-expressionQuerySchedule this API in the future, by specifying a cron-like-expression (See Job Scheduling)N

Content Types


    For the deprecated versions of this API, refer to :
  • version 1