Appearance
Run an operation on a release
PATCH
/releases/{release-id}/run/{operation}
Runs an operation on a release: play, pause, cancel, defer, redeploy, promote, finish, retry (reschedule the failed deployments in place) or resend (create new deployments with new invitations for the failed devices).
Authorizations
Parameters
Path Parameters
release-id*
release id
Type
Requiredstring
operation*
operation to run
Type
Requiredstring
Responses
operation response
application/json
JSON "action": { "component_id": "string", "created_at": "string", "deleted_at": "string", "environment_id": "string", "error": "string", "id": "string", "logs": [ { "level": "string", "message": "string", "step": "string", "timestamp": "string" } ], "message": "string", "name": "string", "owner": "string", "owner_id": "string", "owner_name": "string", "owner_nick": "string", "payload": { "additionalProperties": "string" }, "prn": "string", "progress": 0, "schedule_time": "string", "state": "string", "type": "string", "updated_at": "string" }, "release": { "channel_id": "string", "channel_rev": 0, "channel_type": "string", "comments": "string", "components": [ { "component_name": "string", "device_id": "string", "id": "string", "locked_at": "string", "objects": [ "string" ], "order": 0, "pv_device_id": "string", "pvr_data": { "json-get-url": "string", "json-key": "string", "objects-endpoint": "string", "post-url": "string", "pvr-spec": "string" }, "required_labels": [ "string" ], "rev": 0, "selection_labels": [ "string" ], "source_url": "string", "state_raw": "string", "step": { "commit-msg": "string", "committer": "string", "device": "string", "garbage": true, "id": "string", "mark_public_processed": true, "meta": { "additionalProperties": "string" }, "owner": "string", "progress": { "data": "string", "downloads": { "objects": [ { "current_time": 0, "object_id": "string", "object_name": "string", "start_time": 0, "total_downloaded": 0, "total_size": 0 } ], "total": { "current_time": 0, "object_id": "string", "object_name": "string", "start_time": 0, "total_downloaded": 0, "total_size": 0 } }, "log": "string", "progress": 0, "status": "string", "status-msg": "string" }, "progress-log": [ { "downloaded": 0, "progress": 0, "retries": 0, "source": "string", "status": "string", "status-msg": "string", "time": "string", "total-size": 0 } ], "progress-time": "string", "rev": 0, "state": { "additionalProperties": "string" }, "state-sha": "string", "step-time": "string", "time-created": "string", "time-modified": "string", "trail-id": "string" } } ], "created_at": "string", "data": { "#spec": "string", "components": [ { "name": "string", "order": 0, "required_labels": [ "string" ], "selection_labels": [ "string" ], "state_sha": "string" } ], "group_by_selector": [ "string" ], "required_labels": [ "string" ], "selection_labels": [ "string" ], "state_sha": "string" }, "deleted_at": "string", "deployments_count": 0, "duration": 0, "environment_id": "string", "group_by_selector": [ "string" ], "id": "string", "message": "string", "meta": { "additionalProperties": "string" }, "method": "string", "owner": "string", "owner_id": "string", "owner_name": "string", "plans": [ { "created_at": "string", "deleted_at": "string", "error_threshold": 0, "id": "string", "message": "string", "number": 0, "number_of_devices": 0, "prn": "string", "release_id": "string", "selection_labels": [ "string" ], "state": "string", "until": "string", "updated_at": "string" } ], "prn": "string", "required_labels": [ "string" ], "schedule_offset_duration": "string", "schedule_time": "string", "selection_labels": [ "string" ], "sha256sum": "string", "state": "string", "step": { "commit-msg": "string", "committer": "string", "device": "string", "garbage": true, "id": "string", "mark_public_processed": true, "meta": { "additionalProperties": "string" }, "owner": "string", "progress": { "data": "string", "downloads": { "objects": [ { "current_time": 0, "object_id": "string", "object_name": "string", "start_time": 0, "total_downloaded": 0, "total_size": 0 } ], "total": { "current_time": 0, "object_id": "string", "object_name": "string", "start_time": 0, "total_downloaded": 0, "total_size": 0 } }, "log": "string", "progress": 0, "status": "string", "status-msg": "string" }, "progress-log": [ { "downloaded": 0, "progress": 0, "retries": 0, "source": "string", "status": "string", "status-msg": "string", "time": "string", "total-size": 0 } ], "progress-time": "string", "rev": 0, "state": { "additionalProperties": "string" }, "state-sha": "string", "step-time": "string", "time-created": "string", "time-modified": "string", "trail-id": "string" }, "strategy": "string", "tags": [ "string" ], "type": "string", "updated_at": "string" }
{
}