Device Image Management API

/api/space/software-management/packages/{id}/exec-stage

The following operations are supported on this resource:

POST /api/space/software-management/packages/{id}/exec-stage (v1)


This API stages the software package on the real device (from Junos Space to the physical device).

Access Control

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


Example Usage

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

POST /api/space/software-management/packages/{id}/exec-stage?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
software-package-idintPathThe ID for the software package under operation. Y
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