One path search match: a discovered file entry together with the EndpointPath whose sensor collected it. The match's stats and contents fields load the file's stat record and collected bytes on demand — they cost nothing unless selected, and are equivalent to calling endpointPathEntryStats / endpointPathEntryContents with this match's EndpointPath id.
Fields
| Field Name | Description |
|---|---|
endpointPath - EndpointPath!
|
The EndpointPath whose sensor collected the matching file. |
entry - EndpointPathEntry!
|
The matching discovered entry. |
stats - EndpointPathEntryStats
|
The matched file's stat record, loaded from alternate data only when this field is selected (one stats record read per match). Null when the record has been removed (e.g. the owning object is being deleted). |
contents - EndpointPathEntryContents
|
The matched file's collected contents, resolved only when this field is selected. Null when no contents are stored for the file (e.g. the sensor does not collect contents, or the file was reported deleted). Selecting this field alone checks only the contents record's existence; the file bytes are read from storage when the node's contentsAsString is selected. |
Used by
EndpointPathEntrySearchPayloadtype: One page of exact-path matches across every PathSensor on an Endpoint, returned by endpointPathEntrySearch.
Related types
EndpointPathThe single graph object a PathSensor produces on an Endpoint, so an Endpoint has one EndpointPath per sensor that has reported data from it; list…EndpointPathEntryContentsThe collected contents of one file a PathSensor discovered, retrieved with endpointPathEntryContents.EndpointPathEntryStatsThe stat record of one file a PathSensor discovered, stored as alternate data on the owning EndpointPath object and retrieved with…
Example
Example
{
"endpointPath": EndpointPath,
"entry": EndpointPathEntry,
"stats": EndpointPathEntryStats,
"contents": EndpointPathEntryContents
}