Skip to main content

Check deployment status of a file on the host

POST 

/node/:hostname/file/status

Check deployment status of a file on the host

Request

Path Parameters

    hostname stringrequired

    Possible values: non-empty

    Target agent hostname, reserved routing value (_any, _all), or label selector (key:value).

Body

required

    path stringrequired

    Filesystem path to check.

Responses

File status.

Schema

    job_id uuid

    The job ID used to process this request.

    results

    object[]

    required

  • Array [

  • hostname stringrequired

    The agent that processed the job.

    path string

    The filesystem path.

    status string

    File state — "in-sync", "drifted", or "missing".

    sha256 string

    Current SHA-256 of the file on disk.

    changed boolean

    Whether the operation modified system state.

    error string

    Error message if the agent failed.

  • ]

Loading...