Dispatch an orchestration action to one or more CDN-connected devices
POST/api/cdn/devices/action
Supported action values and their payload requirements:
- push — non-empty catalog-ID string; inserts a
Pushoffering for each device. - deliveryStart / deliveryStop / deliveryCancel / deliveryDelete — non-empty catalog-ID string; broadcasts the command.
- deployStart — resolves to a non-empty catalog-ID; honors the payload object's
forceflag to resume past persisted task-state drift, and its optionalaction(manifest action to run, defaultinstall). - deployPause — non-empty catalog-ID; the payload object's optional
actionselects which running action to pause (defaultinstall). - discovery / metadataRequest —
payloadis ignored; broadcasts an empty command.
Request
- application/json
Body
required
CdnDeviceActionDto(CDN push API request body), and- the managed-command SSE channel (
orch_events). - MOD1
- ActionPayload
Possible values: [discovery, push, deliveryStart, deliveryStop, deliveryCancel, deliveryDelete, deployStart, deployPause, metadataRequest]
Unified orchestration action — the single enum shared by:
Discovery is SSE-initiated only; the CDN controller may broadcast it
to a device but it is not normally sent via the push API.
Target device IDs.
payload
object
nullable
The two accepted forms of a catalog-based action payload: a catalog-ID string, or a structured
[ActionPayload] object.
oneOf
string
Manifest action for deployStart / deployPause (e.g. install, uninstall, restart).
Absent means install; ignored by the other orchestration actions.
Catalog id the action applies to.
Force resume past persisted task-state drift. Honored by the actions that support it where applicable, and ignored by the rest. Defaults to false.
Responses
- 200
- 400
- 404
- 500
Action executed; returns the action payload
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "string",
"name": "string",
"statusCode": 0
}
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "string",
"name": "string",
"statusCode": 0
}
- application/json
- Schema
- Example (from schema)
Schema
{
"message": "string",
"name": "string",
"statusCode": 0
}