Skip to main content

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 changeDiscovery is set to SOURCE_DELTA and the crawl runs in incremental mode, the Egnyte root boundary uses the changes feed instead of full child enumeration.
  • Valid SOURCE_DELTA root is:
    • egnyte://{domain}/folders/root
  • Non-root folder boundaries are not valid SOURCE_DELTA roots 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, or 410), 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.

class: EgnyteFetcher
accessToken: <token>
apiBaseUrl: https://{domain}.egnyte.com/pubapi/v1

Use a start reference such as:

egnyte://acme/folders/root

For incremental delta crawling from the valid Egnyte boundary, configure crawler-level options:

  • crawlMode: INCREMENTAL
  • changeDiscovery: SOURCE_DELTA

Then use this start reference:

  • egnyte://acme/folders/root

Usage

Full configuration skeleton, with every option and its default
class: EgnyteFetcher
accessToken: string
apiBaseUrl: string
notFoundStatusCodes:
- 0
referenceFilters: []
validStatusCodes:
- 0

Properties

PropertyTypeRequiredDefault
accessTokenstringNo-
apiBaseUrlstringNohttps://{domain}.egnyte.com/pubapi/v1
notFoundStatusCodesinteger[]No[404]
referenceFiltersReferenceFilter[]No-
validStatusCodesinteger[]No[200, 201, 202, 204]

Property Details

accessToken

OAuth access token used for Egnyte API requests.

apiBaseUrl

Egnyte API base URL.

Default: https://&#123;domain&#125;.egnyte.com/pubapi/v1

The &#123;domain&#125; 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.