EgnyteFetcher
Egnyte fetcher (egnyte://) for filesystem-like traversal and content download through Egnyte APIs.
Notes
Fetches documents from Egnyte using stable ID-based references.
Supported scheme:
egnyte://{domain}/folders/{folderId}egnyte://{domain}/folders/{folderId}/items/{itemId}
V1 authentication is bearer-token based.
Incremental source-delta mode:
- When crawler-level
changeDiscoveryis set toSOURCE_DELTAand the crawl runs in incremental mode, the Egnyte root boundary uses the changes feed instead of full child enumeration. - Valid
SOURCE_DELTAroot is:egnyte://{domain}/folders/root
- Non-root folder boundaries are not valid
SOURCE_DELTAroots in v1. - One delta cursor is persisted per configured root start reference for the current crawler session and reused on the next incremental run.
- If Egnyte rejects a stored cursor (
400,404, or410), the fetcher clears it and restarts delta discovery from a fresh start cursor. - Deletions are handled from explicit change events. Missing items are not
inferred from absence while
changeDiscovery=SOURCE_DELTA.
Examples
The following example starts from the Egnyte root folder boundary.
- YAML
- JSON
- XML
class: EgnyteFetcher
accessToken: <token>
apiBaseUrl: https://{domain}.egnyte.com/pubapi/v1
{
"class": "EgnyteFetcher",
"accessToken": "<token>",
"apiBaseUrl": "https://{domain}.egnyte.com/pubapi/v1"
}
<class>EgnyteFetcher</class>
<accessToken><token></accessToken>
<apiBaseUrl>https://{domain}.egnyte.com/pubapi/v1</apiBaseUrl>
Use a start reference such as:
egnyte://acme/folders/root
For incremental delta crawling from the valid Egnyte boundary, configure crawler-level options:
crawlMode: INCREMENTALchangeDiscovery: SOURCE_DELTA
Then use this start reference:
egnyte://acme/folders/root
Usage
Full configuration skeleton, with every option and its default
- YAML
- JSON
- XML
class: EgnyteFetcher
accessToken: string
apiBaseUrl: string
notFoundStatusCodes:
- 0
referenceFilters: []
validStatusCodes:
- 0
{
"class": "EgnyteFetcher",
"accessToken": "string",
"apiBaseUrl": "string",
"notFoundStatusCodes": [
0
],
"referenceFilters": [],
"validStatusCodes": [
0
]
}
<egnyteFetcher>
<class>EgnyteFetcher</class>
<accessToken>string</accessToken>
<apiBaseUrl>string</apiBaseUrl>
<notFoundStatusCodes>
<notFoundStatusCode>0</notFoundStatusCode>
</notFoundStatusCodes>
<referenceFilters>
<referenceFilter/>
</referenceFilters>
<validStatusCodes>
<validStatusCode>0</validStatusCode>
</validStatusCodes>
</egnyteFetcher>
Properties
| Property | Type | Required | Default |
|---|---|---|---|
accessToken | string | No | - |
apiBaseUrl | string | No | https://{domain}.egnyte.com/pubapi/v1 |
notFoundStatusCodes | integer[] | No | [404] |
referenceFilters | ReferenceFilter[] | No | - |
validStatusCodes | integer[] | No | [200, 201, 202, 204] |
Property Details
accessToken
OAuth access token used for Egnyte API requests.
apiBaseUrl
Egnyte API base URL.
Default: https://{domain}.egnyte.com/pubapi/v1
The {domain} placeholder is replaced using the reference host.
notFoundStatusCodes
HTTP status codes treated as "not found" outcomes.
Defaults to 404.
referenceFilters
Filters applied to document references (URLs or file paths) to control which ones are fetched. Documents whose references do not pass the filters are skipped.
validStatusCodes
HTTP status codes treated as successful API responses.
Defaults to 200, 201, 202, and 204.