@edgible-team/sdk
    Preparing search index...

    Interface UpdateDeviceAgentResult

    Result of POST /devices/{id}/agent/update (202 Accepted), unwrapped from the { success, … } envelope. The update runs as an agent_self_update job (AgentSelfUpdateOutput); poll UpdateDeviceAgentResult.jobId via sdk.jobs.get(jobId) for the terminal disposition.

    interface UpdateDeviceAgentResult {
        deviceId: string;
        fromVersion: string | null;
        jobId: string;
        targetVersion: string;
    }
    Index

    Properties

    deviceId: string

    The device the update was enqueued for.

    fromVersion: string | null

    The version the device currently reports, or null if it never reported one.

    jobId: string

    The agent_self_update job id — pollable via sdk.jobs.get(jobId).

    targetVersion: string

    The version the agent is being moved to (the resolved latest release).